Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial setup issues? #2

Open
paulmakl opened this issue Feb 10, 2015 · 1 comment
Open

Initial setup issues? #2

paulmakl opened this issue Feb 10, 2015 · 1 comment

Comments

@paulmakl
Copy link

Tried to get this plugin up and running, but seem to be having issues. Not sure if It is me or the plugin.

Some info about my system:
Running Yosemite

ruby --version
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin12.0]
berks --version
3.2.3

Here is some initial information about my initial setup.
I Created a basic cookbook foo by running the following command.

berks cookbook foo

Edited my Gemfile to look like this ...

source 'https://rubygems.org'
gem 'berkshelf'
gem 'berkshelf-hg'
gem "test-kitchen"
gem "kitchen-vagrant"'''

I then ran...

bundle
...
Using berkshelf 3.2.3
Using berkshelf-hg 0.1.0
...

Edited my Berksfile to look like this

source "https://supermarket.chef.io"
extension 'hg'
metadata
cookbook 'custom_bar', hg: 'https://hg.foocorp.com/cool_cookbooks/foo'

I run berks install and get the following message.

Required artifacts do not exist at the desired version
Missing artifacts: custom_bar
Unable to find a solution for demands: foo (0.1.0), custom_bar (>= 0.0.0)

Is there some crucial step that I am missing here? I copy and pasted the address "https://hg.foocorp.com/cool_cookbooks/foo" into a browser and there is a valid mercurial repository there. Any help would be much appreciated.

@paulmakl paulmakl changed the title Am I doing something stupid in initial setup? Initial setup issues? Feb 10, 2015
@academy-jtran
Copy link
Contributor

I figured out the problem was due to a bug in HgError

#4

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

No branches or pull requests

2 participants