Sha256: bbeb03cd9d21f2a9574a0e4f363277f46163e8f2aa4afc5eec3df4ed470188b9

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 Bytes

Contents

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

libs =  " -r irb/completion"
# 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/cafepress-search.rb'}"
puts "Loading cafepress-search gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cafepress-search-1.1.0 script/console
cafepress-search-1.0.2 script/console
cafepress-search-1.0.1 script/console
cafepress-search-1.0.0 script/console