Add bundler as a dependency and default to generating a Gemfile.

This commit is contained in:
Ben Hollis 2012-03-18 19:04:22 -06:00
parent 276e6562dd
commit a07df582c3
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"])