poise / halite

Write as a gem, release as a cookbook.
https://github.com/poise/halite
Apache License 2.0
42 stars 9 forks source link

Getting an error while trying to use halite extension in berkshelf #4

Closed dorongutman closed 8 years ago

dorongutman commented 8 years ago

I've installed the halite gem and added extension 'halite' to the top of the Berksfile file, but running berks update give the following error: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-4.0.1/lib/berkshelf/berksfile.rb:89:inrescue in extension': Could not load an extension by the name halite'. Please make sure it is installed. (LoadError)

coderanger commented 8 years ago

As I mentioned on the other ticket, you need to follow all of the instructions. Either install halite with chef gem install (which I don't test or support) or learn to use Bundler. There is a really low chance that using a pre release of one of my cookbooks is a good idea.

dorongutman commented 8 years ago

I've tried both gem install halite and adding the gem to the Gemfile and running bundle install. None of these worked.

And the reason I need to use a branch of one of your cookbooks is that there's a pull request pending without any resolution on it for the past month - https://github.com/poise/application_ruby/pull/83

coderanger commented 8 years ago

@dorongutman Make a subclass in your own cookbook rather than trying to run from a fork.

dorongutman commented 8 years ago

Can you explain that please ? How do I do that ?

On Tuesday, 17 May 2016, Noah Kantrowitz notifications@github.com wrote:

@dorongutman https://github.com/dorongutman Make a subclass in your own cookbook rather than trying to run from a fork.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/poise/halite/issues/4#issuecomment-219562532

Sent from a mobile thingy Please excuse typos