zmbush / coffeelint-ruby

This adds some simple bindings to ruby to enable use of coffeelint
MIT License
32 stars 23 forks source link

Check if Rails::Railtie class is defined #8

Closed josh closed 10 years ago

josh commented 10 years ago

Old versions of Rails don't support Railtie. Which breaks simply requiring coffeelint.

Usually gems with railties suggest users do an explicit railtie require in their Gemfile like.

# Gemfile
gem "coffeelint", require: "coffeelint/railtie"

But that would be a backwards incompatible change.

zmbush commented 10 years ago

Thanks for the catch

josh commented 10 years ago

Thanks!