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
Dependency Resolution Broken on Windows 7 #140
Comments
I'll take a look and see if I can reproduce this |
Cool, thanks! Btw: is there a debug switch that I could turn on for more logging output? |
No - what kind of information are you looking for? |
Nothing specifically, just some kind of debug logging if you will. Thought there might be |
Just tried
@reset : could you reproduce this on a Windows box? |
I haven't had a chance to attempt to reproduce it just yet. I don't have immediate access to Windows machines - I unfortunately need to go find one. |
@tknerr I'm unable to reproduce this with a new Berkshelf cookbook with metadata depending on nagios, or just an empty directory with the Berksfile above. Could you push a repo that recreates the issue? |
Just cloned master today, built the gem and followed the first three steps of http://berkshelf.com/, which is probably the most simple scenario. I'm running
Then edit the
Then again I get the same issue upon
If its not something specific to my Windows 7 64-Bit installation, I suspect it might be some "bad" dependencies in my Here's my |
I could finally trace it down to this line: It seems that I get a Permission Denied error when moving the file from the temporary location to the berkshelf: |
No clue why, but
On the other hand, doing an explicit copy / delete works:
|
This seems to be a common issue under windows, which could be caused by a virus scanner, as I read from here: http://www.ruby-forum.com/topic/1044813 |
Merged changes from @tknerr and closing. If this is still a problem please re-open the issue. |
Hey guys,
following the awesome cookbook authoring guide from Jamie Winsor I git stuck after adding the
depends "artifact", "~> 0.10.7"
tpmetadata.rb
.What I got on the next
bundle exec vagrant provision
is this:Next I tried
berks install
but got the same problem:My
Berksfile
looks like this:and this is my
metadata.rb
:I have tried several things like using
site 'http://cookbooks.opscode.com/api/v1/cookbooks'
instead ofsite :opscode
, using a different cookbook ("mysql") with and without version constraints, but it didn't make a difference.Am I doing something wrong?
Windows7 64-Bit, Ruby 1.9.3p125, berkshelf 0.6.0.beta1
The text was updated successfully, but these errors were encountered: