Database setup is missing 'thread_safe'
Hey,
just trying to make sense of the bundler
commands. I still try to set schleuder-web
up on Debian Jessie, but without luck so far.
Here is what I did:
- cloned the repository to
/usr/share/schleuder-web
- edited
secrets.yml
,database.yml
(to respect my postgres DB) andschleuder-web.yml
- changed the directory owner to
scheuder
recursively - executed
bundle install --without development
asschleuder
(withsudo
capabilities)
Afterwards, when I first tried to setup the database using bundle exec rake db:setup RAILS_ENV=production
, I received an error about the missing mini_portile2
gem. Installed it and retried. Now I get the following error:
root@server:/usr/share/schleuder-web# bundle exec rake db:setup RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- thread_safe
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflector/inflections.rb:1:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflector/inflections.rb:1:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflections.rb:1:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflections.rb:1:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:3:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:3:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies/autoload.rb:1:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies/autoload.rb:1:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support.rb:25:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.5/lib/active_support.rb:25:in `<top (required)>'
/var/lib/gems/2.1.0/gems/railties-4.2.5/lib/rails.rb:5:in `eequire'
/var/lib/gems/2.1.0/gems/railties-4.2.5/lib/rails.rb:5:in `<top (required)>'
/var/lib/gems/2.1.0/gems/railties-4.2.5/lib/rails/all.rb:1:in `require'
/var/lib/gems/2.1.0/gems/railties-4.2.5/lib/rails/all.rb:1:in `<top (required)>'
/usr/share/schleuder-web/config/application.rb:3:in `require'
/usr/share/schleuder-web/config/application.rb:3:in `<top (required)>'
/usr/share/schleuder-web/Rakefile:4:in `require'
/usr/share/schleuder-web/Rakefile:4:in `<top (required)>'
/var/lib/gems/2.1.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
The thread_safe
gem is installed.
It doesn't make a different if run as schleuder
or as root
.
Do you have any idea, where to dig deeper or how to solve this issue?