我使用Rails 4.1.5
和java version 1.7.0_55
运行jruby 1.7.12
。
当我运行任何rake命令时(例如rake db:create,jruby -S rake db:create)我收到此错误:
NameError: missing class or uppercase package name (org.pryrepl.InterceptionEventHook'), caused by (NameError) cannot load Java class org.pryrepl.InterceptionEventHook
org/jruby/javasupport/JavaUtilities.java:54:in get_proxy_or_package_under_package'
file:/home/ujohndel/.rvm/rubies/jruby-1.7.12/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14:in method_missing'
PS:我是jRuby的新手。