# Rails 2.1 , how to upgrade Prototype version to 1.6.0.2?

**URL:** <https://www.ruby-forum.com/t/rails-2-1-how-to-upgrade-prototype-version-to-1-6-0-2/141147>\
**Category:** Rails\
**Created:** [June 22, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/rails-2-1-how-to-upgrade-prototype-version-to-1-6-0-2/141147 "2008-06-22T19:06:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [June 22, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/rails-2-1-how-to-upgrade-prototype-version-to-1-6-0-2/141147/1 "2008-06-22T19:06:16Z")

</div>

at the present time all my new apps are created with the Protoype.js  
version 1.6.0.1…  
the latest version 1.6.0.2 correct some bugs…  
how can I upgrade my rails lib to the new version and get this latest  
version included in all my new rails apps… ?

thanks fyl

Erwin

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [June 22, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/rails-2-1-how-to-upgrade-prototype-version-to-1-6-0-2/141147/2 "2008-06-22T19:30:56Z")

</div>

On Jun 22, 6:05 pm, Erwin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> at the present time all my new apps are created with the Protoype.js  
> version 1.6.0.1…  
> the latest version 1.6.0.2 correct some bugs…  
> how can I upgrade my rails lib to the new version and get this latest  
> version included in all my new rails apps… ?

just upgrade the files in your\_app/public/javascripts

Fred

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [June 22, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/rails-2-1-how-to-upgrade-prototype-version-to-1-6-0-2/141147/3 "2008-06-22T19:40:40Z")

</div>

Frederick C. wrote:

> On Jun 22, 6:05ï¿½pm, Erwin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > at the present time all my new apps are created with the Protoype.js  
> > version 1.6.0.1…  
> > the latest version 1.6.0.2 correct some bugs…  
> > how can I upgrade my rails lib to the new version and get this latest  
> > version included in all my new rails apps… ?
> 
> just upgrade the files in your\_app/public/javascripts
> 
> Fred

oh wow,  
I thought rake rails:update:javascripts did a remote fetch,  
but it seems it just copies them over from the gem…  
crazy stuff!
