summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter Boling <peter.boling@gmail.com>2015-10-22 23:44:26 -0700
committerPeter Boling <peter.boling@gmail.com>2015-10-22 23:44:26 -0700
commit635d7c8923abd539e2d261d003e47f7007ae0e7e (patch)
tree065b76fb7fea4585239d5c185b6d0aa48ee81709 /bin
parent5c276eb1c3d17b20a9568ac4d48925c2fe1cfb4c (diff)
downloadhashie-635d7c8923abd539e2d261d003e47f7007ae0e7e.tar.gz
Default bin scripts from bundle gem command: bin/console and bin/setup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/console14
-rwxr-xr-xbin/setup7
2 files changed, 21 insertions, 0 deletions
diff --git a/bin/console b/bin/console
new file mode 100755
index 0000000..5704fda
--- /dev/null
+++ b/bin/console
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+
+require "bundler/setup"
+require "hashie"
+
+# You can add fixtures and/or initialization code here to make experimenting
+# with your gem easier. You can also use a different console, if you like.
+
+# (If you use this, don't forget to add pry to your Gemfile!)
+# require "pry"
+# Pry.start
+
+require "irb"
+IRB.start
diff --git a/bin/setup b/bin/setup
new file mode 100755
index 0000000..b65ed50
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -euo pipefail
+IFS=$'\n\t'
+
+bundle install
+
+# Do any other automated setup that you need to do here