Probably there is some conflict with Savon, because if I include peddler in Gemfile I start receiving Procedure 'X' not present for my other code that uses Savon client ( https://github.com/savonrb/savon/issues/856). Or I should it use not as gem?
Edit:
Ok, I have to resolve the issue to progress with my app :-) So the problem is with HTTPI::Adapter::default_adapter. If I do not include the peddler then the default_addaper is net_http but if peddler is included the default_adapter is set to excon which not work with my other code. So I just force the net_http adapter for my other module.
Actually, debugging it further shows that the default_adapter has list of adapters(LOAD_ORDER) and it trying to load one by one until any loaded. The peddler requires the excon so it returns it as is defined before net_http. To concludes it is not Peddler issue
Probably there is some conflict with Savon, because if I include peddler in Gemfile I start receiving
Procedure 'X' not present
for my other code that uses Savon client ( https://github.com/savonrb/savon/issues/856). Or I should it use not as gem?Edit:
Ok, I have to resolve the issue to progress with my app :-) So the problem is with HTTPI::Adapter::default_adapter. If I do not include the peddler then the default_addaper is
net_http
but if peddler is included the default_adapter is set toexcon
which not work with my other code. So I just force thenet_http
adapter for my other module.Actually, debugging it further shows that the default_adapter has list of adapters(
LOAD_ORDER
) and it trying to load one by one until any loaded. The peddler requires the excon so it returns it as is defined before net_http. To concludes it is not Peddler issue