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

Version Path
active-fedora-3.2.0 script/console
active-fedora-3.1.6 script/console
active-fedora-3.2.0.pre7 script/console
active-fedora-3.2.0.pre6 script/console
active-fedora-3.2.0.pre5 script/console
active-fedora-3.2.0.pre4 script/console
active-fedora-3.2.0.pre3 script/console
active-fedora-3.2.0.pre2 script/console
active-fedora-3.2.0.pre1 script/console
active-fedora-3.1.5 script/console
active-fedora-3.1.4 script/console
active-fedora-3.1.3 script/console
active-fedora-3.1.2 script/console
active-fedora-3.1.1 script/console
active-fedora-3.1.0 script/console
active-fedora-3.1.0.rc4 script/console
active-fedora-3.1.0.rc3 script/console
active-fedora-3.1.0.rc2 script/console
active-fedora-3.1.0.rc1 script/console
active-fedora-3.1.0.pre14 script/console