Re: Jruby complete and bundle

Hi,

you should use jgem to install into a local folder (use the -i option).

Then you should add the following into jruby-complete-1.7.8.jar (please
respect the paths):

  • bin/bundle* into META-INF\jruby.home\bin
  • ‘gems’ folder into META-INF\jruby.home\lib\ruby\gems\shared
  • ‘specifications’ folder into META-INF\jruby.home\lib\ruby\gems\shared

To do this, you could use 7-zip manager for example. In case my
instructions were not clear enough, I will anyway make a dedicated jar
for
you and post it on my github account shortly.

Here’s my specific repo for your use case:

You can directly download the demo jar file at this url:

https://github.com/cmichon/jruby-complete/blob/master/jruby-complete-1.7.8.jar?raw=true

Both ‘jruby -S bundle’ and ‘jruby -S rake’ work.

Now I would advise bundle to be added into jruby-complete by the jruby
team
from now on, as rake is. This would simplify many deployment issues.

On Mon, Dec 2, 2013 at 8:54 AM, Christian MICHON
<[email protected]

I agree that bundler is a must in jruby-complete.

On Mon, Dec 2, 2013 at 9:09 PM, Christian MICHON
<[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs