Sha256: 95e388775234ea99aad65a557ecdaf8f67ee8297cc1ae6b5130dcf29b3aa7a6e

Contents?: true

Size: 553 Bytes

Versions: 6

Compression:

Stored size: 553 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 'rubygems' -r 'active_record' -r '#{File.dirname(__FILE__) + '/../lib/ssn.rb'}' -r '#{File.dirname(__FILE__) + '/environment'}' -r '#{File.dirname(__FILE__) + '/seed'}'"

puts "Loading ssn gem"
exec "#{irb} #{libs} --simple-prompt"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ssn-1.0.2 script/console
ssn-1.0.1 script/console
ssn-1.0.0 script/console
ssn-0.3.0 script/console
ssn-0.2.0 script/console
ssn-0.1.0 script/console