Updating Scriptaculous and Prototype with current project

Hi

I’ve been trying to use the latest version of Lightview. It says that
it needs:

Lightview requires Prototype 1.6.1 and Scriptaculous 1.8.2.

I have included the following in my project files:

But this obviously only works if the system is online. Unfortunately,
the project I am writing will not have a permanent connection to
t’internet.

My current project directory has versions of Prototype etc but not the
latest.

How do I “install” the latest versions?

I’ve tried rake rails:update:javascripts but this does not give me the
versions required above.

Any help would be superb!

Thanks

You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

The simplest approach is usually the easiest. Grab the files from the
googleapis urls. Put them in a subfolder under your javascripts
directory, leaving the existing versions in place.

Niels

On Dec 28, 2009, at 7:58 AM, Ruby on Rails: Talk wrote:

libs/prototype/1.6.1/prototype.js’>
How do I “install” the latest versions?
You received this message because you are subscribed to the Google G. “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Niels Meersschaert wrote:

The simplest approach is usually the easiest. Grab the files from the
googleapis urls.

Yes.

Put them in a subfolder under your javascripts
directory, leaving the existing versions in place.

No. Remove the existing versions. There’s no reason to have both in
the project in most cases.

Niels

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On Dec 28, 2009, at 2:33 PM, Marnen Laibow-Koser wrote:

Put them in a subfolder under your javascripts
directory, leaving the existing versions in place.

No. Remove the existing versions. There’s no reason to have both in
the project in most cases.

That’s true & what I originally drafted, but I thought the OP might run
into other compatibility problems with the rails helpers, so I suggested
a subfolder. This approach would let them try it without inducing other
issues, but once they’ve eliminated any issues or confirmed it works as
expected, Marnen’s suggestion is the ideal implementation.

Niels

You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.