Skip to content
Browse files

switch to RbConfig

  • Loading branch information...
1 parent 46513f9 commit 07108030b344521e830031c00d0321a4e52b7b36 @tenderlove tenderlove committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -98,8 +98,8 @@ end
task 'gem:spec' => [ GENERATED_PARSER, GENERATED_TOKENIZER ]
file GENERATED_PARSER => "lib/nokogiri/css/parser.y" do |t|
- racc = Config::CONFIG['target_os'] =~ /mswin32/ ? '' : `which racc`.strip
- racc = "#{::Config::CONFIG['bindir']}/racc" if racc.empty?
+ racc = RbConfig::CONFIG['target_os'] =~ /mswin32/ ? '' : `which racc`.strip
+ racc = "#{::RbConfig::CONFIG['bindir']}/racc" if racc.empty?
sh "#{racc} -l -o #{t.name} #{t.prerequisites.first}"
end

0 comments on commit 0710803

Please sign in to comment.
Something went wrong with that request. Please try again.