hiptest / hiptest-publisher

Publisher for CucumberStudio projects
MIT License
48 stars 63 forks source link

included in Gemfile mess up rake #72

Open FLemon opened 6 years ago

FLemon commented 6 years ago

Hi, In a Rails app when include this gem in the Gemfile(tried 1.7.x and 1.9.2) it mess up the rake commands

after installing the gem via bundle install i got this error when doing rake db:migrate

rake aborted!
NameError: uninitialized constant Devise::Mailer

with the following traceback screen shot 2017-11-24 at 10 14 17

FLemon commented 6 years ago

not just the devise/mailer, once this is fixed (by adding require 'devise/mailer' to development.rb), the rails server wont run due to actionpack can't find certain files i suspect hiptest-publisher has monkey patching to certain libraries used by rails, please help investigate

FLemon commented 6 years ago

ok, i have to put require "false" when listed in the Gemfile I guess this is the right way for it as this gem is not needed for the application, only for exporting/importing test to hiptest

worth documenting this, can close it if the issue doesn't bother you that much

cbliard commented 6 years ago

Hi,

We'll try to reproduce the issue. It should not mess up your rails project.

Which Rails and Ruby version are you using ?

FLemon commented 6 years ago

rails 5.0.0.1 ruby 2.3.1

cbliard commented 6 years ago

Thanks, we'll try to reproduce it and keep you informed.