Docunext


usr lib ruby 1.8 memcache.rb 24 in read No such file or directory usr lib ruby 1.8 .. VERSION.yml Errno ENOENT

August 16th, 2010

I'm getting this error when trying to use the libmemcache-client-ruby1.8 on Debian Squeeze.

/usr/lib/ruby/1.8/memcache.rb:24:in `read': No such file or directory - /usr/lib/ruby/1.8/../VERSION.yml (Errno::ENOENT)

To troubleshoot, I'm updating ruby1.8. Ugh, now I no longer have irb1.8!!

Oh well, in the end I just edited /usr/lib/ruby/1.8/memcache.rb and changed line 24:

#  VERSION = begin
#    config = YAML.load(File.read(File.dirname(__FILE__) + '/../VERSION.yml'))
#    "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
#  end
VERSION = '1.5.0'
Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022