0

我正在尝试启动 openhab dashing 项目,但我仍然遇到同样的错误。当我尝试使用示例项目进行冲刺时,一切都开始完美,但不是 OpenHab 项目。

user@server:~/dashboard$ dashing start
/usr/local/lib/ruby/gems/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require': cannot load such file -- data_mapper (LoadError)
        from /usr/local/lib/ruby/gems/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require_with_backports'
        from /home/jopo/dashboard/lib/settings.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/gems/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require'
        from /usr/local/lib/ruby/gems/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require_with_backports'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:157:in `block in require_glob'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:156:in `each'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:156:in `require_glob'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:166:in `<top (required)>'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing.rb:3:in `require'
        from /usr/local/lib/ruby/gems/2.0.0/gems/dashing-1.3.4/lib/dashing.rb:3:in `<top (required)>'
        from config.ru:1:in `require'
        from config.ru:1:in `block in <main>'
        from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
        from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1:in `<main>'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `eval'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `load'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in `load_rackup_config'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in `start'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'
        from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'
        from /usr/local/bin/thin:23:in `load'
        from /usr/local/bin/thin:23:in `<main>'

我需要在哪里寻找解决方案?

4

1 回答 1

0

它缺少一颗红宝石。尝试安装它

sudo gem install datamapper
于 2016-01-15T22:42:58.393 回答