Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
added a commit
this pull request
Nov 6, 2015
Nov 6, 2015
Prior to this commit there did not seem to be a dependency on the rails pipeline; I have it in the ember-cli pipeline managed by broccoli. I am just in the process of getting that to work however so I am not sure that is true but it looks that way. I'm working with a version just prior to this commit. I'm also working in parallel on putting this latest version into a test example served by rails views and I will see if I can then leverage that.…
On Nov 12, 2015, at 9:28 AM, Javan Makhmali ***@***.*** wrote: Perhaps you can lean on your Rails backend to compile the cable js for you? How were you building the js before this commit? — Reply to this email directly or view it on GitHub.
It uses a mix of bower, npm and broccoli for different purposes. The net-net though is that there's no ERB preprocessor so actioncable's embedding the internal references in cable.coffee.erb requires sprockets to be in the pipeline somewhere.
Fortunately for me, there is ember-cli-rails which serves ember-cli based clients via the rails asset pipeline -- after some fiddling and cursing I managed to get this working :)
That's a good suggestion; perhaps that should go in the doc as well.