This project is archived and is in readonly mode.

#654 ✓resolved
twalpole

rake rails:freeze:edge not working

Reported by twalpole | July 18th, 2008 @ 09:41 PM | in 2.x

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

Comments and changes to this ticket

  • Clemens Kofler

    Clemens Kofler July 20th, 2008 @ 06:56 PM

    • 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.

  • twalpole

    twalpole July 20th, 2008 @ 07:48 PM

    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."

  • Dieter Komendera

    Dieter Komendera July 21st, 2008 @ 09:42 AM

    • 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.

  • Clemens Kofler

    Clemens Kofler July 21st, 2008 @ 10:03 AM

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

  • Pratik

    Pratik July 22nd, 2008 @ 01:38 AM

    • Assigned user set to “Jeremy Kemper”
  • Craig Buchek

    Craig Buchek July 25th, 2008 @ 11:04 PM

    +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.

  • Pratik

    Pratik July 26th, 2008 @ 03:13 PM

    • State changed from “new” to “resolved”

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

  • klkk

    klkk May 23rd, 2011 @ 03:09 AM

    • Importance changed from “” to “”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Pages