Skip to content

Instantly share code, notes, and snippets.

@rtanglao
Created August 25, 2011 18:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtanglao/1171385 to your computer and use it in GitHub Desktop.
Save rtanglao/1171385 to your computer and use it in GitHub Desktop.
Debian Lenny Yak Shaving to get my Ruby Get Satisfaction scripts working on my VPS
  1. git clone git@github.com:rtanglao/momogs.git
  2. ruby 1.8.x was previously installed
  3. removed require 'rubygems' (not sure if it's required)
  4. get rubygems, unpack and install
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    2. tar xvfz rubygems-1.8.9.tgz
    3. cd rubygems-1.8.9
    4. ruby setup.rb
  5. apt-get rubyfull
  6. apt-get install build-essential libopenssl-ruby ruby1.8-dev
  7. to check out env: /usr/bin/gem1.8 env
  8. /usr/bin/gem1.8 install json
  9. add MONGO_HOST, MONGO_PORT, MONGO_USER, MONGO_PASSWORD to .bashrc
  10. add export RUBYOPT=rubygems to .bashrc
  11. ln -s /usr/bin/gem1.8 /usr/bin/gem
  12. gem install mongo
  13. gem install bson_ext
  14. gem install SystemTimer
  15. for some strange reason the year 2099 is out of range on Debian Lenny Linux but not on Mac OS X! Is this a 32 bit versus 64 bit thing? fixed by changing 2099 to 2037
  16. gem install tlsmail
  17. gem install parseconfig
  18. adduser jenzed
  19. add user to mongodb at mongohq.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment