Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails 6 support #61

vpereira opened this issue Aug 22, 2019 · 1 comment


Copy link

vpereira commented Aug 22, 2019

Hi, trying to update a rails from 5.2 to 6.0 and codemirror-rails is blocking it.

from bundle update rails I get the following error:

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    codemirror-rails was resolved to 5.16.0, which depends on
      railties (< 6.0, >= 3.0)

This comment has been minimized.

Copy link

fixlr commented Aug 22, 2019

Hi @vpereira. I'm not planning on updating this gem for modern versions of Rails. This gem was created during a time long before we had official support for managing JavaScript dependencies via yarn, and it contains no other ruby code that would require it to be distributed as a gem.

If you're maintaining a Rails application that is configured with yarn, I would recommend using the official codemirror package instead.

If you haven't configured npm or yarn, and don't want to, the official codemirror releases have always been available at You can download the latest release, unzip it, and copy the files you need into vendor/assets/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.