12 May '13, 1pm

Including gems in a bundle with Rawr (Jruby) - Ruby Forum

On Sat, Feb 20, 2010 at 7:07 PM, Eric Christopherson <[email protected]> wrote: > post my code. Thanks. All right, I'm just going to paste my code. It's possible no one responded because no one here is that familiar with Rawr (or at least its internals), but I might as well ask anyway. My script runs just fine with Jruby. It uses the Barby (bar code generator) gem, which I unpacked into lib/ruby. I renamed the unpacked directory to just barby. Here is the script, main.rb: require 'rubygems' puts 'Load path:' $LOAD_PATH.each { |dir| puts dir } puts require 'barby' puts 'Hello, world.' __END__ My build_configuration.rb is: configuration do |c| c.project_name = 'RawrTest' c.output_dir = 'package' c.main_ruby_file = 'main' c.main_java_file = 'org.rubyforge.rawr.Main' # Compile all Ruby and Java files recursively # Copy all other files taking into account exclusion filt...

Full article: http://www.ruby-forum.com/topic/204580



redmine.org 12 May '13, 1am

/usr/lib/ruby/gems/1.8/gems/bundler-1.2.1/lib/bundler/rubygems_integration.rb:147:in `gem' /usr/lib/ruby/gems/1.8/gems/act...