tag:blogger.com,1999:blog-6799088.post1658990860924623627..comments2024-03-28T07:20:33.424+00:00Comments on Instant Badger: Rake gotcha on WindowsAlistair Davidsonhttp://www.blogger.com/profile/07415960315873865766noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6799088.post-44029777385879256312011-12-02T19:03:04.909+00:002011-12-02T19:03:04.909+00:00Sorry to comment on such an old post, but I am con...Sorry to comment on such an old post, but I am confused. Do I insert your comments and code line at the top of the rakefile that is in my application root folder (C:\Sites\ffcrm\rakefile) or is there another rakefile I need to edit with your comments and code. Then do I enter in the system("#{RAKE_CMD}", "name_of_other_task") in the cmd prompt? I am trying to run rake db:migrate:plugins, but it keeps giving me the message: "The syntax of the command is incorrect."<br /><br />I am new to all of this, so I am struggling to figure out how to run rake commands in Windows.Anonhttps://www.blogger.com/profile/08562629576343035537noreply@blogger.comtag:blogger.com,1999:blog-6799088.post-41377162279262807502009-10-05T09:23:30.708+01:002009-10-05T09:23:30.708+01:00I am listening first time about Rake. Can you tell...I am listening first time about Rake. Can you tell me something about rake technology and use of this.Rebecahttp://www.asiarooms.comnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-11783112584734351642009-01-22T18:46:00.000+00:002009-01-22T18:46:00.000+00:00An easier way to do this is to go to c:\ruby\bin a...An easier way to do this is to go to c:\ruby\bin and copy one of the bat files (I copied gem.bat), edit the file to say 'rake' instead of 'gem' and then you need to copy the rake.rb file (c:\ruby\bin\rake.rb) to be instead just rake (c:\ruby\bin\rake) and then you don't have to modify any of your code anyway since now 'rake' at the command line will work.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-39952851411688406772008-09-21T13:08:00.000+01:002008-09-21T13:08:00.000+01:00Great post, help saved me from sleepless nightsGreat post, help saved me from sleepless nightsEmekahttps://www.blogger.com/profile/16813050192458088812noreply@blogger.comtag:blogger.com,1999:blog-6799088.post-23739167506371870612008-09-20T01:37:00.000+01:002008-09-20T01:37:00.000+01:00RUBY_PLATFORM =~ /(:?mswin|mingw)/actually more co...RUBY_PLATFORM =~ /(:?mswin|mingw)/<BR/>actually more correct<BR/>(macOSX = darwin) ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-79336861410263153652008-04-03T15:58:00.000+01:002008-04-03T15:58:00.000+01:00Thanks. I'll give it a try. The if-then-else alone...Thanks. I'll give it a try. The if-then-else alone would make me very happy!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-9680318565622994832008-04-03T15:52:00.000+01:002008-04-03T15:52:00.000+01:00Martin: Now then, now then!You can indeed run Rake...Martin: Now then, now then!<BR/><BR/>You can indeed run Rake from Eclipse, I haven't done it myself but here's a <A HREF="http://www.asserttrue.com/articles/2007/03/13/running-rake-from-eclipse" REL="nofollow">guide to getting it started</A><BR/><BR/>As for using rake for CF projects, I can't think of any reason why you wouldn't. We use it to build our Java stuff (with our home-grown <A HREF="http://code.trampolinesystems.com/jerbil" REL="nofollow">JERBIL</A> to simplify Java compilation and execution)<BR/><BR/>Rake gives you the full expressive power of Ruby, and means you can cut down the bloated XML of an ANT file tremendously. It also means you can do things like if-then-else just like that, without jumping through the icky minging semantic workaround hoops that ANT sometimes puts you through.Alistair Davidsonhttps://www.blogger.com/profile/07415960315873865766noreply@blogger.comtag:blogger.com,1999:blog-6799088.post-34157330328853946522008-04-03T15:41:00.000+01:002008-04-03T15:41:00.000+01:00Thanks a lot, very handy tipThanks a lot, very handy tipAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-23924196783310351742008-04-03T15:38:00.000+01:002008-04-03T15:38:00.000+01:00Yo! Simple question: would you recommend Rake as a...Yo! Simple question: would you recommend Rake as an alternative to ant for building non ruby apps (by which I mean CF)? I like ant but it sometimes does my head in.<BR/><BR/>Do you know if you can integrate it with Eclipse?Anonymousnoreply@blogger.com