-
Notifications
You must be signed in to change notification settings - Fork 97
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
Trouble with the bump subcommand #143
Comments
@jmreicha the examples in the README (https://github.com/jonlives/knife-spork#spork-bump) show all of the permutations - can you elaborate a little more on exactly what issues you're having please? |
Hmm, I must be missing something. For example, if I run (from the cookbook directory I'm working on)
I get the following:
Thanks for the prompt response. |
@jmreicha I'd hazard a guess that it's not finding your cookbook where it expects to. Could you please let me know what versions of Ruby / Chef / knife-spork you're using and gist the output of "knife spork info" please? |
Sure, no problem. ruby -v chef -v chef-client -v gem list | grep spork knife spork gist - https://gist.github.com/jmreicha/79586aa9057394dfee70 Interestingly enough, I tried running knife spork on Ubuntu and got a different result. |
@jonlives Just a quick update. From my Ubuntu machine (inside the cookbook directory I'm working on):
My Berksfile looks like this:
No ChefDK installed. |
I'm having the same issue... Chef Development Kit Version: 0.3.2 ruby -vruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] knife spork infoConfig Hash: Plugins: |
I face the exact same issue when trying to bump the version. Tried several options with the cookbook path, but each time the same error:
|
@dpnl87 could you run knife with the -VV option and paste the stack trace it gave you please? |
@jonlives I've Gist it: https://gist.github.com/dpnl87/56b1cac983365a3fe1ad |
@dpnl87 brilliant thanks - I'll get this fixed and out in the next release, this month hopefully. |
@dpnl87 or @jmreicha I'm trying to get my info straight to replicate this. Could you please confirm / deny the following?
|
@jonlives I get |
@dpnl87 thanks for clarifying - I'll look into this. |
@jmreicha would you be able to gist the verbose output when you get the |
Bumping this from "1.5.0" to "Next Release" milestone |
@jmreicha any possibility you could post the above requested output please? Would like to get a fix for this out in next version if possible. |
@jonlives I haven't looked at this in a looooong time. I'll see if I can still get it to error but I may not be the best tester at this point. |
@jmreicha no worries! |
I'm having trouble getting the
knife spork bump
command to work on a local cookbook.Is there an example somewhere for how to use this correctly?
The text was updated successfully, but these errors were encountered: