Git Product home page Git Product logo

Comments (4)

tricon avatar tricon commented on August 14, 2024

Some more info: The MD5 in projectile-rails.el generates to 5ec93fb2bb467fd62b52e4a2394e2fef while Spring is running under 3238bc9416e2554452b850f5e31dedb3.

from projectile-rails.

tricon avatar tricon commented on August 14, 2024

Found the culprit: https://github.com/rails/spring/pull/356/files#diff-c8e0d3462e1616cacd72d7217ffb2af3R41

Spring's TMP path includes the Ruby version.

from projectile-rails.

asok avatar asok commented on August 14, 2024

Thanks for reporting and digging it. The thing is I do not use spring so it's hard for me to spot such issues.

Right now user has to be explicit about using a pre-loader (either by manually starting zeus or spring). I think it's a good thing. At least with zeus, I've found myself in situations when ActiveRecord had some quirks in pre-loaded environment. I had to stop zeus and re-ran a rake task in order for my code to work.

We could add a boolean variable for user to set if he wants to use spring. But it would be cumbersome if someone is working on many projects simultaneously. Another option is to ask bundler if spring (or zeus) is present in the Gemfile. But as I've stated before I like the explicitness of the current solution.

For now I think I could patch the code to check for both checksums (for old and new versions of spring).
@tricon what do you think?

from projectile-rails.

tricon avatar tricon commented on August 14, 2024

I do think the explicitness is wise, in retrospect. If we could add a checksum for the new version, that would be the simplest solution.

On Jan 2, 2015, at 5:43 AM, Adam Sokolnicki [email protected] wrote:

Thanks for reporting and digging it. The thing is I do not use spring so it's hard for me to spot such issues.

Right now user has to be explicit about using a pre-loader (either by manually starting zeus or spring). I think it's a good thing. At least with zeus, I've found myself in situations when ActiveRecord had some quirks in pre-loaded environment. I had to stop zeus and re-ran a rake task in order for my code to work.

We could add a boolean variable for user to set if he wants to use spring. But it would be cumbersome if someone is working on many projects simultaneously. Another option is to ask bundler if spring (or zeus) is present in the Gemfile. But as I've stated before I like the explicitness of the current solution.

For now I think I could patch the code to check for both checksums (for old and new versions of spring).
@tricon https://github.com/tricon what do you think?


Reply to this email directly or view it on GitHub #48 (comment).

from projectile-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.