Ruby on Rails and Problems with Facebook Rake Task
Dec 22
If you’re new to developing Facebook applications with Rails then here’s a tip for you. You’ll need to install the RFacebook gem for starters: gem install rfacebook. If you read any of the online tutorials you’ll read that you need to run the rake facebook:setup task to create the facebook.yml file. You may end up seeing the following error message:
Don’t know how to build task ‘facebook:setup’
If so, you’ll need to install the rfacebook plugin using script/plugin install svn://rubyforge.org/var/svn/rfacebook/plugins/rfacebook_on_rails. After you install the plugin then rake facebook:setup should run perfectly and create your default facebook.yml file.

I did everthing mentioned here and in other places but I still get the same error when I do the rake command.
C:\InstantRails\rails_apps\connect_tutorial>gem install rfacebook
Successfully installed rfacebook-0.9.8
1 gem installed
Installing ri documentation for rfacebook-0.9.8…
Installing RDoc documentation for rfacebook-0.9.8…
C:\InstantRails\rails_apps\connect_tutorial>rake facebook:setup
(in C:/InstantRails/rails_apps/connect_tutorial)
rake aborted!
Don’t know how to build task ‘facebook:setup’
(See full trace by running task with –trace)
C:\InstantRails\rails_apps\connect_tutorial>ruby script/plugin install svn://rubyforge.org/var/svn/rfacebook/plugins/rfacebook_on_rails
C:\InstantRails\rails_apps\connect_tutorial>rake facebook:setup
(in C:/InstantRails/rails_apps/connect_tutorial)
rake aborted!
Don’t know how to build task ‘facebook:setup’
(See full trace by running task with –trace)
C:\InstantRails\rails_apps\connect_tutorial>