require 'chosen-rails/version'

module Chosen
  module Rails
  end
end

case ::Rails.version.to_s
when /^4/
  require 'chosen-rails/engine'
when /^3\.[12]/
  require 'chosen-rails/engine3'
when /^3\.[0]/
  require 'chosen-rails/railtie'
end

require 'compass-rails'

require 'chosen-rails/version'

module Chosen
  module Rails
  end
end

case ::Rails.version.to_s
when /^(4|5)/
  require 'chosen-rails/engine'
when /^3\.[12]/
  require 'chosen-rails/engine3'
when /^3\.[0]/
  require 'chosen-rails/railtie'
end

require 'compass-rails'

Fix loading engine for Rails 5
Fix loading engine for Rails 5
