Sha256: 99a36a81f6d9fcade2129541d1be83afb796aa0b068d8fed6974552cded8380d
Contents?: true
Size: 950 Bytes
Versions: 25
Compression:
Stored size: 950 Bytes
Contents
#!/bin/bash --login # USE THIS SCRIPT WHEN UPGRADING VERSIONS IN Gemfile if [[ -d '/opt/pwn' ]]; then pwn_root='/opt/pwn' else pwn_root="${PWN_ROOT}" fi source /etc/profile.d/rvm.sh ruby_version=`cat ${pwn_root}/.ruby-version` ruby_gemset=`cat ${pwn_root}/.ruby-gemset` rvm use ruby-$ruby_version@global rvm gemset --force delete $ruby_gemset if [[ -f "${pwn_root}/Gemfile.lock" ]]; then rm $pwn_root/Gemfile.lock fi rvm use ruby-$ruby_version@$ruby_gemset --create export rvmsudo_secure_path=1 rvmsudo gem install bundler if [[ $(uname -s) == "Darwin" ]]; then bundle config build.pg --with-pg-config=/opt/local/lib/postgresql96/bin/pg_config # bundle config build.serialport \ # --with-cflags=-Wno-implicit-function-declaration \ # --with-cflags=-Wno-int-conversion fi # bundle config build.serialport --with-cflags=-Wno-int-conversion bundle install # bundle install --full-index rvm --default ruby-$ruby_version@$ruby_gemset
Version data entries
25 entries across 25 versions & 1 rubygems