Skip to content

Instantly share code, notes, and snippets.

@carvalhoviniciusluiz
Last active September 6, 2016 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carvalhoviniciusluiz/5ed4c7a3c33ff96f5e907c99070128b6 to your computer and use it in GitHub Desktop.
Save carvalhoviniciusluiz/5ed4c7a3c33ff96f5e907c99070128b6 to your computer and use it in GitHub Desktop.
Correction of the Config::CONFIG in watcher
# first install the gem
gem install watchr
# then find the gem watchr
locate watchr
# open the file watchr.rb
subl ~/.rvm/gems/ruby-2.3.1/gems/watchr-0.7/lib/watchr.rb
# rewrite the line
111: case ENV['HANDLER'] || Config::CONFIG['host_os']
# for
111: case ENV['HANDLER'] || RbConfig::CONFIG['host_os']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment