Skip to content

Instantly share code, notes, and snippets.

@arielvalentin
Last active January 2, 2016 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arielvalentin/8346867 to your computer and use it in GitHub Desktop.
Save arielvalentin/8346867 to your computer and use it in GitHub Desktop.
JRuby Build Error
# well...
arielvalentin@kimura:~/dev/repos/jruby
git:(1.7.5-424-gc4ecd6b)
→ GEM_HOME=./lib/ruby/gems/shared/ bin/jruby -S bin/rake test:mri19 --trace
...
5012 tests, 874184 assertions, 0 failures, 0 errors, 9 skips
** Execute test:mri19
arielvalentin@kimura:~/dev/repos/jruby
git:(1.7.5-424-gc4ecd6b)
→ mvn package
...
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby ............................................. SUCCESS [0.473s]
[INFO] JRuby Core ........................................ SUCCESS [19.914s]
[INFO] JRuby Ext ......................................... SUCCESS [0.003s]
[INFO] JRuby OpenSSL ..................................... SUCCESS [0.868s]
[INFO] JRuby Readline .................................... SUCCESS [0.103s]
[INFO] JRuby Ripper ...................................... SUCCESS [0.372s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.197s
[INFO] Finished at: Thu Jan 09 23:08:03 EST 2014
[INFO] Final Memory: 55M/1229M
[INFO] ------------------------------------------------------------------------
arielvalentin@kimura:~/dev/repos/jruby
git:(1.7.5-424-gc4ecd6b)
→ mvn -Pbootstrap
...
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby ............................................. SUCCESS [0.457s]
[INFO] JRuby Core ........................................ SUCCESS [20.644s]
[INFO] JRuby Ext ......................................... SUCCESS [0.002s]
[INFO] JRuby OpenSSL ..................................... SUCCESS [0.761s]
[INFO] JRuby Readline .................................... SUCCESS [0.074s]
[INFO] JRuby Ripper ...................................... SUCCESS [0.303s]
[INFO] JRuby Integration Tests ........................... SUCCESS [2.281s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.006s
[INFO] Finished at: Thu Jan 09 23:09:05 EST 2014
[INFO] Final Memory: 46M/1506M
[INFO] ------------------------------------------------------------------------
arielvalentin@kimura:~/dev/repos/jruby
git:(1.7.5-424-gc4ecd6b)
→ bin/jruby -S bin/rake test:mri19 --trace
TEST_DIR = test
LIB_DIR = lib
BUILD_DIR = target
PKG_DIR = target/pkg
DEST_LIB_DIR = lib
SPEC_DIR = spec
JRUBY_GEM_HOME = lib/ruby/gems/shared
RUBY18_MSPEC_FILE = spec/jruby.1.8.mspec
RUBY19_MSPEC_FILE = spec/jruby.1.9.mspec
CEXT_MSPEC_FILE = spec/jruby.cext.mspec
RUBYSPEC_DIR = spec/ruby
PRAWN_GIT_REPO = git://github.com/sandal/prawn.git
PRAWN_DIR = test/prawn
PRAWN_STABLE_VERSION = 0.4.1
RAILS_GIT_REPO = git://github.com/rails/rails.git
RAILS_DIR = test/rails
MSPEC_DIR = spec/mspec
MSPEC_BIN = spec/mspec/bin/mspec
MSPEC_TAR_FILE = target/mspec.tgz
RUBYSPEC_1_8_DIR = spec/ruby/1.8
SPEC_TAGS_DIR = spec/tags
BUILD_LIB_DIR = test/target
PARSER_DIR = core/src/main/java/org/jruby/parser
JFLEX_BIN = jflex
JAY_BIN = jay
JRUBY_WIN32OLE_GEM = jruby-win32ole
INSTALLER_GEMS = jruby-win32ole
TEST_CLASSES_DIR = test/target/test-classes
RELEASE_DIR = release
TEST_RESULTS_DIR = target/test-results
JRUBY_LAUNCH_MEMORY = 1024M
RAKE_ARGS =
INSTALL4J_EXECUTABLE = /Applications/install4j 4/bin/install4jc
VERSION_RUBY = 1.8.7
VERSION_RUBY_MAJOR = 1.8
VERSION_RUBY_MINOR = 7
VERSION_RUBY_PATCHLEVEL = 370
VERSION_RUBY1_9_MAJOR = 1.9
VERSION_RUBY1_9 = 1.9.3
VERSION_RUBY1_9_PATCHLEVEL = 392
VERSION_RUBY1_9_REVISION = 39386
VERSION_RUBY2_0_MAJOR = 2.0
VERSION_RUBY2_0 = 2.0.0
VERSION_RUBY2_0_PATCHLEVEL = 195
VERSION_RUBY2_0_REVISION = 40734
JRUBY_DEFAULT_RUBY_VERSION = 1.9
rake aborted!
Could not find 'rspec' (>= 0) among 23 total gem(s)
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rubygems/dependency.rb:298:in `to_specs'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rubygems/dependency.rb:309:in `to_spec'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rubygems/core_ext/kernel_gem.rb:47:in `gem'
/Users/arielvalentin/dev/repos/jruby/rakelib/rspec.rake:19:in `(root)'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/task_manager.rb:196:in `in_namespace'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/dsl_definition.rb:104:in `namespace'
/Users/arielvalentin/dev/repos/jruby/rakelib/rspec.rake:16:in `(root)'
org/jruby/RubyKernel.java:1099:in `load'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/rake_module.rb:1:in `(root)'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/rake_module.rb:25:in `load_rakefile'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/default_loader.rb:6:in `load'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:710:in `load_imports'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:645:in `raw_load_rakefile'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:94:in `load_rakefile'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:165:in `standard_exception_handling'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:93:in `load_rakefile'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:77:in `run'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:165:in `standard_exception_handling'
/Users/arielvalentin/dev/repos/jruby/lib/ruby/shared/rake/application.rb:75:in `run'
org/jruby/RubyKernel.java:1099:in `load'
bin/rake:23:in `(root)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment