Hi,
I guess my problem is related to the threads of Ali S. (“Issue with
the gems using jruby-complete” [1] and “Calling Jruby -S from a java
code.” [2]), but I didn’t want to mess up those threads.
So, I try to include openssl support into the “jruby-complete” jar file,
such that the final users need not to install the gem on their own. In
the latest thread of Ali, Nick S. mentioned that including gems
isn’t easily possible [3], so I wonder what the “maybe_install_gems”
stuff within the build.xml is used for.
The following is just to get the procedure right:
- I adopted the build.xml, such that it contains jruby-openssl as
argument, wherever “rspec” and “rake” were already added (the
“maybe_install_gems” sections in target “jar-complete” and
“install-gems”).
So finally, the jar file contains the jruby-openssl files:
META-INF/jruby.home/lib/ruby/gems/1.8/
./cache/jruby-openssl-0.2.3.gem
./gems/jruby-openssl-0.2.3/*
./specifications/jruby-openssl-0.2.3.gemspec
- Nick’s hint [4], to add ‘META-INF/jruby.home/lib/ruby/site_ruby/1.8’
to the LOAD_PATH variable, made a minimal script like the following run:
require ‘rubygems’
require ‘openssl’
I tought that would be the same issue as described in thread “Calling
Jruby -S from a java code.” with including “mongrel”, but i still get
the following message:
“JRuby limited openssl loaded. gem install jruby-openssl for full
support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL”
So obviously the jruby-openssl code isn’t used.
… now I’m not sure if I missed something or that corresponds to the
mentioned troubles including gems into the jruby-complete jar.
I hope somebody is able to throw light on my situation.
Cheers, Thomas.
[1]
Hausfoundation - unity game development company
[2]
Hausfoundation - unity game development company
[3]
Hausfoundation - unity game development company
[4]
Hausfoundation - unity game development company
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: GMX Produkte Übersicht: Apps, Browser, MailCheck und Co.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email