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:update does not update prototype.js to the correct version

#5039

It appears that the new rails.js file requires prototype.js 1.7-rc2 but rake rails:update does not pull it in.

Reported by Frank J. Mattia · July 3rd, 2010 @ 12:13 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Mike Riley
    Mike Riley
    • State changed from new to resolved
    • Importance changed from to Low

    Hello,

    What version of Rails are you using with this? I tried Rails 3 rc 1 and when I ran rake rails:update it gave me the following information:

    identical public/javascripts/prototype.js

    Checking public/javascripts/prototype.js it shows the correct version you are looking for:
    Prototype JavaScript framework, version 1.7_rc2

    It appears that this was fixed. I am marking this as resolved, but if you are still having trouble with it, let me know the version of Rails you are using and I will try to reproduce this.

    Mike Riley

    July 29th, 2010 @ 09:34 PM

  2. Frank J. Mattia
    Frank J. Mattia

    I had reported this a few days after rails.js was updated and a few weeks before prototype.js was patched (I track edge daily for my internal projects)... A week or two ago I saw another ticket that matched this one but was supplied with a patch -- I'll go out on a limb and say because I hadn't supplied a patch my ticket was at the bottom of the todo list... No biggie - just thought it would be more convenient for whoever modified rails.js in the first place to commit their version of prototype rather than Joe Random just applying a patch to what "seemed to be" the necessary version.

    Cheers,
    - FJM

    July 29th, 2010 @ 10:22 PM