electrical / package-kibana

Build script for making Centos/Debian packages for kibana
9 stars 5 forks source link

daemons gem? #4

Open fprimex opened 11 years ago

fprimex commented 11 years ago

After running build and installing kibana from deb, upon starting it I received this error:

 * Starting Kibana frontend                                                                                                           /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- daemons (LoadError)
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /usr/local/kibana/kibana-daemon.rb:4

I corrected the problem by running gem install daemons. Should this be required?

fprimex commented 11 years ago

Also needed to gem install: tzinfo, fastercsv, sinatra

After that kibana started fine. I was thinking this was a monolithic package that was being built, so that's my mistake. Since a deb is getting made, though, maybe it could be created to depend on gem packages if they exist. It looks like there are ruby-sinatra, libtzinfo-ruby, and ruby-daemons packages, but no fastercsv.