Skip to content

Commit

Permalink
Prevent Rouge 1.9.1 from matching gem requirements
Browse files Browse the repository at this point in the history
It winds up loading the same file twice,
causing constants to be redefined,
which causes warnings to print every time it is run.
See rouge-ruby/rouge#296 for more details.
  • Loading branch information
JoshCheek committed Aug 17, 2015
1 parent 4582d25 commit f89c789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion what_weve_got_here_is_an_error_to_communicate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.homepage = 'https://github.com/JoshCheek/what-we-ve-got-here-is-an-error-to-communicate'

s.add_runtime_dependency 'rouge', '~> 1.8'
s.add_runtime_dependency 'rouge', '~> 1.8', '!= 1.9.1'

s.add_development_dependency 'rspec', '~> 3.2'
s.add_development_dependency 'haiti', '< 0.3', '>= 0.2.0'
Expand Down

0 comments on commit f89c789

Please sign in to comment.