Permalink
Browse files

remotely-gems-remotely: fix for vendored bundler gems

  • Loading branch information...
1 parent 05aa957 commit 02b28154fd9d4b635613ca4a57d58dbab65b6852 @martin-straub martin-straub committed Aug 11, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/install-gems-remotely.sh
  2. +1 −1 lib/geordi/version.rb
@@ -5,12 +5,12 @@ if [ -z "$1" ]; then
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/*/*.gemspec
+ 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
+stty $stty_orig
View
@@ -1,3 +1,3 @@
module Geordi
- VERSION = '0.4.5'
+ VERSION = '0.4.6'
end

0 comments on commit 02b2815

Please sign in to comment.