small medium large xlarge

Generic-user-small
03 Sep 2009, 19:02
jacter (3 posts)

Karate Poke @ my computer works fine Mac OS X 10.5.6 ruby 1.8.6 Rails 2.3.3

But when I deploy to heroku.com,it fails. It looks like config/facebooker.yml syntax error?? I don’t know why it don’t work. I certainly update the newest version of facebooker.

App failed to start

/disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/lib/facebooker/adapters/adapter_base.rb:43:in `load_adapter’: Facebooker::AdapterBase::UnableToLoadAdapter (Facebooker::AdapterBase::UnableToLoadAdapter)

from /disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/lib/facebooker.rb:139:in `load_adapter'

from /disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/lib/facebooker.rb:65:in `apply_configuration'

from /disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/lib/facebooker.rb:45:in `load_configuration'

from /disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/rails/../init.rb:6

from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:158:in `require'

from /disk1/home/slugs/45573_db594c5_8c4d/mnt/vendor/plugins/facebooker/rails/init.rb:1:in `evaluate_init_rb'

 ... 27 levels...

from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/builder.rb:29:in `instance_eval'

from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/builder.rb:29:in `initialize'

from /home/heroku_rack/heroku.ru:1:in `new'

from /home/heroku_rack/heroku.ru:1

and this is my facebooker.yml(secret_key is replaced by a fake key)

development:

api_key: 6f58a1028c130a5b3a4a89f321121adc

secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

canvas_page_name: developingg

callback_url: http://smooth-ice-15.heroku.com:80

pretty_errors: true

set_asset_host_to_callback_url: true

tunnel:

public_host_username: jacter

public_host: smooth-ice-15.heroku.com

public_port: 80   

local_port: 3000

server_alive_interval: 0

test:

api_key:

secret_key:

canvas_page_name:

callback_url:

set_asset_host_to_callback_url: true

tunnel:

public_host_username: 

public_host: 

public_port: 4007

local_port: 3000 

server_alive_interval: 0

production:

api_key:

secret_key:

canvas_page_name:

callback_url:

set_asset_host_to_callback_url: true

tunnel:

public_host_username:

public_host: 

public_port: 4007

local_port: 3000

server_alive_interval: 0

Thanks.

Head_pragsmall
03 Sep 2009, 20:57
Mike Mangino (543 posts)

It looks like you need a production api key and secret key for your heroku app.

Generic-user-small
12 Sep 2009, 14:01
jacter (3 posts)

It’s work, thanks you

You must be logged in to comment