Update and Synchronise in Radrails

June 23rd, 2008

For some reason update and synchronise don’t work in the ‘Ruby Explorer’ view. You need to use the ‘Project explorer’ view for these actions and everything will work as expected

Kill Rails Process

June 18th, 2008

Just to remind me.pkill -9 -u `whoami` -f dispatch.fcgiwill kill my rails app on hostmonster 

webistrano woes :(

June 13th, 2008

cvs -d /Users/username/mycvs/ checkout modulename this is the line I need to checkout something from cvs. i’ve been trying to figure out why Capistrano/Webistrano won’t read from my repository but something is going wrong.

BUY MY STUFF!!!!

May 2nd, 2008

You can buy my geek gear at http://www.cafepress.com/alishus.Check it out!!! 

Files for Lee

April 6th, 2008

Hey there babe. Here are your files.Just right click and save.Luv ya :) 
http://raavin.com/40pink.pdf 
http://raavin.com/40pink2.pdf 
http://raavin.com/40pink3.pdf  

Links to My Coldfusion Tests

December 6th, 2007

I’ve recently set up a small ColdFusion server on Bluedragon 7.

You can get to the test page here http://raavin.blogsite.org/machblog

My Development Setup

December 6th, 2007

This is incomplete but this is pretty much my setup

Machine
——-
24″ iMac 2.16 Intel core duo, 2Gig ram

OS

OSX + Parallels with Windows XP Pro

Editors
——-
Eclipse 3.2
  CFeclipse Plugin
  Aptana
  Radrails
Textmate
TextWrangler

Version Control
—————
CVS & Subversion

Testing
——-
Selenium

Application Servers
——————-
Coldfusion 8
Bluedragon 7
Ruby on Rails

SVN on OSX Finally

December 6th, 2007

It took a while but finally I got it figured out. After the initial install (which you can do your own search for) I had to do a few more things in the terminal.

While in the home directory…

$svnadmin create svnrepo

Edit the created ~/svnrepo/conf/passwd file with your chosen username and password

Uncomment the following lines in svnserve.conf

auth-access = write
password-db = passwd

$svnserve -d -r ~/svnrepo

That’s it. You now have a working svn repository at svn://localhost

Calculating Distance Using Only Velocity

December 6th, 2007

Question:

Is it possible to calculate the position of an object relative to two or three other objects, using only the velocity of the object relative to the other two or three?

One of the problems when looking at the velocity of an object in relation to another object is that we come at it from a ‘MiddleWorld‘ point of view. To us, velocity is the result of how far an object travels from or to another object multiplied by the time it takes. We think of the velocity of light like this too. We can see light travel from one MiddleWorld object to another so we think of the ‘velocity’ as being only an indicator which gives us information about the relationship between the objects. But what if we take another perspective. What if we lived in a universe where we thought of velocity as the ‘object’ and thought of ‘MiddleWorld objects’ as things you calculated?

Set Domain to Rails Folder on Hostmonster

December 6th, 2007

To set main domain to your rails folder on your Hostmonster account, do the following.

1. ssh into your account

2. Rename your public_html folder to public_html_old

username@domain.com [~]# mv public_html public_html_old

3. Create a link to your rails/public folder called public_html

username@domain.com [~]# ln -s ~/route/to/app/public public_html

Now the public_html@ link will be treated as if it is the old public_html folder. It’s one of the wonders of *nix.

note: This gives some grief when creating subdomains, showing “Application error Rails application failed to start properly”. I think it’s reading the dispatch files by default rather than doing the subdomain. I’ll have to look into it a bit more. If you only need your main domain though, this works nicely.