Starling problem

installed starling on OS-X (starling (0.9.8), ruby 1.8.7 (2008-08-11
patchlevel 72)) , and am getting some weird exceptions when running it
out of the box. Has anyone seen similar problems?


irb(main):001:0> require ‘rubygems’
=> true
irb(main):002:0> require ‘starling’
=> true
irb(main):003:0> starling =‘’)
=> <MemCache: 1 servers, ns: nil, ro: false>
irb(main):004:0> starling.set(‘my_queue’, 12345)
TypeError: can’t dup NilClass
from /opt/local/lib/ruby/gems/1.8/gems/starling-0.9.8/lib/starling.rb:
94:in dup' from /opt/local/lib/ruby/gems/1.8/gems/starling-0.9.8/lib/starling.rb: 94:inget_server_for_key’
from /opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.6.5/lib/
memcache.rb:689:in request_setup' from /opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.6.5/lib/ memcache.rb:658:inwith_server’
from /opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.6.5/lib/
memcache.rb:303:in set' from /opt/local/lib/ruby/gems/1.8/gems/starling-0.9.8/lib/starling.rb: 34:inset’
from (irb):4
irb(main):005:0> %

You should try the later Starling-starling gem found here

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs