On 08/03/07 at 14:18 -0500, Bakki Kudva wrote: > Lucas, > > I seem to be having a wider gem related problem. I noticed that ruby > isn't able to find any of the gems. For example if I do > > rails test > > I get: > bash: rails: command not found
This is because gem doesn't install binaries in $PATH. It's your responsability to update $PATH so that it includes the rails path. There's a bug on rubygems about that, but I can't lookup the number right now (no internet access). > Inside irb if I type require 'rails' > LoadError: no such file to load -- rails > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' > from (irb):1 > I uninstalled all ruby related debs and reinstalled them. Again I > installed the rubygems deb. > gem install rails --include-dependencies > works fine and I get successful installs in /var/lib/gems but as a > regular user I cannot use them. I am installing them as root as I've > done always rather than sudo. Mmmh, this might be a bug... > WHen I installed etch, I had a botched dist-upgrade and so I installed > from the net-inst cd but I left all my partitions the same and left my > /home volume undisturbed. It seems to have worked for most other > apps. Wonder if that's causing a problem. No, that shouldn't be a problem. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

