We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40c248 commit 27bc1b0Copy full SHA for 27bc1b0
exe/rspec
@@ -0,0 +1,25 @@
1
+#!/usr/bin/env ruby
2
+
3
+begin
4
+ require 'rspec/autorun'
5
+rescue LoadError
6
+ $stderr.puts <<-EOS
7
+#{'*'*50}
8
+ Could not find 'rspec/autorun'
9
10
+ This may happen if you're using rubygems as your package manager, but it is not
11
+ being required through some mechanism before executing the rspec command.
12
13
+ You may need to do one of the following in your shell:
14
15
+ # for bash/zsh
16
+ export RUBYOPT=rubygems
17
18
+ # for csh, etc.
19
+ set RUBYOPT=rubygems
20
21
+ For background, please see http://gist.github.com/54177.
22
23
+ EOS
24
+ exit(1)
25
+end
0 commit comments