Initialize rvm before running bundle.

Dockerfile CMD is run in non-interactive shell, so /etc/bash.bashrc is not sourced.
This commit is contained in:
Stefan Verhoeven 2015-02-13 14:59:26 +01:00
parent 5210a06218
commit 4b6693f2c7

View File

@ -13,7 +13,8 @@ cd /CartoDB-SQL-API
node app.js development &
cd /cartodb
script/restore_redis
source /usr/local/rvm/scripts/rvm
bundle exec script/restore_redis
bundle exec script/resque &
bundle exec rails s -p $PORT