views:

40

answers:

2

I have install gem rak i want to use rak command inside rake task ...

How may i use that ??

I know how to use it on command prompt ...

This is working fine on command prompt ...

rak RAILS_ENV

A: 

to run 'rak' you can either run it as a command, like

 a = `rak asdf`

ref: http://en.wikibooks.org/wiki/Ruby_Programming/Running_Multiple_Processes

or hack into the rak source code and figure out how to call it.

rogerdpack