1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

Fixes:

http://intertwingly.net/projects/AWDwR4/checkdepot-215/makedepot.log
This commit is contained in:
Sam Ruby 2014-12-05 11:18:18 -05:00
parent 350c42c92e
commit 8275b65987

View file

@ -111,6 +111,7 @@ module Rails
jbuilder_gemfile_entry,
sdoc_gemfile_entry,
psych_gemfile_entry,
console_gemfile_entry,
@extra_entries].flatten.find_all(&@gem_filter)
end
@ -261,6 +262,15 @@ module Rails
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?