Code Highlighting Test
@regions = Region.find(:all, :conditions => {:country_id => @address.country_id}, :order => :name)
Filed under Web Development, Computing, Uncategorized | Comment (0)
Update and Synchronise in Radrails
For some reason update and synchronise for SVN 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
Filed under Web Development, Computing | Comment (0)Kill Rails Process
Just to remind me.pkill -9 -u `whoami` -f dispatch.fcgiwill kill my rails app on hostmonster
Filed under Web Development, Computing | Comment (0)webistrano woes :(
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.
Filed under Web Development, Computing | Comment (1)Links to My Coldfusion Tests
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
Filed under Web Development | Comment (0)My Development Setup
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
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
Filed under Web Development | Comment (0)Set Domain to Rails Folder on Hostmonster
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.
Filed under Web Development | Comment (0)