Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A gem to automate using Lungo.js with Rails 3
Ruby JavaScript
branch: master
Failed to load latest commit information.
lib 0.1.1
vendor/assets 0.0.11
Gemfile.lock 0.1.2
LICENSE initial commit with lungo 1.2 0.1.1
Rakefile 0.0.6
lungojs-rails.gemspec 0.0.6


Lungo.js for Rails!

This gem provides:

  • Lungo.js current stable version
  • Lungo.js current development version


Apps generated with Rails 3.1 or later include lungojs-rails in the Gemfile by default. So just make a new app:

rails new myapp

If upgrading from an older version of rails, or for rails 3.0 apps, add the lungojs-rails gem to your Gemfile.

gem "lungojs-rails"

And run bundle install. The rest of the installation depends on whether the asset pipeline is being used.

Rails 3.0

To invoke the generator, run:

rails generate lungojs:install

Rails 3.1 or greater (with asset pipeline enabled)

The Lungo.js files will be added to the asset pipeline and available for you to use. If they're not already in app/assets/javascripts/application.js by default, add these line:

//= require lungo-1.2

If they're not already in app/assets/javascripts/application.css by default, add these line:

*= require lungo-1.2
*= require lungo.theme.default
*= require lungo.theme.default.font

You're done!


Feel free to open an issue ticket if you find something that could be improved. A couple notes:

  • If the Lungo.js scripts are outdated (i.e. maybe a new version of Lungo.js was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated Lungo.js scripts.


Copyright [Lleïr Borràs Metje], released under the MIT License.

Something went wrong with that request. Please try again.