I wanted to use private_pub gem to follow along with this screencast : http://railscasts.com/episodes/316-private-pub
However, when I run rails g private_pub:install
, I get this error Could not find hiredis-0.3.2 in any of the sources
.
Running bundle install install most of the dependencies, however, gives fatal error: sys/socket.h: No such file or directory
when trying install hiredis.
So, how do I use private_pub in windows 7?
Could not find hiredis-0.3.2 is any of the sources
There is no support of hiredis on Windows (as of this answer). You can take a look at the pull requests for Windows at the github repo for hiredis
With respect to your private_pub gem - the comment on the railscast video shows the issue has been occuring for quite some time on windows