# MiddleMan Class missing with backgroundrb 1.1 version?

**URL:** <https://www.ruby-forum.com/t/middleman-class-missing-with-backgroundrb-1-1-version/177392>\
**Category:** Rails\
**Created:** [October 16, 2009, 7:00am UTC](https://www.ruby-forum.com/t/middleman-class-missing-with-backgroundrb-1-1-version/177392 "2009-10-16T07:00:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learn\_ruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/958977/32.png) [@learn\_ruby](https://www.ruby-forum.com/u/learn_ruby)\
**Post date:** [October 16, 2009, 7:00am UTC](https://www.ruby-forum.com/t/middleman-class-missing-with-backgroundrb-1-1-version/177392/1 "2009-10-16T07:00:46Z")

</div>

Hi All,

This might seems to be a silly post for all the pros out there but can  
anyone please try to answer my question?

I have installed backgroundrb 1.1 version on my RH Linux system.  
And now I don’t see any MiddleMan class in any of the backgroundrb.rb  
files under $RAILS\_ROOT/vendor/plugins/backgroundrb/  
lib/ and  
script/

I have totally followed the steps from :  
[http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/](http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/)

and installed the chronic packets as mentioned @  
[http://backgroundrb.gnufied.org/index.html](http://backgroundrb.gnufied.org/index.html)

When I run the tasks from my ROR framework, I get the following error:  
undefined method `[]’ for #

This error is caused from the controller file where I am creating a new  
MiddleMan thread.

if MiddleMan[server] == nil  
puts “creating thread #{server} at #{Time.now}”  
end
