lib/coderunner.rb in coderunner-0.11.7 vs lib/coderunner.rb in coderunner-0.11.8

- old
+ new

@@ -7,9 +7,14 @@ # Basic class setup require 'rubygems' require "rubyhacks" + + +#Create the coderunner config directory if it doesn't exist +FileUtils.makedirs(ENV['HOME'] + "/.coderunner") + class CodeRunner COMMAND_FOLDER = Dir.pwd SCRIPT_FOLDER = File.dirname(File.expand_path(__FILE__)) + '/coderunner' #i.e. where this script is