Sha256: 9fe05b53aa56cb702e30de902ed26e4960c3f11cda053b8e480ac4c68ea84078

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

#!/bin/sh
if ls vendor/gems/*/*.gemspec > /dev/null 2>&1; then
  tar cf tmp/gemfiles_for_remote_install Gemfile Gemfile.lock vendor/gems/*/*.gemspec
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

6 entries across 6 versions & 1 rubygems

Version Path
geordi-0.2.3 bin/install-gems-remotely.sh
geordi-0.2.2 bin/install-gems-remotely.sh
geordi-0.2.1 bin/install-gems-remotely.sh
geordi-0.2.0 bin/install-gems-remotely.sh
geordi-0.1.1 bin/install-gems-remotely
geordi-0.1.0 bin/install-gems-remotely