move rspec workaround rake task to separate file