Tuesday, November 25, 2008

plonk.2






the bleakhouse case

first and foremost: read this.

 
http://blog.evanweaver.com/files/doc/fauna/bleak_house/files/README.html
so..
rogera@mc:~/proj/alkwhater$ sudo gem install bleak_house
ERROR:  Error installing bleak_house:
    bleak_house requires RubyGems version = 1.2

else...
    RAILS_ENV=production BLEAK_HOUSE=1 ruby-bleak-house ./script/server 'puts 1'

with environment.rb containing
    require 'bleak_house' if ENV['BLEAK_HOUSE']

end of story.

USAGE-REF
http://blog.hungrymachine.com/2008/11/8/how-to-save-100m-of-ram-per-mongrel if you happen to have 'rake routes | wc -l' in the thousands...


No comments:

Post a Comment