Monday, February 14, 2011

[Rails] Re: rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation.

Frederick Cheung wrote in post #981653:
> On Feb 14, 7:51pm, John Merlino <li...@ruby-forum.com> wrote:
>> Frederick Cheung wrote in post #981180:
>> However, I try to create rails 2 project and got an uninviting error:
>>
>> MacBook-Pro:~ jmerlino$ rails _2.3.5_ myproject
>> /Users/jmerlino/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:762: in
>> `report_activate_error': RubyGem version error: rails(3.0.3 not = 2.3.5)
>
> That sounds like you don't have 2.3.5 installed for that ruby. Also
> I'm not sure how well rails 2.3.5 works with ruby 1.9
>
> Fred

Even when I switch to ruby 1.8.7, still it says I don't have 2.3.5
installed:

MacBook-Pro:bin jmerlino$ rvm use 1.8.7
Using /Users/jmerlino/.rvm/gems/ruby-1.8.7-p330
MacBook-Pro:bin jmerlino$ rails _2.3.5_ myproject
/Library/Ruby/Site/1.8/rubygems.rb:777:in `report_activate_error': Could
not find RubyGem rails (= 2.3.5) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:211:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:1056:in `gem'
from /usr/bin/rails:19

So here's my confusion. I have both rvm 1.8.7 and 1.9.2. Do I type from
the command line the following:

rvm use 1.8.7
gem install -v=2.3.5 rails

Will it install the rails gem in the right place if I type that above?

Thanks for response.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate