can't require openssl when using bundler
----------------------------------------

                 Key: JRUBY-4188
                 URL: http://jira.codehaus.org/browse/JRUBY-4188
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby 1.4.0RC3
            Reporter: Rib Rdb


Bundler stubs out Kernel.gem to do nothing, but jruby/openssl/gem.rb uses it to 
test whether the jruby-openssl gem is installed.  This version of gem.rb should 
work with bundler:

require 'rubygems'

# try to activate jruby-openssl gem, and only require from the gem if it's there
begin
  gem 'jruby-openssl'
  require 'openssl.rb'
rescue LoadError
end


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to