Permalink
Browse files

Fix issue running JRuby in 1.8 mode

  • Loading branch information...
1 parent 130c22e commit fe7a90ebc76bf51d8f61a115e1d9c4fc1131b2db @mperham committed Sep 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 .rvmrc
  2. +1 −1 lib/girl_friday.rb
View
2 .rvmrc
@@ -1,3 +1,3 @@
rvm use jruby@gf --create
export RBXOPT=-Xrbc.db=".rbxdb"
-export JRUBY_OPTS='--1.9 -X+O -J-Djruby.launch.inproc=false'
+export JRUBY_OPTS='--1.9'
View
@@ -22,7 +22,7 @@ module GirlFriday
def self.add_queue(ref)
@@lock.synchronize do
@queues ||= []
- @queues.keep_if { |q| q.weakref_alive? }
+ @queues.reject! { |q| !q.weakref_alive? }
@queues << ref
end
end

0 comments on commit fe7a90e

Please sign in to comment.