From a07df582c319a7f8068b63e605a1aa8d8c828359 Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Sun, 18 Mar 2012 19:04:22 -0600 Subject: [PATCH] Add bundler as a dependency and default to generating a Gemfile. --- middleman-core/lib/middleman-core/templates.rb | 2 +- middleman-core/middleman-core.gemspec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/templates.rb b/middleman-core/lib/middleman-core/templates.rb index 707e1866..95d0f461 100644 --- a/middleman-core/lib/middleman-core/templates.rb +++ b/middleman-core/lib/middleman-core/templates.rb @@ -51,7 +51,7 @@ module Middleman::Templates end # Output a Gemfile file for Bundler if --bundler is passed - class_option :bundler, :type => :boolean, :default => false + class_option :bundler, :type => :boolean, :default => true # Write a Bundler Gemfile file for project # @return [void] diff --git a/middleman-core/middleman-core.gemspec b/middleman-core/middleman-core.gemspec index 0fc120a0..458f761d 100644 --- a/middleman-core/middleman-core.gemspec +++ b/middleman-core/middleman-core.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |s| s.require_path = "lib" # Core + s.add_dependency("bundler", ["~> 1.0"]) s.add_dependency("rack", ["~> 1.4.0"]) s.add_dependency("tilt", ["~> 1.3.1"])