bin/brief in brief-1.9.4 vs bin/brief in brief-1.9.6
- old
+ new
@@ -1,12 +1,17 @@
#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__),'..','lib')
-require 'rubygems'
+begin
+ require 'bundler'
+ Bundler.require
+rescue
+ require 'rubygems'
+end
+
require 'brief'
require 'brief/dsl'
-
if ARGV[0] == "console"
require 'pry'
$briefcase = Brief::Briefcase.new(root: Brief.pwd)
Pry.start($briefcase)