Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Ishan Anand
RE: problem getting started [ reply ]  
2008-10-28 19:00
I recall having a similar problem that was fixed by adding the following lines to init.rb in the facebooker folder:

require 'facebooker/rails/facebook_form_builder'
require 'facebooker/rails/helpers'



By: Lee Mallabone
problem getting started [ reply ]  
2008-09-07 13:58
Hiya,

I'm trying to use facebooker 0.9.5 but am running into problems getting set up. I've downloaded the tarball, and unpacked it into my rails app's vendor/plugin directory in the usual manner.

However, when I start my rails app (via mongrel), it crashes out at startup, with the following trace:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:376:in `new_constants_in'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:202:in `load_file'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:94:in `require_or_load'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:248:in `load_missing_constant'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in `const_missing'
/Users/lee/Code/rails/testapp/vendor/plugins/facebooker-0.9.5/init.rb:15:in `inherited'
/Users/lee/Code/rails/testapp/app/controllers/application.rb:4
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
......

I'm running rails 1.2.6 on ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0].
I've added a config/facebooker.yml file to my rails app so I'm unsure what else to try to get me started with facebooker. Any ideas?

Thanks,
Lee.