about summary refs log tree commit diff
path: root/bin/rspec
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-16 07:42:45 -0400
committerEugen <eugen@zeonfederated.com>2017-04-16 13:42:45 +0200
commit13b11ddc8ca48ed44996b097e94f40f05a146fc1 (patch)
treec302ef9eeed24195c7e9d6fed01f47cd951f1fda /bin/rspec
parentf2997c9715a54c28dc4a8669920237b34b2a475e (diff)
Add binstub for rspec from rspec-core (#1913)
Diffstat (limited to 'bin/rspec')
-rwxr-xr-xbin/rspec17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/rspec b/bin/rspec
new file mode 100755
index 000000000..d738b23c0
--- /dev/null
+++ b/bin/rspec
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+# frozen_string_literal: true
+#
+# This file was generated by Bundler.
+#
+# The application 'rspec' is installed as part of a gem, and
+# this file is here to facilitate running it.
+#
+
+require "pathname"
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
+  Pathname.new(__FILE__).realpath)
+
+require "rubygems"
+require "bundler/setup"
+
+load Gem.bin_path("rspec-core", "rspec")