小编col*_*lin的帖子

无法加载EventMachine C扩展;使用纯红宝石反应堆

我遇到了麻烦,在Rails项目中?redmine2.3),rails版本是3.2

开始项目

bundle exec thin start -p 8080 -e production -s 5 -d
Run Code Online (Sandbox Code Playgroud)

错误信息

(eval):9: warning: already initialized constant Bundler::Dsl::RAILS_VERSION_IS_3
(eval):9: warning: previous definition of RAILS_VERSION_IS_3 was here
(eval):9: warning: already initialized constant Bundler::Dsl::RAILS_VERSION_IS_3
(eval):9: warning: previous definition of RAILS_VERSION_IS_3 was here
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
/var/wtn/vendor/cache/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:8:in `require': libruby.so.2.0: cannot open shared object file: No such file or directory - /var/wtn/vendor/cache/ruby/2.0.0/gems/eventmachine-1.0.3/lib/rubyeventmachine.so (LoadError)
    from /var/wtn/vendor/cache/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:8:in `<top (required)>'
    from /var/wtn/vendor/cache/ruby/2.0.0/gems/thin-1.6.2/lib/thin.rb:7:in `require'
    from …
Run Code Online (Sandbox Code Playgroud)

ruby bundle ruby-on-rails ruby-on-rails-3

1
推荐指数
4
解决办法
8176
查看次数

标签 统计

bundle ×1

ruby ×1

ruby-on-rails ×1

ruby-on-rails-3 ×1