Usually when you export the path it should work. Check again that the
path corresponds to the gems path where you have the Rails gem. You
can use this command:

gem env

to gather more info about the gem environment and you should be able
to see the GEM_PATH, so check if in that path you have the Rails gem.
It is a boring problem but it is usually a path issue.

Have you installed another version of Ruby? Reply with you gem env
output to get more help.

On Dec 6, 4:04 pm, LuisRuby <[email protected]> wrote:
> Dear friends,
> I installed RoR using the "Agile Web Development with Rails, 3rd
> edition" recipe in my Ubuntu 9.04. Apparently all has been installed
> well, but when I try to create a new application (page 35) using the
> command "rails demo", I get the message "The program 'rails' is
> currently not installed. You can install it by typing: sudo apt-get
> install rails.  bash: rails: command not found."
> It seems that Ubuntu not find Rails... and I typed the command "export
> PATH=/var/lib/gems/1.8/bin:$PATH.
> Sorry, I am RoR and Ubuntu novice.
> Thank you in advance!!
>
> Luiz

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to