dashing-newrelic
dashing-newrelic copied to clipboard
LoadError from backports-3.6.0
I get the error(s) below when starting "Dashing". This is on a fresh Ubuntu 12.04 installation running inside Vagrant. "config.yml" has the right API-key, dashing works OK when started without the NewRelic-jobs. Any hints / clues?
# dashing start
/var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require': cannot load such file -- active_resource (LoadError)
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from /var/lib/gems/1.9.1/gems/newrelic_api-1.2.4/lib/new_relic_api.rb:1:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from /var/lib/gems/1.9.1/gems/newrelic_api-1.2.4/lib/newrelic_api.rb:1:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from /root/test_dashboard/jobs/newrelic_rpm.rb:1:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require'
from /var/lib/gems/1.9.1/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from /var/lib/gems/1.9.1/gems/dashing-1.3.2/lib/dashing.rb:167:in `block in <top (required)>'
from /var/lib/gems/1.9.1/gems/dashing-1.3.2/lib/dashing.rb:167:in `each'
from /var/lib/gems/1.9.1/gems/dashing-1.3.2/lib/dashing.rb:167:in `<top (required)>'
from config.ru:1:in `require'
from config.ru:1:in `block in <main>'
from /var/lib/gems/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /var/lib/gems/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `<main>'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/rack/adapter/loader.rb:33:in `eval'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/rack/adapter/loader.rb:33:in `load'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/thin/controllers/controller.rb:182:in `load_rackup_config'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/thin/controllers/controller.rb:72:in `start'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/thin/runner.rb:199:in `run_command'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/lib/thin/runner.rb:155:in `run!'
from /var/lib/gems/1.9.1/gems/thin-1.6.2/bin/thin:6:in `<top (required)>'
from /usr/local/bin/thin:19:in `load'
from /usr/local/bin/thin:19:in `<main>'
I'm running into the same thing on OSX w/ ruby 1.9.3 - did you make any progress?
@snicko Nope...
@hbokh - I figured it out last night. Add gem 'activeresource' to your Gemfile before the newrelic gem line.