Comments (6)
@prateekvyas2121 Thanks for reporting this! Could you confirm what version of next_rails
you are using? Are you using v1.0.2?
One thing that you might want to try is this:
- Add
next_rails
to your Gemfile - Run
bundle install
- Run your test suite with
bundle exec
DEPRECATION_TRACKER=save bundle exec rspec
I just tested the same command in one of my OSS projects (https://github.com/fastruby/points) and it seems to work fine.
from next_rails.
i did the exact same although..but there's not a significant difference!
from next_rails.
@prateekvyas2121 Could you please share your Gemfile
over here? I just tested this in one of my OSS Rails projects (https://github.com/fastruby/points) and it works fine: https://gist.github.com/etagwerker/4c56ab6cb66c1c88712c955d5467e549
You can see what my Gemfile looks like over here: https://github.com/fastruby/points/blob/main/Gemfile#L96-L98
Also, could you please share a backtrace over here? (not just the error message: uninitialized constant DeprecationTracker
)
from next_rails.
I am seeing the same error. I have attached the gemfile.
If it helps I am running on OSS with ruby '2.6.5'.
Backtrace: https://gist.github.com/buys-fran/7e15ca06ec001b5d1446750097eccb20
Gemfile: https://gist.github.com/buys-fran/89692fe823a7edc19b64e8ab3009cb9f
from next_rails.
I think we can close this issue. I found the problem.
According to the readme here: https://github.com/fastruby/next_rails#deprecation-tracking
If you're using RSpec, add this snippet to rails_helper.rb or spec_helper.rb (whichever loads Rails).
Once I moved the snippit to my rails_helper it worked perfectly.
from next_rails.
@buys-fran Got it, thanks!
from next_rails.
Related Issues (20)
- [BUG] Deprecation Tracker is not working correctly in Rails 4.2 HOT 1
- [REQUEST] Make next_rails compatible with older ruby versions HOT 3
- [REQUEST] Release next version of the gem HOT 2
- [BUG] Tests run twice for PRs
- [REQUEST] Make next_rails compatible with Ruby older than 2.0 HOT 1
- Question: Why do I need next_rails? HOT 4
- [BUG] Coverage reporting for the test suite is inaccurate
- [BUG] undefined local variable or method `latest_version` HOT 2
- Using next_rails on Heroku HOT 20
- [BUG] bundle_report outdated is raising an exception HOT 1
- [BUG] `undefined method 'version' for nil:NilClass` when running `bundle_report compatibility` HOT 4
- [BUG] Update Documentation for Test Deprecation testing
- [BUG] `KernelWarnTracker#warn` signature is incorrect HOT 5
- [BUG] bundle_report outdated/compatibility --json returns invalid option: --json HOT 2
- [REQUEST] A command to `promote` the next rails version HOT 3
- [BUG] Update list of Rails gems to include actionmailbox and actiontext
- [BUG] Fix ERB deprecation warning in Ruby 3.1
- [BUG] bundle_report compatibility failed in Ruby 2.5
- [REQUEST] Support parallel testing HOT 2
- [BUG] ERB fails to process template with `trim_mode: "-"`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next_rails.