script/rails vs rails -


i'm writing tutorial demo rails commands. on machine rails , script/rails both work equally well. there "preferred" form? of 2 works more universally?

when run rails executable within rails 3 application, looks script/rails file and, if it's present, executes file arguments passed rails.

the reason why you'd use rails on script/rails falls down fact it's shorter.

one more thing note, there's rails c command which, in rails 2 application, generate application folder called c inside current directory. using script/rails, wouldn't happen; instead complain script/rails doesn't exist.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -