Sha256: 0501e4c2a0c1c336938a8244e0d40c8f575256b1878f56f1dd015a4a6f38d8ab
Contents?: true
Size: 631 Bytes
Versions: 58
Compression:
Stored size: 631 Bytes
Contents
#!/usr/bin/env ruby # File: script/console irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' ENV["RUBYLIB"] = "lib" libs = " -r irb/completion" libs << " -r #{File.dirname(__FILE__) + '/../spec/spec_helper'}" #libs << " -r rubygems" # libs << " -r #{File.dirname(__FILE__) + '/../lib/active_fedora.rb'}" # Perhaps use a console_lib to store any extra methods I may want available in the cosole # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}" # libs << " -r #{File.dirname(__FILE__) + '/../lib/afed-regem.rb'}" # puts "Loading afed-regem gem" exec "#{irb} #{libs} --simple-prompt"
Version data entries
58 entries across 58 versions & 1 rubygems