Skip to content

Conversation

GabrielLidenor
Copy link

Summary

package_json is a required gem for react_on_rails, if you don't have it in your Gemfile you will face the following error:

/Users/your_user/.rbenv/versions/3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in require': cannot load such file -- package_json (LoadError)

Other Information

N/A

Pull Request checklist

  • Add/update test to cover these changes
  • Update documentation
  • Update CHANGELOG file

package_json gem is required to run the command rails g react_on_rails:install
@Judahmeek
Copy link
Collaborator

package_json is not a required gem for react_on_rails.

It is, however, a required gem for shakapacker, which you may have tried installing at the same time.

@Judahmeek Judahmeek closed this Jul 28, 2025
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

Successfully merging this pull request may close these issues.

2 participants