Sha256: 982e43a38d517db746014cbf4ebcaaa4b0f560bf467b84102c972067ef739121
Contents?: true
Size: 570 Bytes
Versions: 5
Compression:
Stored size: 570 Bytes
Contents
require 'rbconfig' require 'bookshop/error' require 'bookshop/script_bookshop_loader' # If we are inside a Bookshop project this method performs an exec and thus # the rest of this script is not run. Bookshop::ScriptBookshopLoader.exec_script_bookshop! bookshop_path = File.expand_path('../../lib', __FILE__) $:.unshift(bookshop_path) if File.directory?(bookshop_path) && !$:.include?(bookshop_path) require 'bookshop/ruby_version_check' Signal.trap("INT") { puts; exit } begin require 'bookshop/commands/application' rescue Bookshop::Error => e puts e.message end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
bookshop-0.1.8 | lib/bookshop.rb |
bookshop-0.1.7 | lib/bookshop.rb |
bookshop-0.1.6 | lib/bookshop.rb |
bookshop-0.1.5 | lib/bookshop.rb |
bookshop-0.1.4 | lib/bookshop.rb |