Hi guys,
I did this a million times locally (OS X) and on a remote box (debian)
but
on a new box (debian too) I can’t install a local gem:
[deploy@vs7489 tmp]$ jruby -s gem install scrubyt-0.9.10.gem
Error opening script file: /srv/websites/tweetmyjobs/releases/1/tmp/gem
(No
such file or directory)
the gem file (scrubyt-0.9.10.gem) exists in the directory I am trying to
run
the script from - I am guessing some kind of a path problem?
Cheers,
Peter
Shouldn’t it be capital S. Jruby -S …,
Jay
I tried that too (actually I am pretty sure ‘normally’ I am using -S):
[deploy@vs7489 tmp]$ jruby -S gem install scrubyt-0.9.10.gem
Exception in thread “main”
file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:69:
undefined method jirb' for class
#Class:01x31a3ca10’ (NameError)
from
file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:1
...internal jruby stack elided...
from
(unknown).(unknown)(file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:1)
from
(unknown).(unknown)(file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:1)
from
(unknown).(unknown)(file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:1)
from
(unknown).(unknown)(file:/opt/ruby-ee-orig/lib/ruby/gems/1.8/gems/jruby-0.0.1/lib/jruby.jar!/jruby/commands.rb:1)
from (unknown).(unknown)(:1)
Uh, I guess I need to update JRuby a ‘bit’…