Re: problem with rubygems , " no such file to load "
- From: Stefan Lang <perfectly.normal.hacker@xxxxxxxxx>
- Date: Mon, 4 Aug 2008 10:51:54 -0500
2008/8/4 Frioffol Friofool <friofool@xxxxxxxxx>:
Hi !
I'm doing a new installation of rails , but i get a big problem with
rubygem :
[root@compute test_projet_rails]# ruby script/console
Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again:
http://rubygems.rubyforge.org
[root@compute test_projet_rails]# gem -v
1.2.0
[root@compute test_projet_rails]# irb
irb(main):001:0> require 'rubygems'
LoadError: no such file to load -- rubygems
from (irb):1:in `require'
from (irb):1
irb(main):002:0>
What's wrong with my configuration ?
Maybe you have two Ruby installations. The one that is started by "ruby"
and "irb" doesn't have a gem installation. The one that the "gem" command
uses, does.
Compare the output of:
$ cat `which gem` | head -n 1
$ ls -l `which ruby`
Stefan
.
- Follow-Ups:
- Re: problem with rubygems , " no such file to load "
- From: Frioffol Friofool
- Re: problem with rubygems , " no such file to load "
- References:
- problem with rubygems , " no such file to load "
- From: Frioffol Friofool
- problem with rubygems , " no such file to load "
- Prev by Date: Re: Whose fault is my problem?
- Next by Date: Re: Q: Packaging JRuby
- Previous by thread: problem with rubygems , " no such file to load "
- Next by thread: Re: problem with rubygems , " no such file to load "
- Index(es):
Relevant Pages
|