News for hackers. Stuff that matters.
Re:Rails API is coming to Rails 5 by andyl on Tuesday April 21, 2015 @01:07PM (#9415453)
What is the best Rails solution for javascript modules and package management these days??
Re:Rails API is coming to Rails 5 by kennethtransier on Tuesday April 21, 2015 @01:13PM (#9415491)
I'm a huge fan of https://rails-assets.org/. Requests components from the Bower registry and packages them as gems.
Re:Rails API is coming to Rails 5 by eggbrain on Tuesday April 21, 2015 @01:10PM (#9415470)
Probably https://rails-assets.org/, you add it as a source in your Gemfile and then add gems based on the scheme "gem 'rails-assets-BOWER_PACKAGE_NAME'"
Re:Rails API is coming to Rails 5 by grandalf on Tuesday April 21, 2015 @06:31PM (#9417578)
I recommend just using webpack or browserify... the workflow supports super fast on-the-fly bundling. Most reasonably large Rails apps end up embedding v8 anyway.
Re:Rails API is coming to Rails 5 by geoffharcourt on Tuesday April 21, 2015 @01:34PM (#9415641)
I've used a few different approaches, and Rails-Assets works really well both from an ease-of-use and dependency version management standpoint.