# Edge and 1.8.2/1.8.4 issues

**URL:** <https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976>\
**Category:** Rails\
**Created:** [March 26, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976 "2006-03-26T17:47:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [March 26, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976/1 "2006-03-26T17:47:43Z")

</div>

I recently upgraded to 1.8.4 to try out mongrel, and so far have been in  
a kind of hell where I can’t get my app working!

Currently running (or trying to run):

Ruby version 1.8.4 (i386-mswin32)  
RubyGems version 0.8.11  
Rails version 1.0.0  
Active Record version 1.13.2  
Action Pack version 1.11.2  
Action Web Service version 1.0.0  
Action Mailer version 1.1.5  
Active Support version 1.2.5  
Edge Rails revision 4023

Edge no longer works with 1.8.2 on windows for some reason, and 1.8.4  
leaves me with errors which look like something to do with file encoding  
issues as discussed here:

[http://www.nabble.com/Problem-with-ruby-1.8.4-One-Click-Ruby-Installer-on-windows-t1296657.html#a3474082](http://www.nabble.com/Problem-with-ruby-1.8.4-One-Click-Ruby-Installer-on-windows-t1296657.html#a3474082)

I’m using edge as my app uses rjs etc extensively, so dropping back to  
v1 isn’t an option.

Dropping back to 1.8.2 leaves me with a number of errors which didn’t  
used to be there - something wrong with engines etc by the looks of it.  
Currently looking into that.

Any ideas on what to try next?  
Ideally I want to get 1.8.4 working, but that may not be an option if  
it’s a problem with 1.8.4 itself and not my setup.

I guess this is what I get for living on the edge :o)  
Really need to go out and buy a Mac one of these days.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [March 26, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976/2 "2006-03-26T17:57:28Z")

</div>

If you’ve got an error message relating to your problems that leads  
you to believe it might be something to do with engines, send me the  
log and I’ll have a look.

- james

On 3/26/06, Richard L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Action Web Service version 1.0.0
> 
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [March 26, 2006, 6:53pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976/3 "2006-03-26T18:53:28Z")

</div>

Having a conversation with myself here… :o)

The fact that some pages work and some don’t means I’ve been trying to  
work out what the differences are.

I made a test controller and action and called that - all works  
Copied across code from a broken action - all works  
Copied across view from the same action - all works

Ok, so by all intents and purposes these 2 are identical, yet one works  
and the other doesnt. Consistently.

Deleted all my routes except for the default and now they both work!  
Well, I get a load of errors because the named routes no longer exist  
and I’m using them in the view. But at least it’s getting there!

Something to do with routes I think then!

Will probe some more and see what I can find.

–  
R.Livsey

> **[Livsey.org](http://livsey.org)**
>
> I’ve been using Firebase with Ember.js quite a lot recently and have just
> released Fireplace, a library to integrate the two more easily. It

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [March 26, 2006, 7:03pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976/4 "2006-03-26T19:03:52Z")

</div>

It gets stranger…

Narrowed it down to this line in routes.rb:

map.connect ‘:controller/service.wsdl’, :action =\> ‘wsdl’

One of the default routes.

If I comment it out, all works fine.  
Left in and WEBrick crashes!

I have absolutely no idea why, but I don’t use web services at the  
moment so it’s staying commented out!

Fingers crossed everything looks fairly stable now.

If anyone has any ideas how I can debug further and find out why that  
line crashes WEBrick then I will be happy to spend some more time  
looking into it and see what’s actually causing it.

–  
R.Livsey

> **[Livsey.org](http://livsey.org)**
>
> I’ve been using Firebase with Ember.js quite a lot recently and have just
> released Fireplace, a library to integrate the two more easily. It

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [March 26, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/edge-and-1-8-2-1-8-4-issues/55976/5 "2006-03-26T18:21:03Z")

</div>

Hmm, I downgraded back to 1.8.2 and now I can at least get one page of  
my app up (which does nothing) but as soon as I go to any other page  
WEBrick crashes.

One thing after the other!

This one doesn’t look to have anything to do with engines. More like the  
rails itself doing something odd. This is one of the problems I had the  
other day too.

Error trace below:

#\<NoMethodError: You have a nil object when you didn’t expect it!  
You might have expected an instance of Array.  
The error occured while evaluating nil.[]\>  
[“d:/programming/ruby/lib/ruby/1.8/profiler.rb:30”  
“d:/programming/ruby/lib/ruby/1.8/profiler.rb:5:in `==='”  
“./script/…/config/…/vendor/rails/railties/lib/dispatcher.rb:40:in  
`==='”  
“./script/…/config/…/vendor/rails/railties/lib/dispatcher.rb:40:in  
`dispatch’”  
“./script/…/config/…/vendor/rails/railties/lib/webrick\_server.rb:115:in  
`handle\_dispatch’”  
“./script/…/config/…/vendor/rails/railties/lib/webrick\_server.rb:81:in  
`service’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in  
`service’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:155:in  
`start\_thread’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:144:in  
`start\_thread’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start’”  
“d:/programming/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start’”  
“./script/…/config/…/vendor/rails/railties/lib/webrick\_server.rb:67:in  
`dispatch’”  
“./script/…/config/…/vendor/rails/railties/lib/commands/servers/webrick.rb:59”  
“d:/programming/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require\_\_'”  
“d:/programming/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require’”  
“./script/…/config/…/vendor/rails/activesupport/lib/active\_support/dependencies.rb:149:in  
`require’”  
“./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:34”  
“d:/programming/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require\_\_'”  
“d:/programming/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require’”  
“script/server:7”]

% cumulative self self total  
time seconds seconds calls ms/call ms/call name  
329.21 10.03 10.03 1 10031.00 10031.00  
Profiler\_\_.start\_profile  
46.54 11.45 1.42 885 1.60 2.98 Array#include?  
27.17 12.28 0.83 5758 0.14 0.14 Module#==  
15.46 12.75 0.47 29 16.24 161.17 IO#select  
2.63 12.83 0.08 877 0.09 0.09  
Module#included\_modules  
2.49 12.90 0.08 1 76.00 2859.00  
Module#included\_in\_classes  
1.05 12.94 0.03 1 32.00 2969.00  
Breakpoint.deactivate\_drb  
0.53 12.95 0.02 30 0.53 0.53 Kernel.==  
0.53 12.97 0.02 10 1.60 10.90 Array#each  
0.53 12.98 0.02 1 16.00 16.00 Thread#kill  
0.53 13.00 0.02 1 16.00 31.00  
ObjectSpace.each\_object  
0.53 13.02 0.02 96 0.17 0.17  
Module#undef\_method  
0.53 13.03 0.02 27 0.59 0.59 Float#\>  
0.49 13.05 0.02 99 0.15 0.31 Kernel.send  
0.49 13.06 0.01 12 1.25 1.25 Module#===  
0.49 13.08 0.01 1 15.00 2890.00  
Dispatcher#reset\_application!  
0.00 13.08 0.00 1 0.00 0.00 Object#initialize  
0.00 13.08 0.00 1 0.00 0.00  
ActionController::Routing::RouteSet#recognize!  
0.00 13.08 0.00 5 0.00 0.00  
WEBrick::HTTPServer#run  
0.00 13.08 0.00 2 0.00 0.00 Array#\*  
0.00 13.08 0.00 5 0.00 0.00 Array#+  
0.00 13.08 0.00 13 0.00 0.00 Kernel.hash  
0.00 13.08 0.00 2 0.00 0.00  
Dependencies.loaded  
0.00 13.08 0.00 1 0.00 0.00  
Exception#initialize  
0.00 13.08 0.00 1 0.00 0.00 Thread#initialize  
0.00 13.08 0.00 1 0.00 3016.00  
DispatchServlet#service  
0.00 13.08 0.00 5 0.00 0.00  
Errno::ENOTCONN#===  
0.00 13.08 0.00 1 0.00 2859.00  
Reloadable.reloadable\_classes  
0.00 13.08 0.00 8 0.00 0.00 Array#collect  
0.00 13.08 0.00 2 0.00 0.00 String#downcase  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.rails\_pre\_engines\_require\_or\_load  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.mechanism  
0.00 13.08 0.00 2 0.00 0.00 Array#[]  
0.00 13.08 0.00 12 0.00 0.00 Hash#[]  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::HTTPServer#service  
0.00 13.08 0.00 2 0.00 0.00 Module#parent  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.load?  
0.00 13.08 0.00 1 0.00 0.00 Array#flatten  
0.00 13.08 0.00 1 0.00 3047.00 #toplevel  
0.00 13.08 0.00 2 0.00 0.00 Array#empty?  
0.00 13.08 0.00 1 0.00 0.00 Class#new  
0.00 13.08 0.00 1 0.00 0.00 Mutex#locked?  
0.00 13.08 0.00 1 0.00 0.00 NameError#to\_s  
0.00 13.08 0.00 1 0.00 0.00 Kernel.raise  
0.00 13.08 0.00 30 0.00 0.00 String#==  
0.00 13.08 0.00 4 0.00 0.00 String#split  
0.00 13.08 0.00 1 0.00 0.00 Fixnum#\>  
0.00 13.08 0.00 1 0.00 47.00  
ActiveRecord::Base#reset\_subclasses  
0.00 13.08 0.00 1 0.00 0.00 Array#reverse  
0.00 13.08 0.00 2 0.00 0.00  
WEBrick::HTTPRequest#[]  
0.00 13.08 0.00 1 0.00 0.00  
CGI::Session::ActiveRecordStore::Session#subclasses  
0.00 13.08 0.00 1 0.00 0.00  
DRb::DRbTCPSocket#close  
0.00 13.08 0.00 1 0.00 0.00  
Errno::ECONNRESET#===  
0.00 13.08 0.00 1 0.00 0.00  
#ActionController::Routing::RouteSet:0x33b66a0.recognize\_path  
0.00 13.08 0.00 1 0.00 0.00  
Module#rake\_original\_const\_missing  
0.00 13.08 0.00 18 0.00 0.00 Array#\<\<  
0.00 13.08 0.00 3 0.00 0.00  
Exception#backtrace  
0.00 13.08 0.00 1 0.00 0.00  
DRb::DRbServer#main\_loop  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::HTTPStatus::NotFound#exception  
0.00 13.08 0.00 6 0.00 0.00 Thread#current  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.rails\_1\_1\_require\_or\_load  
0.00 13.08 0.00 2 0.00 0.00 Array#last  
0.00 13.08 0.00 1 0.00 0.00 Class#superclass  
0.00 13.08 0.00 3 0.00 0.00 Hash#[]=  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::GenericServer#start  
0.00 13.08 0.00 1 0.00 0.00 ThreadGroup#add  
0.00 13.08 0.00 1 0.00 0.00  
DRb::DRbServer#kill\_sub\_thread  
0.00 13.08 0.00 5 0.00 0.00 Hash#default  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.require\_or\_load  
0.00 13.08 0.00 1 0.00 0.00  
Enumerable.member?  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::HTTPRequest#fixup  
0.00 13.08 0.00 1 0.00 0.00  
ActionController::Routing::ControllerComponent#traverse\_to\_controller  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::SimpleServer#start  
0.00 13.08 0.00 1 0.00 0.00  
Kernel.remove\_instance\_variable  
0.00 13.08 0.00 2 0.00 0.00  
Kernel.respond\_to?  
0.00 13.08 0.00 1 0.00 0.00  
Module#const\_missing  
0.00 13.08 0.00 25 0.00 0.00 String#inspect  
0.00 13.08 0.00 2 0.00 0.00 Module#const\_get  
0.00 13.08 0.00 2 0.00 0.00 Kernel.require  
0.00 13.08 0.00 1 0.00 0.00 Thread#new  
0.00 13.08 0.00 4 0.00 0.00 IO#write  
0.00 13.08 0.00 1 0.00 0.00  
DispatchServlet#handle\_dispatch  
0.00 13.08 0.00 1 0.00 0.00 Exception#inspect  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.clear  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::HTTPRequest#body  
0.00 13.08 0.00 1 0.00 0.00  
Exception#set\_backtrace  
0.00 13.08 0.00 1 0.00 0.00 Array#inspect  
0.00 13.08 0.00 1 0.00 0.00 Array#size  
0.00 13.08 0.00 2 0.00 0.00 Module#name  
0.00 13.08 0.00 1 0.00 0.00  
Module#instance\_methods  
0.00 13.08 0.00 1 0.00 2969.00  
Dispatcher#reset\_after\_dispatch  
0.00 13.08 0.00 1 0.00 0.00  
ActiveRecord::Base#subclasses  
0.00 13.08 0.00 1 0.00 0.00 Kernel.p  
0.00 13.08 0.00 27 0.00 0.00 Float#-  
0.00 13.08 0.00 1 0.00 0.00  
Class#const\_missing  
0.00 13.08 0.00 1 0.00 0.00 Array#shift  
0.00 13.08 0.00 1 0.00 0.00  
WEBrick::HTTPRequest#read\_body  
0.00 13.08 0.00 1 0.00 0.00 Mutex#unlock  
0.00 13.08 0.00 38 0.00 0.00 Module#to\_s  
0.00 13.08 0.00 1 0.00 0.00 User#subclasses  
0.00 13.08 0.00 2 0.00 0.00  
Module#remove\_const  
0.00 13.08 0.00 96 0.00 0.00  
Module#method\_undefined  
0.00 13.08 0.00 1 0.00 0.00 Hash#clear  
0.00 13.08 0.00 1 0.00 0.00 Object#require  
0.00 13.08 0.00 1 0.00 0.00 Array#select  
0.00 13.08 0.00 2 0.00 0.00  
CGI::Session::ActiveRecordStore::Session#reloadable?  
0.00 13.08 0.00 1 0.00 2969.00  
Dispatcher#dispatch  
0.00 13.08 0.00 2 0.00 0.00 Thread#critical=  
0.00 13.08 0.00 4 0.00 3.75 Enumerable.inject  
0.00 13.08 0.00 1 0.00 0.00  
Kernel.instance\_variables  
0.00 13.08 0.00 1 0.00 0.00 IO#close  
0.00 13.08 0.00 1 0.00 0.00 Kernel.nil?  
0.00 13.08 0.00 1 0.00 2937.00  
DRb::DRbServer#stop\_service  
0.00 13.08 0.00 1 0.00 0.00  
DispatchServlet#dispatch  
0.00 13.08 0.00 3 0.00 0.00 String#empty?  
0.00 13.08 0.00 1 0.00 0.00  
Dependencies.depend\_on  
0.00 13.08 0.00 1 0.00 0.00  
DRb::DRbTCPSocket#accept  
0.00 13.08 0.00 1 0.00 0.00 Set#clear  
0.00 13.08 0.00 1 0.00 0.00 ThreadGroup#list  
0.00 13.08 0.00 1 0.00 0.00  
ActionController::Base#allow\_concurrency  
0.00 13.08 0.00 1 0.00 0.00  
Class#remove\_class  
0.00 13.08 0.00 2 0.00 0.00  
Module#const\_defined?  
0.00 13.08 0.00 1 0.00 10031.00 Object#load  
d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object  
when you  
didn’t expect it! (NoMethodError)  
You might have expected an instance of Array.  
The error occured while evaluating nil.[] from  
d:/programming/ruby/lib/rub  
y/1.8/profiler.rb:5:in `require' from script/server:7:in `require’  
from script/server:7

–  
R.Livsey

> **[Livsey.org](http://livsey.org)**
>
> I’ve been using Firebase with Ember.js quite a lot recently and have just
> released Fireplace, a library to integrate the two more easily. It
