-
Notifications
You must be signed in to change notification settings - Fork 170
Foodcritic not running correctly after installing 0.2.2 msi on windows 7 #165
Comments
Does |
Does not appear so...
|
So I did have 2.0.0 ruby installed on my machine so I uninstalled it and removed old ruby from environment path. I was then getting
So I changed C:\opscode\chefdk\bin\foodcritic.bat to
and then foodcritic works
|
Also had to change bin files to get |
Looks like the chef exec command is screwing up the path environment variable: Notice there is a ":" between each of the opscode freshly added paths: |
This is a generic pathing problem - not foodcritic related. |
Correct, this line needs to be using the ruby |
Getting gem load error when trying to run
foodcritic
. I am under impression this should work after installing the msi.
'``C:\Users\poliva.RIMNET>foodcritic -h C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/dependency.rb:296:in
to_specs': Could not find 'foodcritic' (>= 0) among 9 total gem(s) (Gem::LoadError)
from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/dependency.rb:307:in
to_spe c' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in
gem'from C:/opscode/chefdk/bin/foodcritic:22:in `
I tested
kitchen
berks
chef-client
chef-solo
chef-apply
commands and then all seem to be working fine.The text was updated successfully, but these errors were encountered: