mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Add bundler as a dependency and default to generating a Gemfile.
This commit is contained in:
parent
276e6562dd
commit
a07df582c3
2 changed files with 2 additions and 1 deletions
|
@ -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