OpenLayers library packed for use in Ruby on Rails asset pipeline. Currently includes OpenLayers version 2.12
I no longer work on projects involving OpenLayers, so this gem won't receive updates as fast/often as it should. Consider using rails-assets-openlayers
gem from https://rails-assets.org/
Add this line to your application's Gemfile:
gem 'openlayers-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install openlayers-rails
Add //= require openlayers-rails
to your app/assets/javascripts/application.js
manifest file.