Giter VIP home page Giter VIP logo

Comments (3)

Flamefork avatar Flamefork commented on July 22, 2024

Sometimes it's critical to build exact patchlevel. And really, -p0 is way too old and have many bugs (for example, with yaml merging)

from roundsman.

leonid-shevtsov avatar leonid-shevtsov commented on July 22, 2024
  1. There are PPAs (apt repositories) for more recent versions of Ruby, such as http://wiki.brightbox.co.uk/docs:ruby-ng, which (as of now) has the latest and greatest Ruby 1.9.3 p194.

  2. For Ruby projects: Assuming your chef recipes are going to install RVM to make upgrading Ruby easier, and then build the specific version of Ruby that the project requires, it really makes no sense to build another version for Chef when we can just use the system-provided one. I'm fairly sure Chef is tested on common system rubies.

  3. For non-Ruby projects: we care about the Ruby version even less.

from roundsman.

leonid-shevtsov avatar leonid-shevtsov commented on July 22, 2024

Fortunately, the installation method is completely configurable.

set :care_about_ruby_version, :false
set :ruby_dependencies, %w(build-essential)
set :ruby_install_script, "apt-get install -q -y ruby1.9.1 ruby1.9.1-dev"

(Ruby itself doesn't need build-essential, but it's required to compile Chef dependencies).

But even this is not the optimal approach!

Chef has official packages available for Debian/Ubuntu. It only makes sense to use them instead of mucking around with ruby-build, gem installs and such.

from roundsman.

Related Issues (11)

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.