Skip to content

Instantly share code, notes, and snippets.

@sholden
Created June 23, 2015 22:09
Show Gist options
  • Save sholden/46485783db4fed64a861 to your computer and use it in GitHub Desktop.
Save sholden/46485783db4fed64a861 to your computer and use it in GitHub Desktop.
jruby-1.7.20 :023 > com.zag.customerservice.metrics.MetricsConfiguration.new
=> #<Java::ComZagCustomerserviceMetrics::MetricsConfiguration:0x44948ac6>
jruby-1.7.20 :024 > java.lang.Class.for_name('com.zag.customerservice.metrics.MetricsConfiguration')
Java::JavaLang::ClassNotFoundException: com/zag/customerservice/metrics/MetricsConfiguration
from java.lang.Class.forName0(Native Method)
from java.lang.Class.forName(java/lang/Class.java:260)
from java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:483)
from RUBY.evaluate((irb):24)
from org.jruby.RubyKernel.eval(org/jruby/RubyKernel.java:1111)
from org.jruby.RubyKernel.loop(org/jruby/RubyKernel.java:1511)
from org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1274)
from org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1274)
from RUBY.start(/Users/sholden/.rvm/gems/jruby-1.7.20@catpiis/gems/railties-4.1.10/lib/rails/commands/console.rb:90)
from RUBY.start(/Users/sholden/.rvm/gems/jruby-1.7.20@catpiis/gems/railties-4.1.10/lib/rails/commands/console.rb:9)
from RUBY.console(/Users/sholden/.rvm/gems/jruby-1.7.20@catpiis/gems/railties-4.1.10/lib/rails/commands/commands_tasks.rb:69)
from RUBY.run_command!(/Users/sholden/.rvm/gems/jruby-1.7.20@catpiis/gems/railties-4.1.10/lib/rails/commands/commands_tasks.rb:40)
from RUBY.(root)(/Users/sholden/.rvm/gems/jruby-1.7.20@catpiis/gems/railties-4.1.10/lib/rails/commands.rb:17)
from org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1072)
from bin.rails.(root)(bin/rails:4)
from bin.rails.(root)(bin/bin/rails:4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment