Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rake rails:freeze:edge on windows

#2

This patch uses the system's 'unzip' command if available, or the rubyzip gem if the system does not have a 'unzip' command (e.g. on windows). If neither is available, it'll ask the user to install the rubyzip gem and exit.

It's rather ugly, though, feel free to improve.

Reported by August Lilleaas · April 14th, 2008 @ 08:40 PM

State: committed
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. August Lilleaas
    August Lilleaas

    Forgot to mention - this will fail now, as the rails_edge.zip on dev.rubyonrails.org is just an empty file. I tested this with a working zip, the parts except from the invalid zip seems to be working.

    April 14th, 2008 @ 08:45 PM

  2. August Lilleaas
    August Lilleaas
    • Title changed from rake rails:freeze:edge on windows to [PATCH] rake rails:freeze:edge on windows

    Should I bump? ; )

    April 16th, 2008 @ 12:56 PM

  3. John Barnette
    John Barnette
    • Title changed from [PATCH] rake rails:freeze:edge on windows to rake rails:freeze:edge on windows

    April 22nd, 2008 @ 08:25 AM

  4. Michael Koziarski
    Michael Koziarski

    We're looking into the zip file, it appears to be cron jobs stomping on one another or something.

    As for this, perhaps we could extract this all into a class in railties somewhere so the rake task isn't full of this code? Rails::Unzipper or some such?

    Look in the 1.2.x branch for a less 'horrible' way to detect whether or not we have a command installed. We used it previously for detecting svn.

    April 23rd, 2008 @ 09:31 AM

  5. DHH
    DHH
    • State changed from new to incomplete

    Change ticket status to open when fixed.

    April 29th, 2008 @ 11:21 PM

  6. Repository
    Repository
    • Tag set to patch, windows

    (from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite

    Sqlite has had DDL transactions since 2.0.0[1] and savepoints since 3.6.8[2]. This patch updates the connection_adapters.

    [1] http://tinyurl.com/sqlite-v2-0-0 [2] http://tinyurl.com/sqlite-v3-6-8

    Signed-off-by: Michael Koziarski michael@koziarski.com [#2080 state:committed] http://github.com/rails/rails/co...

    March 2nd, 2009 @ 05:47 AM

  7. Repository
    Repository

    (from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite

    Sqlite has had DDL transactions since 2.0.0[1] and savepoints since 3.6.8[2]. This patch updates the connection_adapters.

    [1] http://tinyurl.com/sqlite-v2-0-0 [2] http://tinyurl.com/sqlite-v3-6-8

    Signed-off-by: Michael Koziarski michael@koziarski.com [#2080 state:committed] http://github.com/rails/rails/co...

    March 2nd, 2009 @ 05:47 AM

  8. Rohit Arondekar
    Rohit Arondekar
    • State changed from incomplete to committed

    Changing state to committed as the patch was committed.

    June 17th, 2010 @ 07:33 AM