1

I'm getting error:

uninitialized constant ActionView::Helpers::JavaScriptElementProxy::ActionView

I've tried forcing a reinstall of jrails which didn't fix the error, and Googling the error has yet to yeild a result. Any suggestions? Ruby 1.9.1, Rails 2.3.4.

Schneems
  • 14,918
  • 9
  • 57
  • 84

2 Answers2

3

Reinstall it using the latest version on github:

./script/plugin install git://github.com/aaronchi/jrails.git --force
1

As said here, jrails has apparently been patched to work with Ruby 1.9.

The latest version is available on github.

Alternative link: http://github.com/aaronchi/jrails

Community
  • 1
  • 1
Damien MATHIEU
  • 31,924
  • 13
  • 86
  • 94
  • "I've tried forcing a reinstall of jrails which didn't fix the error" I'm still getting the same error. Since everyone's answer is to re-install (yes, i'm using the latest version on github), and that doesn't seem to work for me, i may have no choice but to go to install a different version of ruby...sigh. – Schneems Oct 19 '09 at 18:04