SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru downtroden's Avatar
    Join Date
    Dec 2004
    Location
    illinois
    Posts
    976
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    upgrading installed version of rails jquery

    So 1.7 was just released, would like to play with it, how do you upgrade/replace the installed version in rails 3.1.1?
    your brain reacts in the same way whether you are
    looking at something or thinking about it...

  2. #2
    SitePoint Guru downtroden's Avatar
    Join Date
    Dec 2004
    Location
    illinois
    Posts
    976
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, in the event that someone else needs to do this AND isn't willing to wait for the jquery-rails gem to be updated.

    In a terminal
    Code:
    gem environment
    Look for your gem path, go there. In that folder should be a directory called "gems". In that folder will be the jquery-rails gem folder. Navigate to the vendor/assets/javascripts directory and replace the jquery.js and jquery.min.js files with the most recent version of jquery.
    your brain reacts in the same way whether you are
    looking at something or thinking about it...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •