This project is archived and is in readonly mode.

#1000 ✓resolved
Akira Matsuda

Ruby 1.9 compat: block parameters must be local variable

Reported by Akira Matsuda | September 9th, 2008 @ 09:02 AM

Due to this change in Ruby 1.9, http://www.ruby-forum.com/topic/...

script/plugin throws a SyntaxError

formal argument cannot be an instance variable (SyntaxError)

in Ruby 1.9.

Added a patch tested on Ruby 1.9 trunk and Ruby 1.8.7.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages