Permalink
Browse files

Use FileUtils::RUBY instead of RUBY in the Rakefile, to work with rak…

…e 0.9
  • Loading branch information...
1 parent 548158d commit fe3705b040cd425032404b3b42ae721bf2b8e1f2 @jeremyevans committed Oct 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -55,7 +55,7 @@ end
desc "Make local version of website"
task :website do
- sh %{#{RUBY} www/make_www.rb}
+ sh %{#{FileUtils::RUBY} www/make_www.rb}
end
desc "Make rdoc for website"
@@ -161,5 +161,5 @@ end
desc "Check syntax of all .rb files"
task :check_syntax do
- Dir['**/*.rb'].each{|file| print `#{RUBY} -c #{file} | fgrep -v "Syntax OK"`}
+ Dir['**/*.rb'].each{|file| print `#{FileUtils::RUBY} -c #{file} | fgrep -v "Syntax OK"`}
end

0 comments on commit fe3705b

Please sign in to comment.