Encore App in Rails