Just a word of warning, it appears that the deltacloud client api gem is incompatable w/ the latest rest-client gem (version 1.4) and thus you may want to hold off on updating it.
If you already have, you can gem uninstall it and then reinstall version 1.3.1 (which deltacloud-client is compatible with) via:
gem install rest-client -v 1.3.1
A temporary workaround solution for the codebase would be to change the dependency in the client gemspec to something like
s.add_dependency('rest-client', '~> 1.3')
The real issue arises since we're overriding 'RestClient::Response.body' to merely call 'to_s' which the new rest-client gem handles by calling 'body' resulting in an infinite loop.
-Mo
On 01/03/10 15:29 -0500, Mohammed Morsi wrote:
Just a word of warning, it appears that the deltacloud client api gem is incompatable w/ the latest rest-client gem (version 1.4) and thus you may want to hold off on updating it.
If you already have, you can gem uninstall it and then reinstall version 1.3.1 (which deltacloud-client is compatible with) via:
gem install rest-client -v 1.3.1
A temporary workaround solution for the codebase would be to change the dependency in the client gemspec to something like
s.add_dependency('rest-client', '~> 1.3')
The real issue arises since we're overriding 'RestClient::Response.body' to merely call 'to_s' which the new rest-client gem handles by calling 'body' resulting in an infinite loop.
Nice catch !
I pushed a quick fix for this into mailing-list for now and tomorrow I will update Fedora RPM to 1.4.0.
- Michal
deltacloud-devel@lists.fedorahosted.org