aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-07-13 14:11:40 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-07-13 14:11:40 +0900
commitc6e66d599d97c854f9f1ff4a1479bc2b40a37437 (patch)
tree2b20d982a4947f32d874a2465432c4b1c39e3f4f /bin
downloadplum-c6e66d599d97c854f9f1ff4a1479bc2b40a37437.tar.gz
initial commit
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..7de9cc5
--- /dev/null
+++ b/bin/console
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+
+require "bundler/setup"
+require "plum"
+
+# 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