diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-14 18:13:24 +0400 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-14 18:13:24 +0400 |
commit | 6a60365fedffda4ee51e6f717c2b8a57da8f315a (patch) | |
tree | f6414cb4ecaa11477f79d501f5758dbad9b59d74 /install.rb | |
parent | a136247fea5ef65a697b1551b3d281d97387f3ef (diff) |
little fixes
Diffstat (limited to 'install.rb')
-rw-r--r-- | install.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install.rb b/install.rb index 2a84c1532e6..de6b83c5601 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[ |