The Ajax.org Cloud9 Editor (Ace) for the Rails 3.1+ asset pipeline.
In your Gemfile, add:
bundle and restart your server.
Add in your application.js file:
//= require ace-rails-ap
To include a theme or mode, add them in your application.js file:
//= require ace/theme-sometheme //= require ace/mode-somemode
Do not include Ace workers files in your application.js file. Then just use Ace like normal.
Rails Asset Pipeline
Migrate from previous version of ace-rails-ap
You may have done some customisation to allow ace-rails-ap to work in production, such as adding the worker files in
assets.precompile of your application.rb and/or using
ace.config.setModuleUrl function. You can remove those.
//= require ace/ace by the new
//= require ace-rails-ap, and remove