Good follow the instructions:
$ bundle installFetching source index for http://rubygems.org/You have 
requested:  will_paginate = 3.0.pre2
The bundle currently has will_paginate locked at 3.0.pre4.Try running `bundle 
update will_paginate`$ bundle update will_paginateFetching source index for 
http://rubygems.org/.Installing will_paginate (3.0.pre2) .$ gem uninstall 
will_paginateSelect gem to uninstall: 1. will_paginate-3.0.pre2 2. 
will_paginate-3.0.pre4 3. All versions> 2
run mi app normally miapp$ rails s
Thas Ok! its Works

Date: Mon, 8 Aug 2011 20:34:15 -0700
From: [email protected]
To: [email protected]
Subject: [Hobo Users] Re: `@active_record/relation' is not allowed as an 
instance variable name

When you do the install of hobo it pulls in the latest version of will_paginate 
as a dependency.  The problem is the latest version is causing your problem. 
Add the following line to your gemfile.
gem "will_paginate", "3.0.pre2"

Then do a bundle install and check your installed versions of gems, gem list. 
You will probably see 2 version of will_paginate installed.  Do a gem uninstall 
will_paginate and select the one that isn't 3.0.pre2.  After that you should be 
good to go.
By adding the line above to the gemfile you are telling bundler to use that 
specific version. bundler install will install that version and set it in the 
gemfile.lock file. Once that is done it's safe to remove the version causing 
all your problems.
Bob



-- 

You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.

To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/u1TA5fCoNWcJ.
 
To post to this group, send email to [email protected].

To unsubscribe from this group, send email to 
[email protected].


For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.
                                          

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to