Questions tagged [gems-in-a-jar]

4 questions
9
votes
2 answers

Jruby Gems-in-a-jar issue

I am trying to write some code in ruby (using jruby) to be compiled to java bytecode with jrubyc and deployed to a remote machine where it will be run on the JVM (no ruby available there). Everything works fine as long as I am happy to stick with…
antonio
  • 91
  • 1
  • 2
6
votes
1 answer

How can i use gems-in-a-jar with embedded JRuby?

I would like to use the excellent Sass as part of my build process. My build process is managed by Gradle. That means writing a plugin to run Sass. Sass is Ruby, and Gradle is in Groovy, but since Groovy runs on the JVM, i can use JRuby to run it,…
Tom Anderson
  • 42,965
  • 15
  • 81
  • 123
1
vote
1 answer

How can I handle gems with a portable JRuby?

We're using Ruby scripts for certain parts of a build. To execute them, we're using JRuby ( the complete jar ), and so far we haven't made use of any gems outside the stdlib. If for example, I would want use three gems from github, how would I…
Geo
  • 85,654
  • 109
  • 315
  • 497
1
vote
2 answers

jRuby called in Ant can't find gems, what am I doing wrong

I have the following in an Ant target:
Walter Rumsby
  • 7,005
  • 5
  • 37
  • 36