Posts tagged OS

Jun 25 2010

Automatically Start PostgreSQL on Mac OS X

Mac Leopard PostgreSQL | comments

Why bother remembering very long commands?

There is a shell script for automatically starting, stopping and restarting PostgreSQL if you have installed PostgreSQL on /usr/local. In fact there is a shell script for nearly every redundant task for developers and Linux system administrators (even spammers).

Continue reading »
Apr 04 2010

Rails 3 on Ubuntu Karmic Koala (Fivebean)

Ruby Passenger Rails3 Nginx Ubuntu Fivebean GettingThingsRight Hosting VPS | comments

This is one of my "Getting Things Right" posts, a.k.a, "How The Hell Do I Set Up My Rails Site on a VPS host." It’s almost always more difficult to get things right than get things done. I tried Slicehost and Linode before and I always ended up rebuilding because I couldn't get the right setup.

Continue reading »
Nov 22 2009

Installing Ruby Gems on Dreamhost

Dreamhost Ruby Rails | comments

Before I move on to posting about installation instructions, some people might wonder why I am using Dreamhost.

Would I recommend Dreamhost for Rails hosting?

I wouldn't recommend it to people with budget and have little patience. You can go for Heroku, Slicehost and Linode. I've tried Linode and it's a very good option for advanced users, a.k.a, Unix nerds. Clients have used Slicehost and other VPS hosts. Point is, VPS rules. Dreamhost has it PS plans but if you are serious about business go for the so-called cloud services offered by Rackspace. (And just an F.Y.I, Rackspace also owns Slicehost).

Continue reading »
Oct 26 2009

Going for a Mac

Macintosh Apple OS | comments

This is one of the most difficult decisions I have to make - spending more on hardware to increase my productivity. Recently I also purchased a lot of books and resources as I am totally addicted to learning more about Ruby and recently I have an interest for Objective-C. And by the time I get started I hope the cost of an iPhone is half-price and it's quite predictable that prices will be lower by the end of the year or early next year. All of my endeavors are self-funded and I worked hard for everything I have because I'm nothing close to Parish Hilton. That's hot ;)

Continue reading »
Aug 16 2009

Hello, Sinatra

Sinatra Ruby Rails Philosohpy | comments

Hello, Sinatra

My post earlier was about porting my blog to Adva CMS. It has a lot of really nice features that I don't need. I actually don't need translation feature for my blog. I don't even need Wordpress. And not even Rails for my purpose. I am venturing into Ruby development, not Rails development. After some digging on Github, I came across "Scanty," a very simple blog application that's nearly nothing. It's up to the developer to extend, hack and modify everything as needed. It was built on Sinatra Framework, yet a another framework for building Ruby apps. Sinatra does not have too many built-in helpers that come with Rails but it does have everything you need to build a web application. The RSpec framework (for Behaviour-driven development) for instance can still be used with Sinatra. RSpec is framework-agnostic and there are several ruby gems out there that are not Rails-centric.

Continue reading »