Commit a136247fea5ef65a697b1551b3d281d97387f3ef
1 parent
4fe65eb4
Exists in
master
and in
4 other branches
easy update/install
Showing
2 changed files
with
2 additions
and
5 deletions
Show diff stats
install.rb
@@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0]) | @@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0]) | ||
14 | 14 | ||
15 | puts green " == Install for ENV=#{env} ..." | 15 | puts green " == Install for ENV=#{env} ..." |
16 | 16 | ||
17 | -# pull from github | ||
18 | -`git pull origin 1x` | ||
19 | - | ||
20 | # bundle install | 17 | # bundle install |
21 | if env == "production" | 18 | if env == "production" |
22 | `bundle install --without development test` | 19 | `bundle install --without development test` |
update.rb
@@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0]) | @@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0]) | ||
12 | "production" | 12 | "production" |
13 | end | 13 | end |
14 | 14 | ||
15 | -puts green " == Update for ENV=#{env} from 1x" | 15 | +puts green " == Update for ENV=#{env}" |
16 | 16 | ||
17 | # pull from github | 17 | # pull from github |
18 | -`git pull origin 1x` | 18 | +`git pull` |
19 | 19 | ||
20 | # bundle install | 20 | # bundle install |
21 | if env == "production" | 21 | if env == "production" |