ripienaar/gdash — Issue #21: 404 when opening a dashboard
Author: xlson
Created: 2012-02-01 14:26:58+00:00
State: open

I'm not that familiar with the Ruby world but I've been able to start gdash using rackup and shotgun. I've copied the sample graphite config to my templates folder and can see it listed on the gdash frontpage. When I click on a dashboard I get a 404 and Sinatra claims there is no such route.

Shotgun shows these exceptions in the log:
Exception `LoadError' at /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36 - no such file to load -- sinatra
Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for Rational(1, 2):Rational
Exception `Sinatra::NotFound' at /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:837 - Sinatra::NotFound
Exception `WEBrick::HTTPStatus::EOFError' at /usr/lib/ruby/1.8/webrick/httpserver.rb:55 - WEBrick::HTTPStatus::EOFError

I'd really appreciate any help with getting gdash running. My OS is Ubuntu and I'm using Ruby 1.8.7.