Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Test Mocha under Ruby 1.8.5

#71

I had a problem installing Ruby 1.8.5. I got this response from the author of RVM.

From: Wayne E. Seguin wayneeseguin@gmail.com
Date: 12 May 2010 15:01
Subject: Re: Ruby 1.8.5 OpenSSL errors
To: floehopper blah@example.com

Here is the code I had, which is currently commented out in RVM:

How to install ruby 1.8.5... "sneaky sneaky, sir"

src_dir="ruby-1.8.7-p$(rvm_db "ruby_1.8.7_patch_level")"
if [[ ! -d "$HOME/.rvm/src/$src_dir/ext/openssl/" ]] ; then
$rvm_path/bin/rvm fetch 1.8.6-p248 > /dev/null ; fi cp ~/.rvm/src/$src_dir/ext/openssl/extconf.rb
~/.rvm/src/ruby-1.8.5-p231/ext/openssl/ cp ~/.rvm/src/$src_dir/ext/openssl/openssl_missing.*
~/.rvm/src/ruby-1.8.5-p231/ext/openssl/ cp ~/.rvm/src/$src_dir/ext/openssl/ossl_hmac.c
~/.rvm/src/ruby-1.8.5-p231/ext/openssl/ src_dir="ruby-1.8.6-p$(
rvm_db "ruby_1.8.6_patch_level")"
if [[ ! -d "$HOME/.rvm/src/$src_dir/ext/openssl/" ]] ; then
$rvm_path/bin/rvm fetch 1.8.6-p383 > /dev/null ; fi cp ~/.rvm/src/$src_dir/ext/readline/* ~/.rvm/src/ruby-1.8.5-p231/ext/readline/
unset src_dir

Reported by James Mead · October 24th, 2010 @ 05:47 PM

State: new
Milestone: none
Assigned to: James Mead James Mead

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.