Sha256: 2c99ab2177c11905ae55f9f429a77d99f974bdd24077817d76302be6f082d4cc

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

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

libs = ""
Dir.glob(File.expand_path("#{File.dirname(__FILE__)}/../lib/sites/*.rb")).each do |file|
  libs << " -r '#{file}'"
end

ENV['TAZA_ENV'] = ARGV.first || ENV['TAZA_ENV'] || 'isolation'
exec "#{irb} #{libs} --simple-prompt"

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
scudco-taza-0.8.7 lib/app_generators/taza/templates/console.erb
taza-0.9.0 lib/app_generators/taza/templates/console.erb
taza-0.8.7 lib/app_generators/taza/templates/console.erb