use bundler for my fave gems

Tue, 16 Feb 2016 20:37:06 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 16 Feb 2016 20:37:06 -0500
changeset 257
99af51c16d24
parent 256
17a5684bfb9c
child 258
599c509f134c

use bundler for my fave gems

.Gemfile file | annotate | diff | comparison | revisions
bin/homedir-gems file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.Gemfile
@@ -0,0 +1,5 @@
+source 'https://rubygems.org'
+
+gem 'git-up'
+gem 'pry'
+gem 'httparty'
--- a/bin/homedir-gems
+++ b/bin/homedir-gems
@@ -1,11 +1,4 @@
 #!/bin/sh
 set -eu
 
-GEMS="pry git-up"
-
-if which pry >/dev/null; then
-  gem update $GEMS
-else
-  gem install $GEMS
-fi
-
+exec bundle install --system --jobs=2 --gemfile=~/.Gemfile

mercurial