Fix uninitialized constant Minitest::Spec (NameError) in rails #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This fixes error
uninitialized constant Minitest::Spec (NameError)
when I use this gem in my rails app.Stack Trace:
/Users/hendrauzia/sandbox/[redacted]/.bundle/gems/minitest-around-0.3.0/lib/minitest/around/spec.rb:6:in
'<top (required)>': uninitialized constant Minitest::Spec (NameError) from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/minitest-around-0.3.0/lib/minitest/around.rb:2:in
require'from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/minitest-around-0.3.0/lib/minitest/around.rb:2:in
<top (required)>' from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:85:in
require'from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:85:in
rescue in block in require' from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:68:in
block in require'from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:61:in
each' from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:61:in
require'from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler.rb:134:in
require' from /Users/hendrauzia/sandbox/[redacted]/config/application.rb:15:in
<top (required)>'from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:82:in
require' from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:82:in
preload'from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:143:in
serve' from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:131:in
block in run'from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:125:in
loop' from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application.rb:125:in
run'from /Users/hendrauzia/sandbox/[redacted]/.bundle/gems/spring-1.3.1/lib/spring/application/boot.rb:18:in
<top (required)>' from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'from /Users/hendrauzia/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require' from -e:1:in