[yast-commit] <rest-service> eula : fix db:migrate in spec, as final product run in production mode
ref: refs/heads/eula commit 4bc4f8fcdcd051bb622e9c9b882c4fc37973e380 Author: Josef Reidinger <jreidinger@suse.cz> Date: Thu Oct 1 12:47:39 2009 +0200 fix db:migrate in spec, as final product run in production mode --- webservice/package/yast2-webservice.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/webservice/package/yast2-webservice.spec b/webservice/package/yast2-webservice.spec index b67d1a8..513edd5 100644 --- a/webservice/package/yast2-webservice.spec +++ b/webservice/package/yast2-webservice.spec @@ -168,7 +168,7 @@ test -r /usr/sbin/yastws || { echo "Creating link /usr/sbin/yastws"; # create database # cd srv/www/%{pkg_user} -rake db:migrate +RAILS_ENV=production rake db:migrate chown -R yastws: db chown -R yastws: log echo "Database is ready" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Josef Reidinger