Closed macite closed 8 years ago
The changes also avoids the warning about open-ended dependencies:
WARNING: open-ended dependency on rails (>= 3.0.0) is not recommended
So building the gem should be warning free:
Successfully built RubyGem
Name: rails-latex
Version: 2.0.1
File: rails-latex-2.0.1.gem
I've been using this gem with Rails 4, but the dependencies for version 2.0.0 explicitly require version 3, and as a result, the dependency stops the gem being installed in Rails 4.
This change ensures the dependency allows the gem to work with both Rails 3 and 4.