Ruby riak client test server + JRuby issues?

Brad Heller brad at cloudability.com
Tue Oct 16 14:52:03 EDT 2012


Anyone else using the Ruby riak client test server with JRuby with any success? There seems to be some issue with pipes and JRuby that I can't quite figure out how to negotiate. Here's what I get when I try to fire up the test server:

ArgumentError: Could not find or open pipes for Riak console in /Users/brad/.rvm/gems/jruby-head at my_project/gems/lucinda-0.0.5.2012101518065657/tmp/riak_test_server/pipe.
                 initialize at /Users/brad/.rvm/gems/jruby-head at my_project/bundler/gems/riak-ruby-client-01773da3b14d/lib/riak/node/console.rb:48
                       open at /Users/brad/.rvm/gems/jruby-head at my_project/bundler/gems/riak-ruby-client-01773da3b14d/lib/riak/node/console.rb:22
                     attach at /Users/brad/.rvm/gems/jruby-head at my_project/bundler/gems/riak-ruby-client-01773da3b14d/lib/riak/node/control.rb:71
               maybe_attach at /Users/brad/.rvm/gems/jruby-head at my_project/bundler/gems/riak-ruby-client-01773da3b14d/lib/riak/test_server.rb:69
                      start at /Users/brad/.rvm/gems/jruby-head at my_project/bundler/gems/riak-ruby-client-01773da3b14d/lib/riak/test_server.rb:40
                      start at /Users/brad/.rvm/gems/jruby-head at my_project/gems/lucinda-0.0.5.2012101518065657/lib/lucinda/test/support/riak_server.rb:26
                     (root) at /www/cloudability/my_project/spec/spec_helper.rb:54
              instance_eval at org/jruby/RubyBasicObject.java:1699
  instance_eval_with_rescue at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:458
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:35
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:72
                       each at org/jruby/RubyArray.java:1612
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:72
                   run_hook at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:424
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:30
                     report at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25
                        run at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69
                    autorun at /Users/brad/.rvm/gems/jruby-head at my_project/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8

There was something I saw that alluded to there being a workaround on the riak-ruby-client wiki: https://github.com/basho/riak-ruby-client/wiki/Installation (under Known Compatability Issues). Anyone know what that is? Relentless Googling has not turned up anything interesting…

Thanks,

Brad Heller | Engineering Lead | Cloudability.com | 541-231-1514 | Skype: brad.heller | @bradhe | @cloudability

We're hiring! http://cloudability.com/jobs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20121016/97a8b9f2/attachment.html>


More information about the riak-users mailing list