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:
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---