Archive for March, 2009

Setting the Stage for Bad News

Tuesday, March 31st, 2009

Dear Mom and Dad, or should I say Grandma and Grandpa,

Yes, I am pregnant. No, I’m not married yet since Larry, my boyfriend, is out of a job. Larry’s employers just don’t seem to appreciate the skills he has learned since he quit high school. Larry looks much younger than you, Dad, even though he is three years older. I’m quitting college and getting a new job so we can get a apartment before the baby is born. I found a beautiful apartment above a 24-hour auto repair garage with good insulation so the exhaust fumes and noise won’t bother us.

I’m very happy. I thought you would be too.

Love, Ashley

P.S. There is no Larry. I’m not pregnant. I’m not getting married. I’m not quitting school, but I am getting a “D” in Chemistry. I just wanted you to have some perspective.

TDD, Under Your Fingers

Friday, March 13th, 2009

TDD and scalability come hand-in-hand

…but you still have to be skilled and fast at dropping this code. Being productive in TDD is hard in the begging because it’s a different coding approach all together and you need to get in the “routine”.

Corey Haines makes a good point on his ACC2009 Lightning Talk

rake features Error (missing gem_original_require)

Monday, March 9th, 2009

Issue

While running “rake features” I encountered a problem. Something about a missing “gem_original_require”.

Missing these required gems:
rspec-rails

Error

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such 

file to load -- spec/rails (MissingSourceFile)

Failed to load features/support/env.rb
	from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/rails/rspec.rb:2
	from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'
	from ./features/support/env.rb:15
	from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/cli.rb:227:in `require_files'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/cli.rb:225:in `each'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/cli.rb:225:in `require_files'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/cli.rb:148:in `execute!'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/cli.rb:13:in `execute'
	from /home/freddy/.gem/ruby/1.8/gems/cucumber-0.1.16/bin/cucumber:6
rake aborted!

Fix

sudo rake gems:install rspec-rails