Kyle Shank wrote:

Try debugging it, I cannot reproduce this.  The generation of the
rails project is really straightforward so this sound more like an
environment thing.
OK, debugging did the trick.
Seems like my Rails installation (done with 'apt-get install') has a rather odd 'rails' shell script in /usr/bin. It doesn't understand the "-s" option that you give it, so if you call it with, eg,
"rails -s foo"
it'll show a man page, and nothing else.

I had tried to set the Rails installation in the preferences, but it didn't work either at first, because I set it to the root of the installation ("/usr/share/rails"), but then I saw in the debugger which that the rails script is expected in $RAILS_INSTALLATION+bin/rails, but the rails script is in "/usr/share/rails/railties/bin/rails", so the rails installation in the preferences must point to
"/usr/share/rails/railties/".

That solved my problem.


Thanks,

murphee
--
Blog @ http://jroller.com/page/murphee
EclipseShell @ http://eclipse-shell.sourceforge.net/

_______________________________________________
RadRails mailing list
RadRails@radrails.org
http://lists.radrails.org/mailman/listinfo/radrails

Reply via email to