First thing is I am on Ubuntu 12.04 LTS.
When I type rails s or rails g, a new rails app is created in folder /s and /g instead of the respective script being run.
When I type rails new, a new rails app with folder /new is created.
I’m not sure why this is happening. It only worked once when I first installed rails.
That’s because you are using Rails 2.x. Check your rails version,
to see your rails version.
newkeyword is used in Rails 3.x. In Rails 2.x when you run commandrails projectit will create a project for you.