Skip to content

Instantly share code, notes, and snippets.

@rtanglao
Created August 25, 2011 18:28

Revisions

  1. rtanglao revised this gist Oct 19, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,6 @@
    1. 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
    1. gem install tlsmail
    1. gem install parseconfig
    1. adduser jenzed
    1. add user to mongodb at mongohq.com

  2. rtanglao revised this gist Aug 25, 2011. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -16,8 +16,7 @@
    1. gem install mongo
    1. gem install bson_ext
    1. gem install SystemTimer
    1. 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
    1. gem install tlsmail
    1. gem install parseconfig

    1. 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

  3. rtanglao revised this gist Aug 25, 2011. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion commandLine.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    1. git clone git@github.com:rtanglao/momogs.git
    1. ruby was previously installed
    1. ruby 1.8.x was previously installed
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    @@ -16,5 +16,8 @@
    1. gem install mongo
    1. gem install bson_ext
    1. gem install SystemTimer
    1. gem install tlsmail
    1. gem install parseconfig

    1. 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

  4. rtanglao revised this gist Aug 25, 2011. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,20 @@
    1. git clone git@github.com:rtanglao/momogs.git
    1. ruby was previously installed
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    1. tar xvfz rubygems-1.8.9.tgz
    1. cd rubygems-1.8.9
    1. ruby setup.rb

    1. apt-get rubyfull
    1. apt-get install build-essential libopenssl-ruby ruby1.8-dev
    1. to check out env: /usr/bin/gem1.8 env
    1. /usr/bin/gem1.8 install json
    1. add MONGO_HOST, MONGO_PORT, MONGO_USER, MONGO_PASSWORD to .bashrc
    1. add export RUBYOPT=rubygems to .bashrc
    1. ln -s /usr/bin/gem1.8 /usr/bin/gem
    1. gem install mongo
    1. gem install bson_ext
    1. gem install SystemTimer
    1. 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

  5. rtanglao revised this gist Aug 25, 2011. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -3,9 +3,9 @@
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    1. tar xvfz rubygems-1.8.9.tgz
    1. cd rubygems-1.8.9
    1. ruby setup.rb
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    1. tar xvfz rubygems-1.8.9.tgz
    1. cd rubygems-1.8.9
    1. ruby setup.rb


  6. rtanglao revised this gist Aug 25, 2011. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -3,9 +3,9 @@
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    tar xvfz rubygems-1.8.9.tgz
    cd rubygems-1.8.9
    ruby setup.rb
    1. wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    1. tar xvfz rubygems-1.8.9.tgz
    1. cd rubygems-1.8.9
    1. ruby setup.rb


  7. rtanglao revised this gist Aug 25, 2011. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -3,9 +3,9 @@
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    tar xvfz rubygems-1.8.9.tgz
    cd rubygems-1.8.9
    ruby setup.rb
    wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    tar xvfz rubygems-1.8.9.tgz
    cd rubygems-1.8.9
    ruby setup.rb


  8. rtanglao revised this gist Aug 25, 2011. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -2,3 +2,10 @@
    1. ruby was previously installed
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)
    1. get rubygems, unpack and install
    wget http://rubyforge.org/frs/download.php/75296/rubygems-1.8.9.tgz
    tar xvfz rubygems-1.8.9.tgz
    cd rubygems-1.8.9
    ruby setup.rb


  9. rtanglao created this gist Aug 25, 2011.
    4 changes: 4 additions & 0 deletions commandLine.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    1. git clone git@github.com:rtanglao/momogs.git
    1. ruby was previously installed
    1. added stuff to .bashrc for MONGODB and RUBYOPTS
    1. removed require 'rubygems' (not sure if it's required)