I tried sudo gem install rails and I get the following : [code] Successfully installed rails-3.1.0 1 gem installed Installing ri documentation for rails-3.1.0... file ''lib'' not found Installing RDoc documentation for rails-3.1.0... file ''lib'' not found Stavros-Kefaleass-MacBook-Pro:~ skiabox$ rails -v -bash: rails: command not found [/code] Any ideas? Thank you. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Most likely the location of the rails executable is not in your path. What does your path variable look like? echo $PATH -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/H4CDu3IJubgJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The only location in my system that has a rails file is the following : /usr/share/devicemgr/backend/vendor/rails/railties/bin/ Here is my $path variable : /Users/skiabox/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin:/Users/skiabox/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/skiabox/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/skiabox/.rvm/bin:/Users/skiabox/pear/bin:/Applications/TextEdit.app/Contents/MacOS:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/ant/bin:/Users/skiabox/ZendFramework/bin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.