problem with a legacy application running in 1.8.6
25 views
Skip to first unread message
Lee Richmond
unread,
Jun 6, 2012, 6:39:36 AM6/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RVM (Ruby Version Manager)
I'm currently developing on a macbook pro with lion as my OS
I've used the GCC compiler to instead of the Xcode installation purely
because I know that the Xcode version of GCC is buggy.
the app I'm trying to set up uses ruby 1.8.6 and rubygems 1.4.2
however I am getting an error when trying to install rubygems 1.4.2
the error is as follows:
Using /Users/leerichmond/.rvm/gems/ruby-1.8.6-p420
Removing old Rubygems files...
Installing rubygems-1.4.2 for ruby-1.8.6-p420 ...
ERROR: Error running 'GEM_PATH="/Users/leerichmond/.rvm/gems/
ruby-1.8.6-p420:/Users/leerichmond/.rvm/gems/ruby-1.8.6-p420@global:/
Users/leerichmond/.rvm/gems/ruby-1.8.6-p420:/Users/leerichmond/.rvm/
gems/ruby-1.8.6-p420@global" GEM_HOME="/Users/leerichmond/.rvm/gems/
ruby-1.8.6-p420" "/Users/leerichmond/.rvm/rubies/ruby-1.8.6-p420/bin/
ruby" "/Users/leerichmond/.rvm/src/rubygems-1.4.2/setup.rb"', please
read /Users/leerichmond/.rvm/log/ruby-1.8.6-p420/rubygems.install.log
WARN: Installation of rubygems did not complete successfully.
Now I can see that in the log it says that 1.4.2 is installed and that
the only file it could not find is a README but when I go into the
application and type the following "rvm use 1.8.6; rvm rubygems 1.4.2"
I get the above error all over again.
Could anyone point me in the right direction, I've been using rvm for
a while now and generally know my way around but this is beginning to
get frustrating.
Thanks in advance
Lee
mpapis
unread,
Jun 27, 2012, 2:53:54 PM6/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyversi...@googlegroups.com
sorry for late answer, you need to call `rvm rubygems 1.4.2` only once in context of a ruby, it will stick with that ruby.
just use `rvm use 1.8.6` and your ruby + rubygems will be switched to versions you wanted to use