connecting to remote Riak from Ruby

Zubair Quraishi zubairq at gmail.com
Mon Feb 15 15:08:52 EST 2010


I get :

Riak::FailedRequest: Expected 200 from Riak but received 404.
<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The
requested document was not found on this
server.<P><HR><ADDRESS>mochiweb+webmachine web
server</ADDRESS></BODY></HTML>


Is this because I am using Riak server 0.7.1?



On Mon, Feb 15, 2010 at 6:43 PM, Sean Cribbs <seancribbs at gmail.com> wrote:

>  Zubair,
>
> Specify the :host option when initializing the client.  e.g.:
>
> client = Riak::Client.new(:host => "some.domain.name")
>
> If you're using the Ripple::Document mixin:
>
> Ripple.config = {:host => "some.domain.name"}
>
> Sean
>
>
> On 2/15/10 12:04 PM, Zubair Quraishi wrote:
>
> Does anyone know how to connect to a remote Riak node via Ruby? I tried
> ripple but it does not seem to document how to do this.
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.comhttp://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100215/7b3b6eb2/attachment.html>


More information about the riak-users mailing list