Posts Tagged ‘Ruby on Rails’

Automatic VCR cassette naming for RSpec and Cucumber

March 19th, 2012 at 1:44 pm No Comments

Here’s how to configure VCR to automatically name cassettes for RSpec and Cucumber tests. After getting this is setup, using VCR to speed up your tests (with HTTP requests) is so easy, it’s a big win for very little work.
Read the rest of this entry »

How to install gems without documentation by default

October 24th, 2011 at 12:18 pm 1 Comment

Here’s a quick tip I learned this weekend on how to get all your RubyGems installed without documentation by default.
Read the rest of this entry »

Getting VIM setup for Ruby on Rails

October 3rd, 2011 at 9:39 pm No Comments

I just got started using Vim for Ruby on Rails development. To me, learning Vim is like growing a garden, it doesn’t happen overnight and you have to keep working at it. Also, getting Vim setup isn’t a one-and-done activity like installing a new toilet or a traditional editor/IDE. You have to keep tweaking and customizing it. Anyway, here are some of my notes on how I got started and some quick wins. Please note that this is more of a (rough) guide on how to get Vim setup for Ruby on Rails than it is how to use it.

Read the rest of this entry »

Quick Tip: Methods in Ruby

August 18th, 2011 at 11:29 pm No Comments

Here are some quick tips to keep in mind when coding new methods in Ruby.
Read the rest of this entry »

Quick Tip: How to use unless in Ruby

April 22nd, 2011 at 3:44 pm No Comments

Unless is a backwards if in Ruby. For the longest time I had a hard time wrapping my head around using it instead of just using not if, which I’ve always been used to. But, if you want to be apart of the Ruby culture, you need to learn how to use unless, here’s my simple technique on how I learned to use it.
Read the rest of this entry »

How to fix the “msvcrt-ruby18.dll is missing from your computer” error message in Ruby on Rails

November 11th, 2010 at 1:09 pm 11 Comments

Here’s how to fix that annoying Ruby on Rails popup message: “The program can’t start because msvcrt-ruby18.dll is missing from your computer. Try reinstalling the program to fix this problem.”

This fix applies if you’re using cucumber on Windows.
Read the rest of this entry »

How to fix a “sqlite3.dll missing” error message in Ruby on Rails

August 5th, 2010 at 2:10 pm 36 Comments

Here’s a little reminder for myself on how I fixed the “sqlite3.dll missing” error message I was getting while setting up a new Ruby on Rails environment.
Read the rest of this entry »