From 6a60365fedffda4ee51e6f717c2b8a57da8f315a Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Fri, 14 Oct 2011 17:13:24 +0300 Subject: [PATCH] little fixes --- install.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.rb b/install.rb index 2a84c1532e..de6b83c560 100644 --- a/install.rb +++ b/install.rb @@ -20,9 +20,10 @@ if env == "production" else `bundle install` end - + # migrate db -`bundle exec rake db:setup RAILS_ENV=#{env}` +`bundle exec rake db:create RAILS_ENV=#{env}` +`bundle exec rake db:schema:load RAILS_ENV=#{env}` `bundle exec rake db:seed_fu RAILS_ENV=#{env}` puts green %q[