Skip to content

Commit

Permalink
Merge pull request #179 from grahamlyons/patch-1
Browse files Browse the repository at this point in the history
Added troubleshooting section to readme
  • Loading branch information
jonlives committed Mar 5, 2015
2 parents 6c539f0 + 4dd49fd commit 476596f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,3 +502,13 @@ knife spork environment delete
knife spork environment edit
knife spork environment from file
```

Troubleshooting
---------------
If you get an error when running `knife spork <command>` and the message shown when running with the `-VV` flag contains:
```ruby
undefined method `gsub' for #<Pathname:0x00000002d3a6b0> (NoMethodError)
```
...then you are probably using `Librarian::Chef.install_path()` in your `knife.rb` file.

To fix this you need to call `.to_s` on the install path, i.e. ``Librarian::Chef.install_path().to_s`.

0 comments on commit 476596f

Please sign in to comment.