Some browsers render PNG images with color profiles and other shenanigans, some do not. The cleanest way to have consistent...
Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...
rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...
Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...
sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...
If your shell seems frozen You probably pressed Ctrl-S which stops the buffer. Try Ctrl-Q to resume.
This starts delayed_job, hiding all the output and hiding the process in the background. rake jobs:work &>/dev/null &
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...
Solr listens to different ports for different environments. Start Solr (and hide useless output) rake solr:start PORT=8981 &>/dev/null...
script/cucumber features/feature_name.feature Or, if you don't care about speed, you can use rake: rake features FEATURE=features/feature_name.feature
sudo apt-get install unzip rake rails:freeze:edge RELEASE=2.2.2
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...
To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
In Ubuntu your ALT key is locked when you're working in VirtualBox. There are two workarounds for this:
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...
I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...
i keep looking for ways to help people 'get' REST. not URLs or HTTP Methods; but REST itself - in a...
I’m working on a problem for a client which involves connecting to a Microsoft SQL Server 2005 database from...