Sha256: d02da2a682401eb9c79c82da9b13cb5dfe9bec76e4b854ba67ab9be5a09cdb07

Contents?: true

Size: 760 Bytes

Versions: 93

Compression:

Stored size: 760 Bytes

Contents

#!/bin/bash --login
# USE THIS SCRIPT WHEN UPGRADING VERSIONS IN Gemfile
if [[ $MESHTASTIC_ROOT == '' ]]; then
  if [[ ! -d '/opt/meshtastic' ]]; then
    mesh_root=$(pwd)
  else
    mesh_root='/opt/meshtastic'
  fi
else
  mesh_root="${MESHTASTIC_ROOT}"
fi

if [[ -f '/etc/profile.d/rvm.sh' ]]; then
  source /etc/profile.d/rvm.sh
fi

ruby_version=`cat ${mesh_root}/.ruby-version`
ruby_gemset=`cat ${mesh_root}/.ruby-gemset`
rvm use ruby-$ruby_version@global
rvm gemset --force delete $ruby_gemset
if [[ -f "${mesh_root}/Gemfile.lock" ]]; then
  rvmsudo rm $mesh_root/Gemfile.lock
fi

rvm use ruby-$ruby_version@$ruby_gemset --create
export rvmsudo_secure_path=1
rvmsudo gem install bundler
rvmsudo bundle install
rvm --default ruby-$ruby_version@$ruby_gemset

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
meshtastic-0.0.120 reinstall_meshtastic_gemset.sh
meshtastic-0.0.119 reinstall_meshtastic_gemset.sh
meshtastic-0.0.118 reinstall_meshtastic_gemset.sh
meshtastic-0.0.117 reinstall_meshtastic_gemset.sh
meshtastic-0.0.116 reinstall_meshtastic_gemset.sh
meshtastic-0.0.115 reinstall_meshtastic_gemset.sh
meshtastic-0.0.114 reinstall_meshtastic_gemset.sh
meshtastic-0.0.113 reinstall_meshtastic_gemset.sh
meshtastic-0.0.112 reinstall_meshtastic_gemset.sh
meshtastic-0.0.111 reinstall_meshtastic_gemset.sh
meshtastic-0.0.110 reinstall_meshtastic_gemset.sh
meshtastic-0.0.109 reinstall_meshtastic_gemset.sh
meshtastic-0.0.108 reinstall_meshtastic_gemset.sh
meshtastic-0.0.107 reinstall_meshtastic_gemset.sh
meshtastic-0.0.106 reinstall_meshtastic_gemset.sh
meshtastic-0.0.105 reinstall_meshtastic_gemset.sh
meshtastic-0.0.104 reinstall_meshtastic_gemset.sh
meshtastic-0.0.103 reinstall_meshtastic_gemset.sh
meshtastic-0.0.102 reinstall_meshtastic_gemset.sh
meshtastic-0.0.101 reinstall_meshtastic_gemset.sh