Question

I try to use gem rest client to access some simple REST service, I have installed the rest-client following these instructions, but when try to use the library, I get the following error no such file to load -- rest_client.

It seems that the library is not recognized.

Did anyone have similar problems with this library?

Was it helpful?

Solution

Make sure you add it to your Gemfile, bundle install, restart server, and if required, require 'rest_client' or whatever the file name is.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top