ari/jobsworth — Issue #232: Error when execute ruby setup.rb
Author: joaoescribano
Created: 2012-01-17 13:11:49+00:00
State: open

Hello, i allways get an error when i try to run the setup of jobsworth.

I used the "rvm" to install ruby 1.9.2, installed all the needed libs, configured the database and the error doesn't stop.

-------------------------------------------------------------------------------------------
root@us:/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth# ruby setup.rb

Enter hostname for the Jobsworth service (for example projects.mycompany.com): projetos.plenasaude.net

Using 'projetos.plenasaude.net' to access Jobsworth.

Enter name of initial company: Plena Saúde
Enter name of initial user: adminsitrador
Enter username for initial user: admin
Enter password for initial user: 123
Enter password (again) for initial user: 123
Enter email address of initial user: admin@plenasaude.net

Will create 'admin' with password '123' for 'Plena Saúde' as initial administrator account.

Creating config files...
Creating config/environment.local.rb
Creating directories...
log...
index...
store...
store/avatars...
store/logos...
tmp...
tmp/cache...

Initialize database schema [n]: y
Initializing database schema
(in /var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth)
rake aborted!
no such file to load -- bundler/setup
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/config/boot.rb:6:in `'
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/config/application.rb:1:in `'
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/Rakefile:4:in `'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/local/bin/rake:31:in `

'
(in /var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth)
rake aborted!
no such file to load -- bundler/setup
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/config/boot.rb:6:in `'
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/config/application.rb:1:in `'
:29:in `require'
:29:in `require'
/var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/Rakefile:4:in `'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/local/bin/rake:31:in `

'

Loading Rails to create account...
:29:in `require': no such file to load -- /var/www/vhosts/plenasaude.net/subdomains/projetos/apps/jobsworth/setup.rb/config/environment.rb (LoadError)
from :29:in `require'
from setup.rb:125:in `

'