Read more

rake spec + rails_admin = weirdly failing specs

Tobias Kraze
July 03, 2012Software engineer at makandra GmbH

If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel:spec etc), put this at the top of your spec_helper:

ENV['SKIP_RAILS_ADMIN_INITIALIZER'] = 'false'
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Don't ask.

This is probably also true for cucumber, your env.rb would be the right place.

Posted by Tobias Kraze to makandra dev (2012-07-03 17:46)