[Rails] Don't Try This at Home (rails --help)
Josh Knowles
joshknowles at gmail.com
Wed Mar 2 18:39:55 GMT 2005
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 at byu.edu> 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 at lists.rubyonrails.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 at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
More information about the Rails
mailing list