CodeMirror for Rails 3 Use current version of CodeMirror 2 within a Rails 3 project using asset pipeline. gem install codemirror-rails And... =require codemirror/codemirror