summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-14 17:26:35 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-14 17:26:35 +0300
commit06f72627a04d54d2be5289dff9882850e2d48077 (patch)
tree5acab7732a50a99772ece5c0e677ff94b914b63d
parentc040af634c2693d717038f9cf53174bbffdb3255 (diff)
downloadgitlab-ce-06f72627a04d54d2be5289dff9882850e2d48077.tar.gz
w/o option was a bad idea
-rw-r--r--install.rb4
-rw-r--r--update.rb5
2 files changed, 0 insertions, 9 deletions
diff --git a/install.rb b/install.rb
index de6b83c5601..a118cb5d6f1 100644
--- a/install.rb
+++ b/install.rb
@@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0])
puts green " == Install for ENV=#{env} ..."
# bundle install
-if env == "production"
-`bundle install --without development test`
-else
`bundle install`
-end
# migrate db
`bundle exec rake db:create RAILS_ENV=#{env}`
diff --git a/update.rb b/update.rb
index 9dae135e47e..d7eec2898b2 100644
--- a/update.rb
+++ b/update.rb
@@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}"
# pull from github
`git pull`
-# bundle install
-if env == "production"
-`bundle install --without development test`
-else
`bundle install`
-end
# migrate db
`bundle exec rake db:migrate RAILS_ENV=#{env}`