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 not working

#654

the zipfile http://dev.rubyonrails.org/archi... that the rake fails:freeze:edge task uses appears to not contain up to date code for rails edge. The last modified date on the zip is changing ( http://dev.rubyonrails.org/archi... ) so it is being regenerated but appears to conatin 2.0.991 all the time, and is not including new commits to rails edge

Reported by twalpole · July 18th, 2008 @ 09:41 PM

State: resolved
Milestone: 2.x
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Clemens Kofler
    Clemens Kofler
    • Tag changed from edge to 2.1, rake

    I agree that it's a little annoying that a standard rake task doesn't work. But why not just clone the GitHub repository in vendor/rails?

    rails your_app_name

    cd your_app_name/vendor

    git clone git://github.com/rails/rails.git

    That's it.

    July 20th, 2008 @ 06:56 PM

  2. twalpole
    twalpole

    While I agree that cloning the github repo is really simple, if thats going to be the recommended method then the rake take should be removed. Considering the rake task was changed to use the zip file when rails moved to github I think it should probably work too - I'm assuming its just a minor mistake in the script that generates the zip not actually pulling from the edge revision and should be relatively easy to fix. From the announcement about rails premiering n github

    "If you don’t have git, or don’t enjoy running it on your platform, you need not fear. We’ve set up an automated task to produce a zip file of Rails Edge that’ll be kept up to date all the time: http://dev.rubyonrails.org/archi.... This is also what we’ve made the new rake rails:freeze:edge use."

    July 20th, 2008 @ 07:48 PM

  3. Dieter Komendera
    Dieter Komendera
    • Tag changed from 2.1, rake to 2.1, patch, rake

    I agree with twalpole, you should be able to use rails without using git. I think the rake task should download the files directly from github.com.

    Attached find a patch which modifies the rake task to use github as download source.

    July 21st, 2008 @ 09:42 AM

  4. Clemens Kofler
    Clemens Kofler

    I don't have time to look at it right now but from looking at the source it looks good to me. So +1.

    July 21st, 2008 @ 10:03 AM

  5. Pratik
    Pratik
    • Assigned user set to Jeremy Kemper

    July 22nd, 2008 @ 01:38 AM

  6. Craig Buchek
    Craig Buchek

    +1. Nice job on getting the tag names correct in the doc string too. Better than the code I was planning on submitting before I came here and found an existing bug report.

    July 25th, 2008 @ 11:04 PM

  7. Pratik
    Pratik
    • State changed from new to resolved

    Koz said he fixed zip file generation http://groups.google.com/group/r...

    July 26th, 2008 @ 03:13 PM