I'm trying to perform something like this:
serialized = %x(ruby loader.rb)
from a Controller but I have gem conflicts because loader.rb uses rubyXL (depends on rubyzip >= 1.1.6) and my Rails project uses `rubyzip -> 1.0.0. There are any way to handle this?
Could you upgrade your Rails project to use rubyzip >= 1.1.6?
If you wanted to use the same version of rubyzip, you could do %x(bundle exec ruby loader.rb)
. This will make sure that it uses the same version of rubyzip as your rails project.