Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ end

def ruby
require 'rbconfig'
File.join([Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']]) << Config::CONFIG['EXEEXT']
File.join([RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']]) << RbConfig::CONFIG['EXEEXT']
end

# --------------------------------------------------
Expand All @@ -22,7 +22,7 @@ namespace(:test) do

desc "Run all tests on multiple ruby versions (requires rvm)"
task(:portability) do
%w( 1.8.6 1.8.7 1.9.1 1.9.2 ).each do |version|
%w( 1.8.6 1.8.7 1.9.1 1.9.2 1.9.3 ).each do |version|
system <<-BASH
bash -c 'source ~/.rvm/scripts/rvm;
rvm #{version};
Expand Down
2 changes: 1 addition & 1 deletion lib/watchr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def debug(msg)
#
def handler
@handler ||=
case ENV['HANDLER'] || Config::CONFIG['host_os']
case ENV['HANDLER'] || RbConfig::CONFIG['host_os']
when /darwin|mach|osx|fsevents?/i
if Watchr::HAVE_FSE
Watchr::EventHandler::Darwin
Expand Down