David Heinemeier Hansson at Startup School 08
Share and annotate your videos with Omnisio!
Share and annotate your videos with Omnisio!
I absolutely love the books from “The Pragmatic Programmers“. They are really well written and the cool thing is, you can get them as DRM free PDF. And the even cooler thing is, you buy and read them while there are being written!
How great is that?
Below is a screenshot of my Pragmatic Bookshelf and I [...]
sudo env ARCHFLAGS=”-arch x86_64″ gem install postgres
I’m using Git and Capistrano to deploy some ruby applications on multiple servers. My Git setup is done with gitosis which uses a key based authentication over ssh. The deployment script logs into the remote servers and checks out the current application version via Git.
Now to have this working, one must forward the private key, [...]
First get and install the 64bit MySQL version:
http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.35-osx10.5-x86_64.dmg/from/pick#mirrors
Then install the MySQL gem the following way:
sudo gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config
How do you find out on which version of Rails your code is running?
script/console
Loading development environment (Rails 2.3.2)
>> Rails::VERSION::STRING
=> “2.3.2″
>> Rails::VERSION::MAJOR
=> 2
>> Rails::VERSION::MINOR
=> 3
>> Rails::VERSION::TINY
=> 2
>> Rails::VERSION.constants
=> ["TINY", "STRING", "MINOR", "MAJOR"]
>>