Merge pull request #318 from bhollis/bundler

Add bundler as a dependency and default to generating a Gemfile
This commit is contained in:
Thomas Reynolds 2012-03-20 10:49:38 -07:00
commit 53db5689c7
2 changed files with 2 additions and 1 deletions

View file

@ -51,7 +51,7 @@ module Middleman::Templates
end end
# Output a Gemfile file for Bundler if --bundler is passed # 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 # Write a Bundler Gemfile file for project
# @return [void] # @return [void]

View file

@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.require_path = "lib" s.require_path = "lib"
# Core # Core
s.add_dependency("bundler", ["~> 1.0"])
s.add_dependency("rack", ["~> 1.4.0"]) s.add_dependency("rack", ["~> 1.4.0"])
s.add_dependency("tilt", ["~> 1.3.1"]) s.add_dependency("tilt", ["~> 1.3.1"])