lib/coderunner.rb in coderunner-0.14.14 vs lib/coderunner.rb in coderunner-0.14.15
- old
+ new
@@ -367,10 +367,11 @@
# puts Log.log_file
end
end
def self.run_script
+ set_default_command_options_from_command_line
if DEFAULT_COMMAND_OPTIONS[:Z]
DEFAULT_COMMAND_OPTIONS.absorb(eval(DEFAULT_COMMAND_OPTIONS[:Z]))
puts "Begin Output"
end
command = COMMANDS.find{|com| com.slice(0..1).include? ARGV[0]}
@@ -387,10 +388,10 @@
load CodeRunner::SCRIPT_FOLDER + "/interactive_methods.rb"
$stderr.puts unless $has_put_startup_message_for_code_runner
$has_put_startup_message_for_code_runner = true
-CodeRunner.set_default_command_options_from_command_line
+#CodeRunner.set_default_command_options_from_command_line
do_profile = (ENV['CODE_RUNNER_PROFILE'] and ENV['CODE_RUNNER_PROFILE'].size > 0) ? ENV['CODE_RUNNER_PROFILE'] : false