Sha256: ed325cb72939a6278f28d2c33ea6d8f9f1d87d6f68c674caf31858306baac019
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' unless defined?(Gem) # Useful only on --dev mode require 'bundler' begin Bundler.setup(:default) rescue Bundler::GemfileNotFound # We're operating outside of a site dir, probably generating a site # so load the Spontaneous gem Gemfile ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__) retry rescue Bundler::GemNotFound => e STDERR.puts e.message STDERR.puts "Try running `bundle install`." exit! end spot_path = File.expand_path('../../lib', __FILE__) $:.unshift(spot_path) if File.directory?(spot_path) && !$:.include?(spot_path) require 'spontaneous/cli' Spontaneous::Cli::Runner.start(ARGV)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spontaneous-0.2.0.alpha4 | bin/spot |
spontaneous-0.2.0.alpha3 | bin/spot |