betesh

Results 25 comments of betesh

Did anyone find a solution to this? We're getting the same `java.io.FileNotFoundException: /jacoco.exec: open failed: EROFS (Read-only file system)` on a different project.

This happens because activerecord_any_of loads ActiveRecord::Base too early. activerecord_any_of should use an ActiveSupport load hook, replacing: ``` ActiveRecord::Base.send(:extend, ActiverecordAnyOfDelegation) ``` with: ``` ActiveSupport.on_load(:active_record) do ActiveRecord::Base.send(:extend, ActiverecordAnyOfDelegation) end ```

I was not able to reproduce it, but I recommend making this change anyway.

@kares Did you confirm that this is not an issue in versions compatible with rails 5 and 6? Can you shed some light on the rationale behind the change here?

What do you mean by "doesn't support DB2"? I still see this issue in v52.2: https://github.com/jruby/activerecord-jdbc-adapter/blob/v52.2/lib/arjdbc/db2/column.rb#L53

> I can re-open if it works differently than with MRI on AR 4+ It seems to me that it works differently than all the other adapters in this project....

> the issue was stale for months That's because my initial comment ask for feedback before I start working on a PR. So just to make sure we're on the...

so you don't intend to fix this in master as well?

This is part of a much wider issue, which is that capistrano-rvm assumes all servers you are deploying to have the same RVM environment. I would like to see the...

@fabn A good workaround is to use a String instead of a Symbol, i.e. ``` run_locally do execute "rake my_task" # instead of execute :rake, :my_task end ```