Posts Tagged ‘Ruby on Rails’

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. Here are some of my notes on how I got started. 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 10 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 35 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 »

How to create migrations in Ruby on Rails that only run in the development enviroment

February 13th, 2010 at 12:52 am 1 Comment

This is a reminder for myself for when I want to use a migration to create test data for the development environment only.
Read how »