[Rails] Re: Rails and the Ubuntu command line
On May 2, 5:48 pm, Merhawi Fissehaye <merhawifisseh...@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 rails command changed substantially between rails 2.x and rails 3,
it looks like you're following instructions for rails 3.
in rails 2 you create a new app with
rails foo
and you invoke generators with
ruby ./script/generate ...
instead of rails generate ...
Fred
--
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 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