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@googlegroups.com.
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.

Search Discussions

  • Tim Shaffer at Sep 30, 2011 at 5:50 pm
    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@googlegroups.com.
    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.
  • Stavros Kefaleas at Sep 30, 2011 at 5:56 pm
    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@googlegroups.com.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedSep 30, '11 at 5:46p
activeSep 30, '11 at 5:56p
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Stavros Kefaleas: 2 posts Tim Shaffer: 1 post

People

Translate

site design / logo © 2021 Grokbase