Git Product home page Git Product logo

chef_gem's Issues

Workaround for CHEF-3164

We got bit by the issue that is fixed by CHEF-3164 in Chef 10.14.0. I propose adding a workaround to the chef_gem cookbook for earlier versions of Chef by executing Gem.clear_paths in the after_created resource hook before the actions are executed.

require 'xxxxx' not working after chef_gem :install on Chef 0.9.15.5 running on Amazon OpsWorks

I keep getting the following error on Amazon OpsWorks when using the rvm chef recipe.

The error is:

[Wed, 24 Apr 2013 01:49:40 +0000] ERROR: Caught exception during execution of custom recipe: rvm::system: LoadError - no such file to load -- rvm - /opt/aws/opsworks/current/site-cookbooks/rvm/recipes/default.rb:26:in `require'

And the default.rb looks like this:

chef_gem 'rvm' do
  action :install
  version '>= 1.11.3.6'
end

require 'rvm'  # <===== Line 26

Any idea what might be going on?

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.