News for hackers. Stuff that matters.
Re:Rails Assets: frictionless proxy between Bundler and Bower by teamon on Thursday December 12, 2013 @09:34AM (#6894582)
There are various solutions to managing assets in a rails application but we didn't like any of them. The one you linked to requires having separate list of dependencies and using bower directly which means hacking standard rails deployment.
Re:Rails Assets: frictionless proxy between Bundler and Bower by bigtunacan on Thursday December 12, 2013 @10:33AM (#6894931)
Love it. Keeping JavaScript libraries up to date in Rails can be a real pain and the sprockets solution just isn't all that great. I like how you have approached this with a dead simple approach to implementation and integrating with the existing tooling (bundler/Gemfile). Good work!
Re:Rails Assets: frictionless proxy between Bundler and Bower by joshpeek on Thursday December 12, 2013 @11:08AM (#6895144)
This doesn't replace Sprockets at all, but integrates with it. It replaces bower "installer" with a pure ruby dependency. Sprocket still handles the runtime operation.
Re:Rails Assets: frictionless proxy between Bundler and Bower by bigtunacan on Thursday December 12, 2013 @01:16PM (#6896031)
joshpeek, I wasn't suggesting this replaces sprockets. I was saying that the sprockets/bower integration out of the box isn't all that great, and this seems like a useful tool to help improve the situation of a common problem.