Not the best way to start the day…

Misc No Comments »
For some reason this morning, I must have had one of those revelation moments, I woke up thinking about certainties. 

There are only 3 things that are certain in life: death, taxes, and browser incompatibilities…

I think I need a break….

Installing and managing edge Rails

Rails, Ruby 1 Comment »

Great article here:

http://www.sitepoint.com/blogs/2006/07/11/installing-and-managing-edge-rails/

How to stop webrick from the command line

Rails, Ruby 2 Comments »

To create a bash file to stop webrick.

In a terminal type gedit stopWebrick and add the following to the contents of the file and save it.  Give the file execute permission with chmod of using the file properties in nautilus.

#!/bin/bash
kill -9 `ps -o pid,cmd –no-heading -p $(pgrep ruby) | grep script/server | awk ‘{print $1}’`

This will kill the first ruby process it finds running as script/srever

Run it as needed.

WP Theme &Design by minus19.com & Icons
Entries RSS Comments RSS Log in