提交 8275b659 编写于 作者: S Sam Ruby

Use latest web-console when using --dev or --edge

Fixes:

http://intertwingly.net/projects/AWDwR4/checkdepot-215/makedepot.log
上级 350c42c9
......@@ -111,6 +111,7 @@ def gemfile_entries
jbuilder_gemfile_entry,
sdoc_gemfile_entry,
psych_gemfile_entry,
console_gemfile_entry,
@extra_entries].flatten.find_all(&@gem_filter)
end
......@@ -261,6 +262,15 @@ def sdoc_gemfile_entry
GemfileEntry.new('sdoc', '~> 0.4.0', comment, group: :doc)
end
def console_gemfile_entry
comment = 'Use Rails Console on the Browser'
if options.dev? || options.edge?
GemfileEntry.github 'web-console', 'rails/web-console', comment
else
[]
end
end
def coffee_gemfile_entry
comment = 'Use CoffeeScript for .coffee assets and views'
if options.dev? || options.edge?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册