Ruby on rails 3 Mizuno服务器在启动时抛出ClassNotFoundException:Jruby opensslService
我正在将RubyonRails 3.2.8应用程序从MRI 1.9.3移植到JRuby1.6.7 Rails应用程序本身对JRuby是友好的,为了让twitter引导程序能够与JRuby一起工作,我确实需要克服一些困难。我的所有测试都通过了,应用程序将在Webrick下运行(通过Ruby on rails 3 Mizuno服务器在启动时抛出ClassNotFoundException:Jruby opensslService,ruby-on-rails-3,jruby,Ruby On Rails 3,Jruby,我正在将RubyonRails 3.2.8应用程序从MRI 1.9.3移植到JRuby1.6.7 Rails应用程序本身对JRuby是友好的,为了让twitter引导程序能够与JRuby一起工作,我确实需要克服一些困难。我的所有测试都通过了,应用程序将在Webrick下运行(通过bundle exec rails服务器) 当我尝试在下面运行时,会出现以下奇怪错误: bundle exec mizuno -d java.lang.ClassNotFoundException: Jruby-open
bundle exec rails服务器)
当我尝试在下面运行时,会出现以下奇怪错误:
bundle exec mizuno -d
java.lang.ClassNotFoundException: Jruby-opensslService
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:86)
<a few thousands more lines>
我的JRuby运行时,未使用JRuby选项:
jruby -v
jruby 1.6.7.2 (ruby-1.9.2-p312) (2012-05-01 26e08ba) (OpenJDK 64-Bit Server VM 1.7.0_03) [linux-amd64-java]
有谁拥有智慧之珠吗?我已经能够使用rackup让美津浓工作:
bundle exec rackup -s mizuno
bundle exec rackup -s mizuno