mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
jruby fix
This commit is contained in:
parent
79e392ccf0
commit
3e36c70ee6
2 changed files with 7 additions and 0 deletions
1
.rvmrc
1
.rvmrc
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue