Skip to content

Instantly share code, notes, and snippets.

@blinsay
Created August 7, 2012 17:17
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 blinsay/3287431 to your computer and use it in GitHub Desktop.
Save blinsay/3287431 to your computer and use it in GitHub Desktop.
C.J and GEM_PATH
benl@bivalve: jading$ ./jade -g json -g jruby-openssl -l /Users/benl/Projects/cascading.jruby/sandbox/lib /Users/benl/Projects/cascading.jruby/sandbox/{fuckery,sleep,external}.rb && yes | gem uninstall cascading.jruby
Ivy dependencies already resolved
Buildfile: /Users/benl/Projects/jading/build.xml
[echo] Resolved?: true
download-ivy:
init-ivy:
retrieve-ivy:
compile:
BUILD SUCCESSFUL
Total time: 0 seconds
Fetching: cascading.jruby-0.0.9.gem (100%)
Buildfile: /Users/benl/Projects/jading/build.xml
[echo] Resolved?: true
jade-jar:
[jar] Building jar: /Users/benl/Projects/jading/jade.jar
BUILD SUCCESSFUL
Total time: 6 seconds
Removing make_job
Successfully uninstalled cascading.jruby-0.0.9
benl@bivalve: jading$ hadoop jar jade.jar com.etsy.jading.Main fuckery.rb
Aug 7, 2012 10:12:52 AM com.etsy.jading.Main run
INFO: Main.run() properties:
Aug 7, 2012 10:12:52 AM com.etsy.jading.Main run
INFO: JRUBY_HOME set to: /Users/benl/.rvm/rubies/jruby-1.6.5.1/
Aug 7, 2012 10:12:52 AM com.etsy.jading.Main run
INFO: cascading.jruby script ARGV:
Aug 7, 2012 10:12:54 AM com.etsy.jading.Main run
INFO: Requiring 'fuckery.rb'
Setting GEM_PATH to '/tmp/hadoop-benl/hadoop-unjar5700609449668182172/vendor/gems'
Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- cascading
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(/Users/benl/.rvm/rubies/jruby-1.6.5.1//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36)
at #<Class:0x26796e1c>.(root)(/tmp/hadoop-benl/hadoop-unjar5700609449668182172/fuckery.rb:14)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at #<Class:0x26796e1c>.(root)(/tmp/hadoop-benl/hadoop-unjar5700609449668182172/fuckery.rb:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment