rapid7 / warvox

http://www.warvox.org/
203 stars 55 forks source link

Installation Problem #6

Closed kalabantas closed 10 years ago

kalabantas commented 10 years ago

I have tried to install on several Ubuntu machines, everytime the installation fails at the point

make database Checking the database.. RAILS_ENV=production bundle exec rake db:migrate /bin/sh: 1: bundle: not found make: *\ [database] Error 127 Seems that this error is related to ruby environment I tried to google this error, and tried everything, but all attempts went in vain. When I try to run I get the following error:

I, [2014-08-06T03:32:25.448107 #28318] INFO -- : WarVOX is starting up... I, [2014-08-06T03:32:25.448823 #28318] INFO -- : Worker Manager has PID 28321 I, [2014-08-06T03:32:25.448904 #28318] INFO -- : Web Server has PID 28321 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- bundler/setup (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /home/majed/warvox/config/boot.rb:6:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /home/majed/warvox/script/rails:5:in<top (required)>' from bin/warvox.rb:104:in load' from bin/warvox.rb:104:in

' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- bundler/setup (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /home/majed/warvox/config/boot.rb:6:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /home/majed/warvox/bin/worker_manager.rb:21:in<top (required)>' from bin/warvox.rb:91:in load' from bin/warvox.rb:91:in
'

Any clues ? Thanks

hdm commented 10 years ago

You will need to install rvm, the bundler gem, and then run bundle install from the root directory.