*****************myservrer..........
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/usr/local/lib/ruby/gems/1.8/gems/money-1.7.1/lib/support/cattr_accessor.rb:7:in
`cattr_reader': undefined method `id2name' for {:instance_writer=>false}:Hash
(NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/money-1.7.1/lib/support/cattr_accessor.rb:5:in
`each'
from /usr/local/lib/ruby/gems/1.8/gems/money-1.7.1/lib/support/cattr_accessor.rb:5:in
`cattr_reader'
from /usr/local/lib/ruby/gems/1.8/gems/money-1.7.1/lib/support/cattr_accessor.rb:54:in
`cattr_accessor'
from /home/www/code.kid-safe.co.uk/code/releases/20080610212646/vendor/rails/activerecord/lib/active_record/base.rb:364
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /home/www/code.kid-safe.co.uk/code/releases/20080610212646/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
`require'
from /home/www/code.kid-safe.co.uk/code/releases/20080610212646/vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
`new_constants_in'
... 40 levels...
from /home/www/code.kid-safe.co.uk/code/releases/20080610212646/vendor/rails/railties/lib/commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from script/server:3
Any suggestions or help would be greatly appreciated. I am running
vendor/rails and everything else is working ok so the problem is certainly
the money gem or rails 2.1.0
best regards,
St.john
--
St.john Goldfinger
Managing Director
KidSafe Software LTD
Bridge Park, Gosforth
Newcastle upon Tyne
NE3 2DX, UK
Mobile: +44 (0)7799647824
Email: stj...@kid-safe.co.uk
Support: sup...@kid-safe.co.uk
Web: www.kid-safe.co.uk
Thanks for looking into this. I'll ensure that this file gets updated
to a more current implementation of cattr_accessor.
--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails