-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActiveSupport not loading properly/completely #21
Comments
Running with Ruby 2.2.0, Rails 4.2.0, Rspec-Rails 3.1.0 (rspec-core 3.1.7), produces an `uninitialized constant ActiveSupport::Deprecation` error because the `active_support/deprecation` is not being loaded. This addresses issue rspec#21
Fix for rspec#21
+1 Stack here: https://gist.github.com/timharding/40433fd3a8a81361a444 Can confirm that the patch above solves for me. |
refs #5 * 非 HTML ファイルでは Content-Type と Content-Length を返信に含めるようにした * テスト時に ActiveSupport の読み込みでエラーが起きないよう spec_helper.rb で activesupport/all を読み込むようにした rspec/rspec-autotest#21 を参照
Any plans to release a new version with this fix? Are there issues with Rails 3 compatibility? |
I believe it's just necessary to find the deprecations so this part of active support isn't needed, or add just the deprecations library, we certainly don't want all included here, PRs are accepted but I don't have the bandwidth to work on this myself currently. |
Running with ruby 2.2.0, rails 4.2.0, rspec-rails 3.1.0 (rspec-core 3.1.7), rspec-autotest 1.0.0.
On running autotest, this produces an
uninitialized constant ActiveSupport::Deprecation
error.active_support/deprecation
is not being loaded. The stack trace is showing this hitting atlib/rspec/rails/autotest.rb:26
.When I replaced the line (26):
with:
I was able to run my full test suite without any problems.
The text was updated successfully, but these errors were encountered: