I have trouble to use jruby 1.3.0 with warbler. If I create a war file
with
jruby 1.2.0, all succeed:
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ jruby -v
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419)
[i386-java]
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ jruby -S warble war
mkdir -p tmp/war/WEB-INF
jar cf carrierDB.war -C tmp/war .
But If I upgrade to jruby 1.3.0 (switch my ‘jruby’ link from
‘jruby-1.2.0’
to ‘jruby-1.3.0’), the ‘warble’ command is unknow:
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ jruby -v
jruby 1.3.0 (ruby 1.8.6p287) (2009-06-03 5dc2e22) (Java HotSpot™
Client
VM 1.5.0_16) [i386-java]
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ jruby -S warble war
jruby: No such file, directory, or command – warble
Any idea what is wrong?
My environment is:
System Version: Mac OS X 10.4.11 (8S2167)
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ java -version
java version “1.5.0_16”
Java™ 2 Runtime Environment, Standard Edition (build
1.5.0_16-b06-275)
Java HotSpot™ Client VM (build 1.5.0_16-132, mixed mode, sharing)
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ echo $JRUBY_HOME
/opt/local/jruby
chris:~/workspaceExtJs/carrierDB2.0 mullerc$ echo $GEM_HOME
/opt/local/gem
Cheers,
Christian