Please use https://github.com/hotwired/stimulus-rails
If you still depend on this gem - install from github
gem 'stimulus-rails', github: 'Paxa/stimulus-rails'
Integrates Stimulus with the rails asset pipeline.
A modest JavaScript framework for the HTML you already have.
Add this line to your application's Gemfile:
gem "stimulus-rails"
And then execute:
$ bundle
To import all assets in your Rails project, add the following line to your application.js:
//= require stimulus
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request