So I was attempting to determine what version of Rails I was running; I first I did rails -v which went off and created a -v directory. I then did a rails --help which created a --help directory... I dont know if you have ever tried, but deleting a directory named --help from the cli is about impossible! I had to write a ruby script to clean up the mess I made!
Josh Knowles wrote:> So I was attempting to determine what version of Rails I was running; > I first I did rails -v which went off and created a -v directory. I > then did a rails --help which created a --help directory... I dont > know if you have ever tried, but deleting a directory named --help > from the cli is about impossible! I had to write a ruby script to > clean up the mess I made! > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/railsrm -rf -- --help rails --help should show you a rails help screen, though. What version are you using? -Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Mar 2, 2005, at 11:22 AM, Scott Barron wrote:> Josh Knowles wrote: >> So I was attempting to determine what version of Rails I was running; >> I first I did rails -v which went off and created a -v directory. I >> then did a rails --help which created a --help directory... I dont >> know if you have ever tried, but deleting a directory named --help >> from the cli is about impossible! I had to write a ruby script to >> clean up the mess I made! >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > rm -rf -- --help > > rails --help should show you a rails help screen, though. What > version are you using?Okay, now that''s funny. Thanks for the laugh, Scott. :) (I assume that was intentional?) To the OP, you can determine your rails version by doing "gem list rails". If you are using the latest version of Rails, you can do --help, but you still can''t use the rails tool to determine the rails version. - Jamis
Ah was missing the -- infront of --help, thanks! I kept typing rm -Rf --help and was just getting the damn help screen :) I''ll go back to my corner now... As far as what version I''m using, I attempted to download 0.10 through gentoo''s emerge but it gave me 0.9.5, trying to figure out what''s going on there. On Wed, 02 Mar 2005 11:32:53 -0700, Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote:> > On Mar 2, 2005, at 11:22 AM, Scott Barron wrote: > > > Josh Knowles wrote: > >> So I was attempting to determine what version of Rails I was running; > >> I first I did rails -v which went off and created a -v directory. I > >> then did a rails --help which created a --help directory... I dont > >> know if you have ever tried, but deleting a directory named --help > >> from the cli is about impossible! I had to write a ruby script to > >> clean up the mess I made! > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > > > > rm -rf -- --help > > > > rails --help should show you a rails help screen, though. What > > version are you using? > > Okay, now that''s funny. Thanks for the laugh, Scott. :) (I assume that > was intentional?) > > To the OP, you can determine your rails version by doing "gem list > rails". If you are using the latest version of Rails, you can do > --help, but you still can''t use the rails tool to determine the rails > version. > > - Jamis > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
* Scott Barron (scott-HDQKq3lYuGDk1uMJSBkQmQ@public.gmane.org) [050302 13:24]:> rm -rf -- --helpAlso (since this works for other commands which don''t recognize "--"): % rm -rf ./--help Rick -- http://www.rickbradley.com MUPRN: 781 | business is risk random email haiku | free and will be finished | within working days.