This gem integrates Emerald.js with your Rails application automagically.
Add this line to your application's Gemfile:
And then execute:
before your own scripts:
//= require emerald
Then run the Rails generator:
$ rails generate emerald:install
If you want to nest the news directories, say in the admin/ directory, use instead:
$ rails generate emerald:install admin
This will create the following directories:
For instructions on how to use Emerald.js, visit its page, https://github.com/kurko/emerald.js.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
This software is released under the MIT License.