bjarosze / riot_js-rails

Muut Riot integration with Rails
28 stars 14 forks source link

Cannot require `tag` files on application.js #15

Closed guizero closed 8 years ago

guizero commented 8 years ago

Well, I have added the gem to the gemfile, runned bundle and added riot and riot_rails to the application.js (in my case, application.coffee).

Now I am struggling to add the tag I have just created to the application.coffee file. I've added it to the root of my assets/javascripts folder with the name mytag.tag and then required it like #= mytag, but that does not seem to work, event after adding the js.tag extension.

Any help?

brauliobo commented 8 years ago

try gem riot_js-rails instead