Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

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

Closed
dorongutman opened this issue May 15, 2016 · 4 comments
Closed

Comments

@dorongutman
Copy link

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
Copy link
Member

coderanger commented May 15, 2016

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
Copy link
Author

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 - poise/application_ruby#83

@coderanger
Copy link
Member

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

@dorongutman
Copy link
Author

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

On Tuesday, 17 May 2016, Noah Kantrowitz [email protected] 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
#4 (comment)

Sent from a mobile thingy
Please excuse typos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants