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

View file

@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0])
puts green " == Install for ENV=#{env} ..." puts green " == Install for ENV=#{env} ..."
# pull from github
`git pull origin 1x`
# bundle install # bundle install
if env == "production" if env == "production"
`bundle install --without development test` `bundle install --without development test`

View file

@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0])
"production" "production"
end end
puts green " == Update for ENV=#{env} from 1x" puts green " == Update for ENV=#{env}"
# pull from github # pull from github
`git pull origin 1x` `git pull`
# bundle install # bundle install
if env == "production" if env == "production"