fixlr / codemirror-rails

Use CodeMirror with Rails
https://rubygems.org/gems/codemirror-rails
MIT License
159 stars 87 forks source link

Generator not found on rails 4 #27

Closed michaelarmstrong closed 10 years ago

michaelarmstrong commented 10 years ago

Hi,

rails generate does not list the generator on rails 4.1 additionally, the generator cannot be found if manually invoked.

fixlr commented 10 years ago

HI @michaelarmstrong,

The generator only intended to be used with Rails 3, before the asset pipeline was added. You shouldn't need to run it on Rails 4.1.

If you would prefer to vendor the codemirror assets instead of installing them with this gem, I would recommend just downloading the specific release that you're interested in from http://codemirror.net/.

michaelarmstrong commented 10 years ago

No it was my mistake, the asset pipeline does indeed generate them correctly when I do a

rake assets:precompile