and... next

Installing nokogiri Slicehost’s Ubuntu Hardy

In Uncategorized on September 7, 2009 at 4:32 pm

Here’s the steps to get nokogiri installed;

  1. sudo apt-get update
  2. sudo apt-get install libxml2-dev libxslt1-dev
  3. sudo gem install nokogiri
  4. sudo gem install racc
  5. sudo gem install rexical
  6. (at this point, when I tried “gem install how”, it complained I didn’t have RubyGems >= 1.3.1. which is required for “hoe”)
  7. sudo gem install rubygems-update -v=1.3.4
  8. sudo update_rubygems
  9. sudo gem install hoe

via Mark Howe » Rails requires RubyGems >= 1.3.1 you have 1.2.0. Please `gem update –system` and try again..

For Leopard, installing Sphinx from ports with mysql binary from mysql

In Uncategorized on September 4, 2009 at 11:57 am

Given I’ve installed sphinx

And I’ve used mac port for the install

When I run sphinx  indexer

Then it expects the mysql socket to be in /opt/local/var/run/mysql5/mysqld.sock

Given I’ve installed mysql

And I’ve used the binary from mysql

When I run mysqld

Then it use the mysql socket in /tmp/mysql.sock

To get sphinx indexer to use my installed version of mysql, I have to change make a change in the sphinx.conf file to tell sphinx indexer to use the mysql socket in /tmp/mysql.sock:

in some source …

{

sql_sock = /tmp/mysql.sock

}

Check  sphinx_docs [SphinxWiki] for reference.

Please vote for my SXSWi Panel “Lean Startups: Beyond the Hype, Successes, Failures & Techniques”

In Uncategorized on September 4, 2009 at 10:58 am

Last day to vote for my SXSWi panel; please vote! “Lean Startups: Beyond the Hype, Successes, Failures & Techniqueshttp://panelpicker.sxsw.com/ideas/view/3884

Follow

Get every new post delivered to your Inbox.

Join 568 other followers