On Mar 16, 2012, at 9:09 AM, Bryan McLellan wrote:
On Thu, Mar 15, 2012 at 8:42 PM,There is also rbenv which purports to be a simpler and less invasive
Gustavo< >
wrote:
I'm getting the following segfault when I upload cookbooks to chef server:The 'easiest' path for Ruby segfaults most of the time is upgrading to
/usr/lib/ruby/vendor_ruby/chef/checksum_cache.rb:174: [BUG] Segmentation
fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
I'm running chef server and clients on Debian Squeeze amd64.
a newer Ruby. These patches rarely get backported.
A few routes:
1) Backporting Ruby from wheezy/testing, it contains Ruby 1.8.7.352-2.
For instance, using pbuilder:
http://edseek.com/~jasonb/articles/pbuilder_backports/
2) Upgrade to Debian wheezy/testing.
3) Remove all ruby packages from apt and install Ruby from source
4) Use RVM to install a confined Ruby (and live with the consequences
of what it does to your environment)
implementation of RVM's central concept, namely sandboxed Ruby installations
that you can switch among on the fly. It lives here:
https://github.com/sstephenson/rbenv
I use RVM personally, so caveat emptor.
Bryan
Archive powered by MHonArc 2.6.16.