Merge pull request #318 from bhollis/bundler
Add bundler as a dependency and default to generating a Gemfile
This commit is contained in:
commit
53db5689c7
|
@ -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]
|
||||||
|
|
|
@ -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"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue