Searchlogic for Rails 3+
- Make sure you've got
rbenvinstalled with the version of ruby inruby-versioninstalled - Run
bundle
Make sure that you've got all of the rubies listed in .travis.yml installed
$ bundle exec rake
- Set your
rbenvshell to the version of ruby you want to test, if different from what is in.ruby-version - To test rails 5, e.g., run
bundle exec appraisal rails-5 rspec
Note: if you haven't run the main rake task yet, you might need to run that or the below command:
bundle exec appraisal rails-5 "cd spec/app_rails5/ && rake db:create db:migrate db:test:prepare && rake db:environment:set RAILS_ENV=test"