-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven build not working. #108
Comments
"gem env" lists $JRUBY_HOME/lib/ruby/gems/1.8 and $HOME/.gem/jruby/1.8 |
I think I'm seeing a similar issue right now, due to the fact that $GEM_HOME is interpreted as being inside a jar file.
Can you try the following in your project and post results here:
The workaround to this is to do e.g. |
|
...but then it fails later with:
trying to run some rspec tests, I imagine. |
that is very weird - can not reproduce ... but here's how you skip specs : |
…well) this allows us to work without a GEM_HOME/GEM_PATH (local ruby install)
jruby -S rake builds the thing just fine, though.
Any maven task I try fails on this part:
[INFO] --- jruby-rake-plugin:1.6.7:jruby (bundle-install) @ jruby-rack ---
[INFO] Fetching gem metadata from http://rubygems.org/...........
[INFO]
[INFO] Gem::Exception: Cannot load gem at [file:/home/leif/.m2/repository/org/jruby/jruby-complete/1.6.7/jruby-complete-1.6.7.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/cache/rake-0.9.2.2.gem] in /tmp/jruby-rack
[INFO] An error occured while installing rake (0.9.2.2), and Bundler cannot continue.
[INFO] Make sure that
gem install rake -v '0.9.2.2'
succeeds before bundling.And yes, that command succeeds. I have tag 1.1.6 checked out.
Even though the rake task works for build, I would like to get maven working - I was hoping to published a hacked-up version of this jar to our own maven repo for us to use.
The text was updated successfully, but these errors were encountered: