From: janus Date: 2008-09-21T21:17:03+09:00 Subject: Re: system(" rake db:sample_data:hoop) Things have starting moving in the right direction, however, Rake::Task['db:migrate VERSION=0'].invoke was aborted. What could have caused this? However, when I did rake db:migrate VERSION=0 on the console ,I got the expected result. Janus n Sep 20, 4:19 pm, janus wrote: > On Sep 20, 3:47 pm, Michael Guterl wrote: > > > > > > > Hi Janus, > > > On Sat, Sep 20, 2008 at 10:37 AM, janus wrote: > > > >> It is likely that I won't be able to help further, but if you could > > >> provide more information that would be great. > > > Well maybe I can help. > > > You can find more information by invokingrakewith the --trace argument. > > > rakedb:sample_data:remove --trace > > > On another note, I've never seen araketask delimited with a ' :' > > only with a ':'.  You may want to check the code above and remove the > > space after db. > > > One last thing, I think you can invoke theraketasks without the need > > for system.  Rake::Task['db:sample_data:remove'].invoke should work if > > I recall correctly. > > > HTH, > > Michael Guterl- Hide quoted text - > > > - Show quoted text - > > On another note, I've never seen araketask delimited with a ' :' > > only with a ':'.  You may want to check the code above and remove the > > space after db. > > my mistake.....it was in the code.- Hide quoted text - > > - Show quoted text -