Martin Ström

  • Home
  • Blog
  • Projects
  • Information
  • Tags
  • My Terminal Setup for Rails Development

    I’m quite happy with my Terminal.app setup right now for the Rails projects I’m working on and wanted to share the bits and pieces I use. First, I found a SIMB plugin for Terminal that’ll show the tab’s title in the tab instead of the running process. I use the plugin with a simple title helper [...]

    Posted

    July 12, 2008

    Tags

    bash, leopard, osx, rails, terminal

    1 comment

  • ./script/server with automatic port finder

    This is the script I’m using when I start my local Rails development server. It will automatically detect the next available port starting at the default port 3000 so I can have multiple servers running without remembering what ports that are already busy. #!/usr/bin/env ruby DEFAULT_PORT = 3000 puts (`ps aux | grep [r]uby | grep script/server`.split(”\n”).map { [...]

    Posted

    July 8, 2008

    Tags

    bash, blog, rails, ruby, terminal

  • Modernize Rails (or: get rid of Verdana)

    Tired of see the the soooo 1999-ish font “Verdana” every time you get a local error page in Rails? Now you don’t have to. With this plugin the error pages will use Arial or Helvetica instead—finally! To install: ./script/plugin install http://burnfield.com/svn/martin/rails/plugins/verdano or as svn:external: ./script/plugin install -x http://burnfield.com/svn/martin/rails/plugins/verdano I’ve moved to git so the new instructions are: [...]

    Posted

    December 29, 2007

    Tags

    rails, railsplugin, ruby

    3 comments

  • AppleScript to open iTerm tabs for Rails development

    Update: This script is ported (and improved) to work with OSX Leopards’ Terminal.app. I never really liked iTerm because of slow redrawing, ugly text anti aliasing and not reflowing text when resizing the window. After reading some interviews on a Rails site today and saw that a lot of people are using iTerm i wanted to give [...]

    Posted

    July 19, 2007

    Tags

    applescript, blog, iterm, osx, rails, terminal

    4 comments

Top