Sha256: d8656c2ede43cef0d6ec405a13b8a0c820d575ebbfe08e61979bb6aa0f64bc8e

Contents?: true

Size: 752 Bytes

Versions: 3

Compression:

Stored size: 752 Bytes

Contents

#!/usr/local/bin/ruby
# require File.join(File.dirname(__FILE__), "options_handler")

require File.join(File.dirname(__FILE__), '..', 'lib', 'gems')

require 'rubygems'

require File.expand_path(File.join(File.dirname(__FILE__), "env_handler.rb"))

require File.expand_path(File.join(File.dirname(__FILE__), "gem_load_path.rb"))

libs = []
libs << "-r irb/completion"
mack_lib_path = File.expand_path(File.join(FileUtils.pwd, 'vendor', 'framework', 'mack', 'lib', 'mack'))

if File.exists?(mack_lib_path)
  libs << "-r #{File.expand_path(File.join(mack_lib_path, 'boot', 'console'))}"  
else
  libs << "-r #{File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'mack', 'boot', 'console'))}"
end
system "irb #{libs.join(" ")} --simple-prompt"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mack-0.8.2 bin/mackery-console
mack-0.8.3 bin/mackery-console
mack-0.8.3.1 bin/mackery-console