search

Home  >  Q&A  >  body text

ruby-on-rails - ruby 运行resque-web项目报错

在我本地没事,但是另一台服务器就是不行。报错如下,在线等大神
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:2288:in `raise_if_conflicts': Unable to activate sinatra-1.4.7, because rack-2.0.1 conflicts with rack (~> 1.5) (Gem::ConflictError)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:1408:in `activate'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:220:in `rescue in try_activate'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:213:in `try_activate'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
    from /data/www/syh/resque/resque/lib/resque/server.rb:1:in `<top (required)>'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
滿天的星座滿天的星座2777 days ago610

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-04-25 09:03:58

    The version of gem rake is wrong. You have been prompted to use 2.0.1 above

    reply
    0
  • Cancelreply