chef-rvm_passenger icon indicating copy to clipboard operation
chef-rvm_passenger copied to clipboard

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

Open chaoranxie opened this issue 13 years ago • 4 comments

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 avatar Dec 09 '12 02:12 chaoranxie

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 avatar Dec 09 '12 17:12 chaoranxie

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'
 

chaoranxie avatar Dec 09 '12 17:12 chaoranxie

FYI - resolved by bumping the versions in the metadata file

https://github.com/chrisbloom7/chef-rvm_passenger/commit/c16314cc2a132315380fcce2042cad8abf9234dd

chrisbloom7 avatar Mar 05 '15 01:03 chrisbloom7

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

shayneoneill avatar Apr 12 '16 08:04 shayneoneill