Wednesday, May 2, 2012

Re: [Rails] Rails and the Ubuntu command line



On 2 May 2012, at 17:48, Merhawi Fissehaye <merhawifissehaye@gmail.com> wrote:

I am new to rails
The rails command to create new application: rails new depot is not working. It creates a folder named new inside the current directory when was expecting depot
Even the command that generate scaffolds ( rails generate scaffold ....) create a folder named generate as if I am trying to create a new rails project named generate.
what is the problem. I am using rails version 'Rails 2.3.14'

The functionality of the rails command changed since that version. Either use rails 3, in which case the command will work as expected, or use "rails depot" to create your app. You can then cd into the directory and run generate commands.

Jeremy Walker

--
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/-/luBxtlPoxCsJ.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate