Closed mysticaltech closed 7 years ago
Cool, I no longer use this gem actively in any projects so feel free to submit a pull request!
I tried adding gem 'xmlrpc'
just after gemspec in the Gemfile https://github.com/rimkashox/rubypress/blob/master/Gemfile, but didn't work.. I still get the same error active_support/dependencies.rb:293:in require: cannot load such file -- xmlrpc/client (LoadError)
But it does go away when I require directly the gem in my rails Gemfile...
Any idea ? I'm sure the solution is a one liner..
Hey, are you sure you required the library after adding the gem/followed the instructions on the gem repo? https://github.com/ruby/xmlrpc
Hey Zach, yep this is required already by you in rubypress.rb
, I just needed to add s.add_dependency 'xmlrpc'
to the gemspec file. Sending in a pull request now, I let you do the version change if necessary.
New version pushed!
Thanks again @rimkashox .
My pleasure!
Just to signal that since ruby 2.4.0 we now need gem 'xmlrpc' to this work, maybe require it automatically ?