On Sun, Dec 6, 2009 at 1: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. Are you sure the rails executable file is in that path? Did you try /var/lib/gems/1.8/bin/rails first? Try not to rely on "magic" solutions but to understand what's really happening. If the error says that "rails" is not a program, make sure that it is installed first, then make sure it is in your path.
Hope it helps. Cheers. -- Leonardo Mateo. There's no place like ~ -- 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.

