I think you're doing it on the right way, patching the initialiser.
At Gemfile you have to use:
platform :ruby do
gem 'mri-specific-gem'
end
plataform :jruby do
gem 'jruby-specific-gem'
end
And if you need to something in a initialiser, you may check the platform
using bundler stuff:
if
Yep, that's exactly what I am doing. I was just wondering if people are
solving it some either way, or even more ambitiously if someone is using
Rails itself to solve this issue.
On Thu, May 15, 2014 at 2:46 PM, Gabriel Sobrinho
gabriel.sobri...@gmail.com wrote:
I think you're doing it on the