Permalink
Browse files

JRUBY-4188: Fix way jruby-openssl is loaded for bundler

  • Loading branch information...
1 parent ae377da commit b8b62295978b0052b27d30ac88c35156356550c6 @nicksieger nicksieger committed Nov 3, 2009
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/ruby/site_ruby/shared/jruby/openssl/gem.rb
@@ -3,8 +3,7 @@
# try to activate jruby-openssl gem, and only require from the gem if it's there
begin
gem 'jruby-openssl'
- gem_success = true
-rescue Gem::LoadError => e
- gem_success = false
+ require 'openssl.rb'
+rescue LoadError
end
-require 'openssl.rb' if gem_success
+

0 comments on commit b8b6229

Please sign in to comment.