zmbush / coffeelint-ruby

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

Fix assignment of gem files in the gemspec. #29

Closed msalzburg closed 9 years ago

msalzburg commented 9 years ago

While depending on a local checkout (during development), bundle install reported an invalid gemspec:

coffeelint at (...) did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
  ["coffeelint/lib/coffeelint.js"] are not files
gem.files        << 'coffeelint/lib/coffeelint.js'

Since rubygems does not allow to append to the files accessor (http://guides.rubygems.org/specification-reference/#files), the coffeelint/lib/coffeelint.js was not available during install.