Create a new Rails app off of rails master using rails new
bin/rails action_text:install as described on the Edge Guides.
Rails should run the ActionText generator. Note that on master@e53f5ff, I was able to run the generator after overcoming the issue described in #37824.
$ bin/rails action_text:install
Don't know how to build task 'app:binstub:yarn' (See the list of available tasks with `rails --tasks`)
(See full trace by running task with --trace)
Rails version: master@942c41806443
Ruby version: 2.7.1
The text was updated successfully, but these errors were encountered:
Follow-up to rails#40143.
Rails Rake tasks are loaded for each new `Rake::Application` instance
via `Rails.application.load_tasks`. However, under the hood,
`Rails.application.load_tasks` used `require` instead of `load`, which
caused Rails tasks to be loaded for only the first `Rake::Application`
This commit changes the relevant `require` to `load`.
@abhaynikam In this case, I don't think #39317 would have helped because it stubs the call to app:binstub:yarn. But I think it would be nice to have more test coverage anyway, so I left a few comments there. 👍