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

librarian-chef error "Could not resolve the dependencies." #16

Open
chaoranxie opened this issue Dec 9, 2012 · 4 comments
Open

librarian-chef error "Could not resolve the dependencies." #16

chaoranxie opened this issue Dec 9, 2012 · 4 comments

Comments

@chaoranxie
Copy link

for some reason librarian-chef is not resolving the dependencies. Cheffile shown below

#!/usr/bin/env ruby
#^syntax detection

site 'http://community.opscode.com/api/v1'

cookbook 'rvm_passenger',
  :git => 'https://github.com/fnichol/chef-rvm_passenger', :ref => 'v0.8.2'

@chaoranxie
Copy link
Author

This will resolved. but the nginx "0.101.6" cookbook that it resolved give me and error when i try to run rvm_passenger::nginx

   
cookbook 'rvm',
    :git => 'https://github.com/fnichol/chef-rvm'
cookbook 'rvm_passenger',
  :git => 'https://github.com/fnichol/chef-rvm_passenger', :ref => 'v0.8.2'

@chaoranxie
Copy link
Author

but this will not so i had to manually download the right nginx cookbooks because the one automatically resolved by librarian-chef does not work. the nginx cookbook result in the auto dependencies is nginx "0.101.6"

cookbook 'nginx',
    :git => 'https://github.com/opscode-cookbooks/nginx', :ref => '1.1.0'
    
cookbook 'rvm',
    :git => 'https://github.com/fnichol/chef-rvm'
cookbook 'rvm_passenger',
  :git => 'https://github.com/fnichol/chef-rvm_passenger', :ref => 'v0.8.2'
 

@chrisbloom7
Copy link

FYI - resolved by bumping the versions in the metadata file

chrisbloom7@c16314c

@shayneoneill
Copy link

I'm getting this error (from a vagrant install) and I have no goddamn idea how to debug it.

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

3 participants