Couldn''t find a solution anywhere so I''m posting here. I''m running rvm and Ruby 1.9.2-p180 [x86_64]. I installed rails 3.0.7 via ''gem install rails'' and was running ''rails new'' at command line without issue (Mac OS X, 10.6.6) for some time now to create my projects. Now, ''rails new myapp'' doesn''t work: I keep getting the help output for some reason instead (the same output as if you ran ''rails -h''). I tried uninstalling and uninstalling rails via ''gem uninstall'' but still no fix. This was all running before. The only thing I did since then was install jruby...could that have mucked up with some settings? Unfortunately I can''t trace it when I run ''rails new'' so I have no idea why it isn''t working. Any thoughts? -- 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.
What does rails -v tell you ? Also, try running rails new app1 --ruby /path/to/your/matz_ruby Also, try to create different gemsets with rvm and run with different version of rails/ruby. Does it help ? ---- http://blog.eugen.co -- Posted via http://www.ruby-forum.com/. -- 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.
I came across the same issue couple of days ago and it seemed to be a problem with some of the installed gems, I had done gem cleanup and removed some dependent gems. A fresh install on all the gems and rails itself helped me. hth. Q ianha wrote in post #998925:> Couldn''t find a solution anywhere so I''m posting here. > > I''m running rvm and Ruby 1.9.2-p180 [x86_64]. I installed rails 3.0.7 > via ''gem install rails'' and was running ''rails new'' at command line > without issue (Mac OS X, 10.6.6) for some time now to create my > projects. > > Now, ''rails new myapp'' doesn''t work: I keep getting the help output > for some reason instead (the same output as if you ran ''rails -h''). I > tried uninstalling and uninstalling rails via ''gem uninstall'' but > still no fix. > > This was all running before. The only thing I did since then was > install jruby...could that have mucked up with some settings? > > Unfortunately I can''t trace it when I run ''rails new'' so I have no > idea why it isn''t working. > > Any thoughts?-- Posted via http://www.ruby-forum.com/. -- 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 15 May 2011 22:04, ianha <ianha0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Couldn''t find a solution anywhere so I''m posting here. > > I''m running rvm and Ruby 1.9.2-p180 [x86_64]. I installed rails 3.0.7 > via ''gem install rails'' and was running ''rails new'' at command line > without issue (Mac OS X, 10.6.6) for some time now to create my > projects. > > Now, ''rails new myapp'' doesn''t work: I keep getting the help output > for some reason instead (the same output as if you ran ''rails -h''). I > tried uninstalling and uninstalling rails via ''gem uninstall'' but > still no fix.Make sure that you are not inside an existing rails app when you do rails new. If you are then it will not allow new and displays the commands that are valid (generate, console and so on). Colin -- 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.
Thanks everyone, running ''gem cleanup'' seems to have done the trick''! On May 16, 4:27 am, QAS WM <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I came across the same issue couple of days ago and it seemed to be a > problem with some of the installed gems, I had done gem cleanup and > removed some dependent gems. A fresh install on all the gems and rails > itself helped me. > > hth. > > Q > > ianha wrote in post #998925: > > > > > > > > > > > Couldn''t find a solution anywhere so I''m posting here. > > > I''m running rvm and Ruby 1.9.2-p180 [x86_64]. I installed rails 3.0.7 > > via ''gem install rails'' and was running ''rails new'' at command line > > without issue (Mac OS X, 10.6.6) for some time now to create my > > projects. > > > Now, ''rails new myapp'' doesn''t work: I keep getting the help output > > for some reason instead (the same output as if you ran ''rails -h''). I > > tried uninstalling and uninstalling rails via ''gem uninstall'' but > > still no fix. > > > This was all running before. The only thing I did since then was > > install jruby...could that have mucked up with some settings? > > > Unfortunately I can''t trace it when I run ''rails new'' so I have no > > idea why it isn''t working. > > > Any thoughts? > > -- > Posted viahttp://www.ruby-forum.com/.-- 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.