Sha256: 7057ef120f93133b54c52ff6f57b3542d8933efebfece7ba934d1be4127bb59c

Contents?: true

Size: 574 Bytes

Versions: 60

Compression:

Stored size: 574 Bytes

Contents

#!/bin/sh
if [ -z "$1" ]; then
  echo "Please specify the remote server name"
  exit 1
fi
mkdir -p tmp
if ls vendor/gems/*/*.gemspec > /dev/null 2>&1; then
  tar cf tmp/gemfiles_for_remote_install Gemfile Gemfile.lock vendor/gems
else
  tar cf tmp/gemfiles_for_remote_install Gemfile Gemfile.lock
fi
scp tmp/gemfiles_for_remote_install $1:~
stty_orig=`stty -g`
stty -echo
ssh -t $1 "mkdir /tmp/install_gems; mv gemfiles_for_remote_install /tmp/install_gems; cd /tmp/install_gems; tar xf gemfiles_for_remote_install; bundle install; rm -rf /tmp/install_gems"
stty $stty_orig

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
geordi-0.18.0 bin/install-gems-remotely.sh
geordi-0.17.4 bin/install-gems-remotely.sh
geordi-0.17.3 bin/install-gems-remotely.sh
geordi-0.16.3 bin/install-gems-remotely.sh
geordi-0.16.2 bin/install-gems-remotely.sh
geordi-0.16.1 bin/install-gems-remotely.sh
geordi-0.16.0 bin/install-gems-remotely.sh
geordi-0.15.7 bin/install-gems-remotely.sh
geordi-0.15.6 bin/install-gems-remotely.sh
geordi-0.15.5 bin/install-gems-remotely.sh
geordi-0.15.4 bin/install-gems-remotely.sh
geordi-0.15.3 bin/install-gems-remotely.sh
geordi-0.15.2 bin/install-gems-remotely.sh
geordi-0.15.1 bin/install-gems-remotely.sh
geordi-0.15.0 bin/install-gems-remotely.sh
geordi-0.14.9 bin/install-gems-remotely.sh
geordi-0.14.8 bin/install-gems-remotely.sh
geordi-0.14.7 bin/install-gems-remotely.sh
geordi-0.14.6 bin/install-gems-remotely.sh
geordi-0.14.5 bin/install-gems-remotely.sh