Forráskód Böngészése

Ruby/* Install bundles to $IROOT (#2812)

Nate 8 éve
szülő
commit
185b347fff

+ 1 - 1
frameworks/Ruby/grape/run_mri_puma.sh

@@ -4,6 +4,6 @@ fw_depends mysql rvm ruby-2.4
 
 
 sed -i 's|  host:.*|  host: '"${DBHOST}"'|g' config/database.yml
 sed -i 's|  host:.*|  host: '"${DBHOST}"'|g' config/database.yml
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/grape/bundle
 
 
 rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &
 rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &

+ 1 - 1
frameworks/Ruby/grape/run_mri_thin.sh

@@ -4,6 +4,6 @@ fw_depends mysql rvm ruby-2.4
 
 
 sed -i 's|  host:.*|  host: '"${DBHOST}"'|g' config/database.yml
 sed -i 's|  host:.*|  host: '"${DBHOST}"'|g' config/database.yml
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/grape/bundle
 
 
 rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &
 rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &

+ 1 - 1
frameworks/Ruby/grape/run_mri_unicorn.sh

@@ -7,6 +7,6 @@ sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/grape/bundle
 
 
 rvm ruby-$MRI_VERSION do bundle exec unicorn -E production -c config/unicorn.rb &
 rvm ruby-$MRI_VERSION do bundle exec unicorn -E production -c config/unicorn.rb &

+ 1 - 1
frameworks/Ruby/hanami/run_mri_puma.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.4
 fw_depends mysql rvm ruby-2.4
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/hanami/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &

+ 1 - 1
frameworks/Ruby/hanami/run_mri_thin.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.4
 fw_depends mysql rvm ruby-2.4
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/hanami/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &

+ 1 - 1
frameworks/Ruby/hanami/run_mri_unicorn.sh

@@ -4,7 +4,7 @@ fw_depends mysql rvm ruby-2.4 nginx
 
 
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/hanami/bundle
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 

+ 1 - 1
frameworks/Ruby/padrino/run_mri_puma.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.2
 fw_depends mysql rvm ruby-2.2
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/padrino/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -C config/puma.rb -w 8 --preload &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -C config/puma.rb -w 8 --preload &

+ 1 - 1
frameworks/Ruby/padrino/run_thin.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.2
 fw_depends mysql rvm ruby-2.2
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/padrino/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &

+ 1 - 1
frameworks/Ruby/padrino/run_unicorn.sh

@@ -4,7 +4,7 @@ fw_depends mysql rvm nginx ruby-2.2
 
 
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/padrino/bundle
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 

+ 1 - 1
frameworks/Ruby/rack-sequel/config/bundle_install.sh

@@ -3,4 +3,4 @@
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 rm -f $TROOT/Gemfile.lock
 rm -f $TROOT/Gemfile.lock
 
 
-bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rack-sequel/bundle

+ 1 - 1
frameworks/Ruby/rack/run_mri_puma.sh

@@ -4,6 +4,6 @@ fw_depends mysql rvm ruby-2.4
 
 
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rack/bundle
 
 
 rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &
 rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &

+ 1 - 1
frameworks/Ruby/rack/run_mri_thin.sh

@@ -4,6 +4,6 @@ fw_depends mysql rvm ruby-2.4
 
 
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rack/bundle
 
 
 rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &
 rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &

+ 1 - 1
frameworks/Ruby/rack/run_mri_unicorn.sh

@@ -5,7 +5,7 @@ fw_depends mysql rvm nginx ruby-2.4
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rack/bundle
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 

+ 1 - 1
frameworks/Ruby/rails-stripped/setup_ruby.sh

@@ -5,7 +5,7 @@ fw_depends mysql rvm ruby-2.0 nginx
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' config/database.yml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' config/database.yml
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rails-stripped/bundle
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 

+ 1 - 1
frameworks/Ruby/rails/run_mri_puma.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.4
 fw_depends mysql rvm ruby-2.4
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rails/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &

+ 1 - 1
frameworks/Ruby/rails/run_mri_thin.sh

@@ -2,6 +2,6 @@
 
 
 fw_depends mysql rvm ruby-2.4
 fw_depends mysql rvm ruby-2.4
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rails/bundle
 
 
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &
 DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec thin start -C config/thin.yml &

+ 1 - 1
frameworks/Ruby/rails/run_mri_unicorn.sh

@@ -4,7 +4,7 @@ fw_depends mysql rvm ruby-2.4 nginx
 
 
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
 
-rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/rails/bundle
 
 
 nginx -c $TROOT/config/nginx.conf
 nginx -c $TROOT/config/nginx.conf
 
 

+ 1 - 1
frameworks/Ruby/roda-sequel/config/bundle_install.sh

@@ -3,4 +3,4 @@
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 rm -f $TROOT/Gemfile.lock
 rm -f $TROOT/Gemfile.lock
 
 
-bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/roda-sequel/bundle

+ 1 - 1
frameworks/Ruby/sinatra-sequel/config/bundle_install.sh

@@ -3,4 +3,4 @@
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 rm -f $TROOT/Gemfile.lock
 rm -f $TROOT/Gemfile.lock
 
 
-bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/sinatra-sequel/bundle

+ 1 - 1
frameworks/Ruby/sinatra/config/bundle_install.sh

@@ -3,4 +3,4 @@
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 # Ensure we don't accidentally (try to) use gems for the wrong platform.
 rm -f $TROOT/Gemfile.lock
 rm -f $TROOT/Gemfile.lock
 
 
-bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
+bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=$IROOT/sinatra/bundle