June 2009
9 posts
GRUB error 17 ( Debian/Ubuntu ) « Just a thought →
With the help of this link I was able to make the necessary changes in order to boot after the Error 17 caused by blowing away my Kubuntu partition with gparted.
OSX Style Keymap: Swapping WIN and ALT keys on...
I’m 100% lost without the Rubymine keymap for OS X. (Not ‘Default for OS X’, but ‘OS X’). This is available on the Ubuntu version, however, my keymap out of the box was not supported. By default, my left ALT key sends ‘left ALT’, and my Win key sends ‘Win’ (which, yes, is pretty sensible). I wanted my left ALT key to send ‘Meta’...
Have you checked in the current profile of gnome-terminal the option “Run...
– how to get .bash_profile sourced when launching Terminal in Ubuntu: Ubuntu question #1770: “configure the .bash_profile”
awesome git plugin gotcha
1. (apparently) git considers any directory with a .git file in it as a submodule.
2. the restful_authentication recommends cloning instead of using script/plugin (which removes the .git file) because of naming issues.
3. capistrano does not appear to pull git submodules by defaul
1 + 2 + 3 = tests pass on local, but production can’t run (because the plugin code doesn’t deploy).
...
rspec w/ frozen rails
Getting this error on all your controller tests?
ArgumentError in ‘Controller::TestCase should destroy user’
wrong number of arguments (0 for 1)
Possibly an impedance mismatch between some gem and the frozen version of rails. Either way, upgrading to 2.3.2 in my vendor/rails fixed it for me. But man, was that ever hard to figure out.
could not find any SCM named git
Capistrano deploy problems.
Happened to me.
Here’s the story.
1) you probably don’t have the correct keys on your target machine to git pull from your git repo. Make sure you can do a git pull where you’re deploying to.
2) scm_command and scm settings seem to get called as methods. If they’re set to anything but ‘git’ (like, a full path), you’re...
Gitosis - DreamHost →
Good instructions for setting up a git repo (with Gitosis) on Dreamhost. Not a fan of Dreamhost at all for hosting, but it’s occasionally suitable for side-project, non-critical repos. Except, of course, when my load is over 200 — which it has been more than once — and my repo commits (not surprisingly) time out. Still, for $9 a year*, it’s significantly cheaper than github...
See Jeff Run: xclip: A Cut-and-Paste Aid →
Handy utility I saw a co-worker use the other day:
pipe to pbcopy to get output from shell in the paste buffer on OSX, pipe to xsel to get output from shell in the paste buffer on linux.
(pbpaste also does what you would expect.)
Decent setup instructions for a ROR stack on... →
All you really need to know here is the magic apt-get string, which is
sudo apt-get install ruby-full build-essential
As of this writing, the ruby that comes with ruby-full is the latest build of 1.8.7.
If you follow their instructions for installing rubygems, skip to the last paragraph and use
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar xzvf...