Skip to content

Instantly share code, notes, and snippets.

@kristianfreeman
Created August 5, 2012 19:54
Show Gist options
  • Save kristianfreeman/3266920 to your computer and use it in GitHub Desktop.
Save kristianfreeman/3266920 to your computer and use it in GitHub Desktop.
Fix for @ttscoff's Slogger and Ruby 1.9
#!/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')
@kristianfreeman
Copy link
Author

ftools was deprecated and replaced with fileutils in Ruby 1.9. For all intents and purposes here, a renaming is good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment