Vite Rails Legacy

Build Status Maintainability Test Coverage Gem Version License

Vite Rails Legacy is Vite Rails, modified to support Rails 4.

Installation 💿

Add this line to your application's Gemfile:

gem 'vite_rails_legacy'

Then, run:

bundle install
bundle exec vite install

This will generate configuration files and a sample setup.

Additional installation instructions are available in the documentation website.

Why a separate library? 🤔

I don't want the burden of having to support Rails 4 in the main codebase.

And yet, after extracting Vite Ruby the surface area is smaller, and it was easy to adapt it to work with Rails 4.

This way, people get to use the library in Rails 4, and I get to not worry about accidentally breaking support with changes that are tested on Rails 5 and onwards.

License

The gem is available as open source under the terms of the MIT License.