auxesis / visage

Graph collectd metrics in the browser, backed by a JSON API
http://visage-app.com/
Other
381 stars 56 forks source link

fix to make specs run under 1.9.3 #121

Closed ChrisLundquist closed 12 years ago

ChrisLundquist commented 12 years ago

needed to run specs in 1.9.3.

Otherwise you get an error something like

can't convert Pathname into String (TypeError)

ENV['CONFIG_PATH'] = @root.join('features/support/config/default').to_s

NOTE: you still need to install librrd-dev{el} via package manager. otherwise you get an error like

Could not open library 'rrd': rrd: cannot open shared object file: No such file or directory.
Could not open library 'librrd.so': librrd.so: cannot open shared object file: No such file or directory (LoadError)

Alternatively you can use the rrdlib gem and get a compile error when building native extensions ( when the library is missing).


NOTE: your tests depend on collectd

No such file or directory - /usr/share/collectd/types.db (Errno::ENOENT) 
ChrisLundquist commented 12 years ago

@auxesis thank you!