2009/9/29 Ingmar Hamer <rails-mailing-l...@andreas-s.net>: > > Finally got it to run using the "system call"-approach: > > The trick to get it to run on my windows machine was using the "start" > command (that usually spawns a procell in a new shell). Why windows > executes the "dir" command without "start" but not the rake command is > beyond me, but at least now it is working:
Is rake a batch file in windows? That could explain this, I believe a batch file cannot just be run, it needs a command shell to do it. Whether it might explain other problems I do not know. Colin > > Windows: > system('start rake doc:app') > > Linux: > system('rake doc:app') > > > > I'd still be interested why the "test_rake"-Funktion in my previous post > doesn't start the rails task, just in case anybody sees my error... > > Thanks for your help! > > > @marnen > I SWEAR I WILL USE GOOGLE AND CHECK ANY DOCS BEFORE POSTING ;-) > > > > > > > > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---