Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel generator fails if coffee-rails installed #115

Open
atstockland opened this issue May 22, 2019 · 1 comment
Open

Channel generator fails if coffee-rails installed #115

atstockland opened this issue May 22, 2019 · 1 comment

Comments

@atstockland
Copy link

atstockland commented May 22, 2019

Steps to reproduce

Create a new rails 6 app. Run "bin/rails g channel message". The generator will complete successfully. Add coffee-rails gem, bundle, then re-run the channel generator command. The generator should fail with:

  "Could not find "javascript/channel.coffee" in any of your source paths."   ....

This may or may not be related to 24245

Expected behavior

A generated room_channel.coffee script file, or fallback room_channel.js file in app/javascript/channels

Actual behavior

The channel generator seems to be attempting to generate a coffee file, but fails.

System configuration

Rails version: Rails 6.0.0.rc1

Ruby version: ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]

@rafaelfranca rafaelfranca transferred this issue from rails/rails May 23, 2019
@okuramasafumi
Copy link

How can we resolve this? I encounter this problem with rails 6.0.2.2 and coffee-rails 5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants