]> cat aescling's git repositories - mastodon.git/commitdiff
Add binstub for rspec from rspec-core (#1913)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sun, 16 Apr 2017 11:42:45 +0000 (07:42 -0400)
committerEugen <eugen@zeonfederated.com>
Sun, 16 Apr 2017 11:42:45 +0000 (13:42 +0200)
bin/rspec [new file with mode: 0755]

diff --git a/bin/rspec b/bin/rspec
new file mode 100755 (executable)
index 0000000..d738b23
--- /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")