0.0
No commit activity in last 3 years
No release in over 3 years
Brings Emerald.js into your Rails app automagically
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 3.1
 Project Readme

emerald-rails gem

This gem integrates Emerald.js with your Rails application automagically.

Installation

Add this line to your application's Gemfile:

gem 'emerald-rails'

And then execute:

$ bundle

Then add this line to your Javascript manifest file (application.js) 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:

app/assets/javascripts/admin/views/
app/assets/javascripts/admin/controllers/
app/assets/javascripts/admin/models/
app/assets/javascripts/admin/routers/

Usage

For instructions on how to use Emerald.js, visit its page, https://github.com/kurko/emerald.js.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

##License

This software is released under the MIT License.