1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

jruby fix

This commit is contained in:
Mike Perham 2012-02-12 21:16:49 -08:00
parent 79e392ccf0
commit 3e36c70ee6
2 changed files with 7 additions and 0 deletions

1
.rvmrc
View file

@ -1,3 +1,4 @@
export RUBYOPT="-Ilib:test"
export JRUBY_OPTS="--1.9"
rvm use 1.9.3@sidekiq --create
#rvm use jruby@sidekiq --create

View file

@ -1,3 +1,9 @@
trap 'INT' do
# Handle Ctrl-C in JRuby like MRI
# http://jira.codehaus.org/browse/JRUBY-4637
Thread.main.raise Interrupt
end
require 'optparse'
require 'sidekiq/version'
require 'sidekiq/util'