Commit 42b136f5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

easy update/install

parent e57c831b
...@@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0]) ...@@ -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`
......
...@@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0]) ...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment