Created
December 9, 2013 22:04
-
-
Save andywer/7881831 to your computer and use it in GitHub Desktop.
JRuby + Gradle + Bundler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andy@ubuntu-vostro:~/workspace/index-vivus$ ./gradlew ruby -PcmdArgs='-S bundle install' | |
:backend:compileJava UP-TO-DATE | |
:backend:processResources UP-TO-DATE | |
:backend:classes UP-TO-DATE | |
:frontend:ruby | |
/home/andy/workspace/index-vivus/frontend/ruby/jruby-1.7.8/bin/jruby --1.9 -J-cp /home/andy/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/13.0.1/d6f22b1e60a2f1ef99e22c9f5fde270b2088365/guava-13.0.1.jar:/home/andy/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.17/5af35056b4d257e4b64b9e8069c0746e8b08629f/log4j-1.2.17.jar:/home/andy/workspace/index-vivus/backend/build/classes/main:/home/andy/workspace/index-vivus/backend/build/resources/main -S bundle install | |
Gem::LoadError: Could not find 'bundler' (>= 0) among 0 total gem(s) | |
to_specs at /home/andy/workspace/index-vivus/frontend/ruby/jruby-1.7.8/lib/ruby/shared/rubygems/dependency.rb:298 | |
to_spec at /home/andy/workspace/index-vivus/frontend/ruby/jruby-1.7.8/lib/ruby/shared/rubygems/dependency.rb:309 | |
gem at /home/andy/workspace/index-vivus/frontend/ruby/jruby-1.7.8/lib/ruby/shared/rubygems/core_ext/kernel_gem.rb:47 | |
(root) at /usr/local/bin/bundle:18 | |
:frontend:ruby FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':frontend:ruby'. | |
> Process 'command '/home/andy/workspace/index-vivus/frontend/ruby/jruby-1.7.8/bin/jruby'' finished with non-zero exit value 1 | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
Total time: 13.408 secs | |
(Also tried './gradlew ruby -PcmdArgs='-S bundle -i frontend/ruby/gems install''. Same error...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'./gradlew ruby -PcmdArgs='-S gem env'' tells:
RubyGems Environment: