I've installed Ruby (1.8.7 via apt-get) and I installed Rails (2.3.2 via rubygems) but when I type 'rails newapp', I get this error:
The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails
rails: command not found
When I run 'gem list' it shows rails and all of it's dependencies. Any idea what might have gone wrong?