Javascript 在Debian上启动Rumptroll

Javascript 在Debian上启动Rumptroll,javascript,ruby,mongodb,websocket,gem,Javascript,Ruby,Mongodb,Websocket,Gem,我下载了这个脚本: 我有一个Debian系统,我想启动它。我安装了Mongodb和许多库,但是当我想使用/daemon.rb启动Ruby脚本时,输出是: ** Notice: The native BSON extension was not loaded. ** For optimal performance, use of the BSON extension is recommended. To enable the extension make sure ENV['BS

我下载了这个脚本:

我有一个Debian系统,我想启动它。我安装了Mongodb和许多库,但是当我想使用
/daemon.rb
启动Ruby脚本时,输出是:

  ** Notice: The native BSON extension was not loaded. **

  For optimal performance, use of the BSON extension is recommended.

  To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
  and run the following command:

    gem install bson_ext

  If you continue to receive this message after installing, make sure that
  the bson_ext gem is in your load path.

/usr/lib/ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate mongo-2.0.4, because bson-1.9.2 conflicts with bson (~> 3.0) (Gem::LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/specification.rb:746:in `activate'
    from /usr/lib/ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
    from /usr/lib/ruby/1.9.1/rubygems.rb:209:in `try_activate'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from ./daemon.rb:11:in `<main>'

如何启动它?

您是否运行了
捆绑安装
?所需的gem位于
Gemfile.lock
中,您可以使用
bundle install
安装这些gem。首先,您需要
gem安装bundler
。我安装了它,但问题仍在继续。运行
bundle exec em/daemon.rb
而不是
ruby em/daemon.rb
*** LOCAL GEMS ***

bson (3.0.4, 1.12.3, 1.9.2, 1.0)
bson_ext (1.12.3, 1.9.2, 1.0)
em-mongo (0.5.1)
em-websocket (0.5.1)
eventmachine (1.0.7)
http_parser.rb (0.6.0)
mongo (2.0.4, 1.9.2, 1.0)
oauth (0.4.7)
rb-readline (0.5.3)