Hi all,
Since 0.13 just got out, I decided to live a little on the edge and
upgraded my working 0.12.1 Rails apps to 0.13. Which made them crash
with a bang!
After a little investigation it looks like even a fresh app will crash
with a message: "allocator undefined for proc"... I''m on Win
XP,
everything was fine under Rails 0.12.1
Any help would be highly appreciated.
--
D:\Xfp\Prog\www>ruby -v
ruby 1.8.2 (2004-07-29) [i386-mswin32]
D:\Xfp\Prog\www>rails test_app
create
(...)
create log/test.log
D:\Xfp\Prog\www\test_app>rake
(in D:/Xfp/Prog/www/test_app)
rake aborted!
allocator undefined for Proc
./rakefile:15
D:\Xfp\Prog\www\test_app>ruby script/server
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/
code_generation.rb:68:in `dup'': allocator undefined for Proc
(NoMethodError)
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:68:in
`dup''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:66:in
`each''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:66:in
`dup''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:46:in
`method_missing''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:46:in
`indent''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:46:in
`method_missing''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/routing.rb:443:in
`write_recognition''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/routing.rb:545:in
`draw''
from ./script/../config/../config/routes.rb:1
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in
`load''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in
`load''
from
c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/routing.rb:522:in
`reload''
from ./script/../config/environment.rb:65
from script/server:42:in `require''
from script/server:42
On 7/8/05, Xavier Priour <xavier-8CtH5rHhpl/QT0dZR+AlfA@public.gmane.org> wrote:> Hi all, > > Since 0.13 just got out, I decided to live a little on the edge and > upgraded my working 0.12.1 Rails apps to 0.13. Which made them crash > with a bang! > After a little investigation it looks like even a fresh app will crash > with a message: "allocator undefined for proc"... I''m on Win XP, > everything was fine under Rails 0.12.1 > Any help would be highly appreciated.We had another report of this earlier on irc, that was caused by running a prerelease version of ruby 1.8. The error you''re seeing doesn''t affect my setup: irb(main):001:0> p = Proc.new {puts 1} => #<Proc:0x10196970@(irb):1> irb(main):002:0> p.dup => #<Proc:0x10196970@(irb):1> Are you running the latest ruby? -- Cheers Koz