Sha256: 7a2700ca9d22476e1ebdc4c5659ec1f6802700a0f4a38e9af7e6818064353c74

Contents?: true

Size: 609 Bytes

Versions: 20

Compression:

Stored size: 609 Bytes

Contents

#!/usr/bin/env ruby
# File: script/console
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'

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

20 entries across 20 versions & 1 rubygems

Version Path
active-fedora-1.2.7 script/console
active-fedora-1.2.6 script/console
active-fedora-1.2.5 script/console
active-fedora-1.2.4 script/console
active-fedora-1.2.3 script/console
active-fedora-1.2.2 script/console
active-fedora-1.2.1 script/console
active-fedora-1.2.0 script/console
active-fedora-1.1.13 script/console
active-fedora-1.1.11 script/console
active-fedora-1.1.9 script/console
active-fedora-1.1.8 script/console
active-fedora-1.1.7 script/console
active-fedora-1.1.6 script/console
active-fedora-1.1.5 script/console
active-fedora-1.1.4 script/console
active-fedora-1.1.4.pre2 script/console
active-fedora-1.1.2 script/console
active-fedora-1.1.1 script/console
active-fedora-1.1.0 script/console