Coder Social home page Coder Social logo

Comments (3)

wlads avatar wlads commented on June 16, 2024

You can safely rewrite the executable. Volt uses Bundler. It will use the right version of the rake gem when using bundle exec volt ...

By safely I mean after installing the new executable of rake, running rake will still use the most recent version see:

gem list | grep rake
# rake (10.4.2)
rake --version
# rake, version 10.4.2
gem install volt
# install volt overwriting the executable
gem list | grep rake
# rake (10.4.2, 10.0.4)
rake --version
# rake, version 10.4.2

This will become a nasty bug if running volt new sample_project call's rake and your (newer) version has some incompatibility with that one required by the gem.

Inspecting Gemfile.lock after generating an app you will see that when prepended with bundle exec the rake version used by volt will be 10.0.4 as they expected.

Hope this helps!

PS: Volt is not Rails!

from volt.

ryanstout avatar ryanstout commented on June 16, 2024

Like @wlads said, you can overwrite if you want. Volt doesn't use rake in project generation, and when you run rake inside of a project, you should use bundle exec Thanks!

from volt.

leroyg avatar leroyg commented on June 16, 2024

@wlads thank you very much and @ryanstout likewise - appreciate the help.

from volt.

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.