# Rake task writing question

**URL:** <https://www.ruby-forum.com/t/rake-task-writing-question/173542>\
**Category:** Ruby\
**Created:** [August 11, 2009, 6:50am UTC](https://www.ruby-forum.com/t/rake-task-writing-question/173542 "2009-08-11T06:50:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marfarma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a3d4f5/32.png) [@marfarma](https://www.ruby-forum.com/u/marfarma)\
**Post date:** [August 11, 2009, 6:50am UTC](https://www.ruby-forum.com/t/rake-task-writing-question/173542/1 "2009-08-11T06:50:55Z")

</div>

rake question: given code like:

Cucumber::Rake::Task.new({:ok =\> ‘db:test:prepare’}, ‘Run features  
that should pass’) do |t|

How would I add an additional instruction to the {:ok =\>  
‘db:test:prepare’} section?

I’d like to do more here than just preparing a test-database – how do  
I add additional commands --\> like also preparing a test couchdb  
database at the same time? Do I just add a semi-colon, and then the  
additional code? Any other suggestions?
