运行rake时出现jRuby错误

时间:2014-08-19 18:44:35

标签: java ruby-on-rails rake jruby jrubyonrails

我使用Rails 4.1.5java 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的新手。

0 个答案:

没有答案