Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-14 18:13:24 +0400
committergitlabhq <m@gitlabhq.com>2011-10-14 18:13:24 +0400
commit6a60365fedffda4ee51e6f717c2b8a57da8f315a (patch)
treef6414cb4ecaa11477f79d501f5758dbad9b59d74 /install.rb
parenta136247fea5ef65a697b1551b3d281d97387f3ef (diff)
little fixes
Diffstat (limited to 'install.rb')
-rw-r--r--install.rb5
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[