Making TextMate recognize .html.erb files

Posted by Jason Noble on 09/21/2008 in ruby, ruby on rails, textmate |

I’m using TextMate to edit some Ruby on Rails code. I noticed that when I edit the view pages (i.e. index.html.erb) it does not do syntax highlighting. It turns out this is because the Ruby on Rails TextMate bundle thinks that ruby view pages are .rhtml, which is the old Ruby on Rails format. You […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. Add a line of text of the format “alias YYY ‘ZZZ’” where YYY is the command you […]

Adding an alias to the Bash Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .bashrc in your home directory. Add a line of text of the format “alias YYY=’ZZZ’” where YYY is the command you want […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. Add a line of text of the format “alias YYY ‘ZZZ’” where YYY is the command you […]

Free Online Books

Posted by Jason Noble on 09/10/2008 in Uncategorized |

A co-worker pointed me to a bunch of free online books. Looks pretty cool, I’ll have to check a couple of them out.

Google Chrome first experience

Posted by Jason Noble on 09/03/2008 in Uncategorized |

I just installed Google Chrome, a new web browser by Google. Below is my first experience:

Allow rails users to login via vsftpd

Posted by Jason Noble on 09/02/2008 in FreeBSD, pam, postgres, ruby on rails, vsftpd |

So you’ve installed Ruby on Rails with Postgres, and now you want to allow your users to login to your server via FTP. First we need to install our FTP server. (In the config window, I left the defaults) Edit the vsftpd conf file. Create the vsftpd startup script. We also need to install the […]

1

Installing Ruby on Rails in FreeBSD with Postgres

Posted by Jason Noble on 09/02/2008 in FreeBSD, postgres, ruby, ruby on rails |

After setting up a minimal FreeBSD install, I want to get Ruby on Rails up and running. Let’s see what’s available in the ports tree. The ruby-gems port looks promising. Let’s install it. The install requires ruby to be installed, so it installs that for us (if it’s not currently installed). I enabled RDOC and […]

Updating the ports tree in FreeBSD

Posted by Jason Noble on 09/02/2008 in cvsup, FreeBSD, ports |

After setting up a minimal FreeBSD install, I want to update the ports tree to the latest available. FreeBSD provides a program to do this. It’s called cvsup (cvs update). To find the program, I search the ports tree. I want the cvsup without the gui, so I change into that directory and install it. […]

Setting up a FreeBSD VM with Parallels under OS X Leopard

Posted by Jason Noble on 09/01/2008 in 10.5, FreeBSD, Leopard, OS X, Parallels |

To read this post with screen shots, use one of the following links: HTML PDF PDF Zip My goal is to have a FreeBSD 7.0 based virtual machine running under Parallels on my OS X 10.5 Leopard iMac. Open Parallels and select File -> New As my server is just for local development, I didn’t […]

Copyright © 2008-2017 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.2.3, from BuyNowShop.com.