wrong gem and rake path

382 views
Skip to first unread message

nico

unread,
Oct 30, 2009, 2:38:09 PM10/30/09
to rvm (Ruby Version Manager)
Hi,

I can't figure out how to get the gem and rake path right. When I
switch to a ruby version installed by rvm still my standard gem and
rake paths are shown. rvm info for ruby 1.8.7 gives me this for
example:

binaries:
ruby: "...../.rvm/ruby-1.8.7-p174/bin/ruby" correct
irb: "...../.rvm/ruby-1.8.7-p174/bin/irb" correct
gem: "/usr/bin/gem"
wrong
rake: "/usr/bin/rake"
wrong

Any help on how to fix this is greatly appreciated.

Nico

Wayne Seguin

unread,
Oct 30, 2009, 2:43:28 PM10/30/09
to rubyversi...@googlegroups.com, Wayne Seguin
Generally that means that gem & rake failed during install.

Check your ~/.rvm/log/ruby-1.8.7-p174/*.error.log and see what that
turns up.

You can hop in #rvm for more real-time help than email :)

~Wayne

nico

unread,
Oct 30, 2009, 3:02:43 PM10/30/09
to rvm (Ruby Version Manager)
gems.install.error.log:

[2009-10-30 17:28:19] /Users/nico/.rvm/ruby-1.8.7-p174/bin/gem install
rake --no-rdoc --no-ri -q
-bash: /Users/nico/.rvm/ruby-1.8.7-p174/bin/gem: No such file or
directory

rubygems.extract.errorlog:

[2009-10-30 17:28:19] tar zxf /Users/nico/.rvm/archives/
rubygems-1.3.5.tgz -C /Users/nico/.rvm/src
tar: Error opening archive: Failed to open '/Users/nico/.rvm/archives/
rubygems-1.3.5.tgz': No such file or directory

> You can hop in #rvm for more real-time help than email :)

Is that irc? Never used it. To what server do I need to connect?

Thanks,
Nico

nico

unread,
Oct 30, 2009, 3:05:12 PM10/30/09
to rvm (Ruby Version Manager)
oh, and here, from the rubygems.install.error.log:

[2009-10-30 17:28:19] GEM_PATH=/Users/nico/.rvm/gems GEM_HOME=/Users/
nico/.rvm/gems/ruby/1.8.7 /Users/nico/.rvm/ruby-1.8.7-p174/bin/ruby /
Users/nico/.rvm/src/rubygems-1.3.5/setup.rb
/Users/nico/.rvm/ruby-1.8.7-p174/bin/ruby: No such file or directory
-- /Users/nico/.rvm/src/rubygems-1.3.5/setup.rb (LoadError)

Wayne Seguin

unread,
Oct 30, 2009, 3:15:21 PM10/30/09
to rubyversi...@googlegroups.com, Wayne Seguin
On Oct 30, 2009, at 15:02 , nico wrote:
> gems.install.error.log:
>
> [2009-10-30 17:28:19] /Users/nico/.rvm/ruby-1.8.7-p174/bin/gem install
> rake --no-rdoc --no-ri -q
> -bash: /Users/nico/.rvm/ruby-1.8.7-p174/bin/gem: No such file or
> directory
>
> rubygems.extract.errorlog:
>
> [2009-10-30 17:28:19] tar zxf /Users/nico/.rvm/archives/
> rubygems-1.3.5.tgz -C /Users/nico/.rvm/src
> tar: Error opening archive: Failed to open '/Users/nico/.rvm/archives/
> rubygems-1.3.5.tgz': No such file or directory
>
>> You can hop in #rvm for more real-time help than email :)
>
> Is that irc? Never used it. To what server do I need to connect?

Click the link on the left side under IRC: http://rvm.beginrescueend.com/

Web based :)

~Wayne

Reply all
Reply to author
Forward
0 new messages