easy update/install

This commit is contained in:
gitlabhq
2011-10-14 17:01:59 +03:00
parent 4fe65eb4bc
commit a136247fea
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0])
puts green " == Install for ENV=#{env} ..."
# pull from github
`git pull origin 1x`
# bundle install
if env == "production"
`bundle install --without development test`
+2 -2
View File
@@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0])
"production"
end
puts green " == Update for ENV=#{env} from 1x"
puts green " == Update for ENV=#{env}"
# pull from github
`git pull origin 1x`
`git pull`
# bundle install
if env == "production"