Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.6
-
Fix Version/s: JRuby 1.2
-
Component/s: Miscellaneous
-
Labels:None
-
Environment:Mac OS X 10.5.6
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
Description
When running "jruby -S script/server" the following error message appears: script/console:1: undefined method `script' for JRuby::Commands:Class (NoMethodError)
I think -S is just for running scripts in the JRuby bin directory.
Does it work if you just do jruby script/server and jruby script/console?