Facebooker2 installation issues

22 views
Skip to first unread message

Kavin Preethi Narasimhan

unread,
Dec 28, 2010, 8:37:59 AM12/28/10
to facebooker
Hi All,

I am trying to install facebooker2 in my rails app. However there are
some issues when I try doing this.

Step1 : I installed gem mogli

Step2 : I installed facebooker2 gem using bundle install ( I am using
rails 3)

Step 3 : I created a file, config/facebooker.yml and gave the
necessary details

Step4 : Created another file , config/initializers/facebooker2.rb and
placed this line in it Facebooker2.load_facebooker_yaml

Step5 : I included the gem in config/environment.rb

But now, when I try to include the line -- include
Facebooker2::Rails::Controller
-- in the application_controller.rb, I errors similar to the one
specified in this thread http://groups.google.com/group/facebooker/browse_thread/thread/567c689582616cab?fwc=1

Any help will be much appreciated.

Thanks


Mike Mangino

unread,
Dec 28, 2010, 8:48:22 AM12/28/10
to faceb...@googlegroups.com
You need to include the Facebooker module into your application controller.

Mike

> --
> You received this message because you are subscribed to the Google Groups "facebooker" group.
> To post to this group, send email to faceb...@googlegroups.com.
> To unsubscribe from this group, send email to facebooker+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/facebooker?hl=en.
>

--
Mike Mangino
http://www.elevatedrails.com

Kavin Preethi Narasimhan

unread,
Dec 29, 2010, 2:03:58 PM12/29/10
to facebooker
Thanks for your reply Mr. Mike. Could you shed little more details
about the Facebooker module to be included in the application
controller?

Thanks

Sincerely,
Kavin

On Dec 28, 1:48 pm, Mike Mangino <mmang...@elevatedrails.com> wrote:
> You need to include the Facebooker module into your application controller.
>
> Mike
>
> On Dec 28, 2010, at 8:37 AM, Kavin Preethi Narasimhan wrote:
>
>
>
> > Hi All,
>
> > I am trying to install facebooker2 in my rails app.  However there are
> > some issues when I try doing this.
>
> > Step1 : I installed gem mogli
>
> > Step2 : I installed facebooker2 gem using bundle install ( I am using
> > rails 3)
>
> > Step 3 : I created a file, config/facebooker.yml and gave the
> > necessary details
>
> > Step4 : Created another file , config/initializers/facebooker2.rb and
> > placed this line in it Facebooker2.load_facebooker_yaml
>
> > Step5 : I included the gem in config/environment.rb
>
> > But now, when I try to include the line -- include
> > Facebooker2::Rails::Controller
> >     -- in the application_controller.rb, I errors similar to the one
> > specified in this threadhttp://groups.google.com/group/facebooker/browse_thread/thread/567c68...

Kavin Preethi Narasimhan

unread,
Dec 29, 2010, 2:11:00 PM12/29/10
to facebooker
And also,

1) Should Facebooker2 be installed as a Gem or as a Plugin?

2) Apart from mogli ( a gem), is there any other dependency that
facebooker2 needs?

Any help is much appreciated

thanks

Kavin

On Dec 29, 7:03 pm, Kavin Preethi Narasimhan

Mike Mangino

unread,
Dec 29, 2010, 2:17:29 PM12/29/10
to faceb...@googlegroups.com
Install it as a gem.

Mogli has dependencies, but all dependencies should be managed as gems.

https://github.com/mmangino/facebooker2_fb_connect_example

class ApplicationController < ActionController::Base

include Facebooker2::Rails::Controller


Mike

Reply all
Reply to author
Forward
0 new messages