Almond for Rails
Usage
In your Gemfile:
gem 'almond-rails'
Then add to app/assets/javascripts/application.js
:
//= require almond
Then you can use the require
method in your es6 javascript:
var module = require('path/to/module/my_class')
new module.MyClass()