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'' -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 2 May 2012, at 17:48, Merhawi Fissehaye <merhawifissehaye-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On May 2, 5:48 pm, Merhawi Fissehaye <merhawifisseh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
mattslay-GSMTBL/PwoIAUIqCBpNi1wC/G2K4zDHf@public.gmane.org
2012-May-02 23:28 UTC
Re: Rails and the Ubuntu command line
May I politely ask why you are trying to use such and verion of Rails? Since you are new, why not hop on the latest version? Are you trying to follow an old book, or other older online tutorials? See this post to get started: http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/ On May 2, 11:48 am, Merhawi Fissehaye <merhawifisseh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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''-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.