Thanks for sharing your code! I'll share a note: while installing I had to manually create the channels directories.
% rails optimism:install
rails aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - ./app/javascript/channels/optimism_channel.js
... bin/rails:9:in `<top (required)>'
... bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => optimism:install
(See full trace by running task with --trace)
% mkdir app/javascript/channels
% rails optimism:install
=> app/javascript/channels/optimism_channel.js created
rails aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - ./app/channels/optimism_channel.rb
... bin/rails:9:in `<top (required)>'
... bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => optimism:install
(See full trace by running task with --trace)
Thanks for sharing your code! I'll share a note: while installing I had to manually create the
channels
directories.Thanks again!