Created
August 5, 2012 19:54
-
-
Save kristianfreeman/3266920 to your computer and use it in GitHub Desktop.
Fix for @ttscoff's Slogger and Ruby 1.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| # Fix for Slogger and Ruby 1.9 | |
| # | |
| # require 'ftools' | |
| # | |
| require 'fileutils' | |
| curloc = File.expand_path(File.dirname(__FILE__)) | |
| unless File.exists?(curloc+'/slogger_config') |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ftoolswas deprecated and replaced withfileutilsin Ruby 1.9. For all intents and purposes here, a renaming is good enough.