Giter VIP home page Giter VIP logo

Comments (6)

etagwerker avatar etagwerker commented on August 10, 2024

@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:

  1. Add next_rails to your Gemfile
  2. Run bundle install
  3. 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.

prateekvyas2121 avatar prateekvyas2121 commented on August 10, 2024

i did the exact same although..but there's not a significant difference!

from next_rails.

etagwerker avatar etagwerker commented on August 10, 2024

@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.

fbuys avatar fbuys commented on August 10, 2024

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.

fbuys avatar fbuys commented on August 10, 2024

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.

etagwerker avatar etagwerker commented on August 10, 2024

@buys-fran Got it, thanks!

from next_rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.