Wednesday, November 30, 2011

script console for jruby rails

inside your rails root directory

<system java path>/java -client  -Xbootclasspath/a:<path to jruby jar>/jruby-complete-1.6.2.jar   -Djruby.shell=/bin/sh org.jruby.Main script/console

useful for investigating stuff on production boxes if jruby is not installed on commandline.

No comments:

Post a Comment