# File lib/ramaze/bin/console.rb, line 64 def run(argv = []) @options.parse!(argv) start_file = argv.delete_at(0) start_file = File.join(Dir.pwd, 'start.rb') if start_file.nil? if File.directory?(start_file) start_file = File.join(start_file, 'start.rb') end if !File.exist?(start_file) abort "The file #{start_file} does not exist" end start_file = Pathname.new(start_file).realpath.to_s Ramaze.options.started = true require(start_file) IRB.start puts 'Ramazement has ended, go in peace.' end