Hi All,I''m trying to get tunnelling working so I don''t have to cap deploy anymore... Mike Mangino showed us how to do it the other day and he made it look so easy. For some reason, when I type rake facebooker:tunnel:start it throws an error: rake aborted! Don''t know how to build task ''facebooker:tunnel:start'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/local/bin/rake:16:in `load'' /usr/local/bin/rake:16 Any ideas? I have it installed as a plugin. running on a mac. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080206/47f1621f/attachment.html
Dustin- When you do ''rake -T'', do you see the facebooker:tunnel tasks? Are you using a relatively recent build of the plugin? -S On Feb 6, 2008 11:50 AM, Dustin Anderson <dustin at dustinanderson.com> wrote:> Hi All, > I''m trying to get tunnelling working so I don''t have to cap deploy > anymore... Mike Mangino showed us how to do it the other day and he made it > look so easy. > > > For some reason, when I type rake facebooker:tunnel:start it throws an > error: > > > rake aborted! > Don''t know how to build task ''facebooker:tunnel:start'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > /usr/local/bin/rake:16:in `load'' > /usr/local/bin/rake:16 > > Any ideas? I have it installed as a plugin. running on a mac. > > Thanks! > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > >-- http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
I don''t have the facebooker tasks... I''m confident that I have an older version that doesn''t have the rake tasks. I''ve done script/plugin update facebooker and it doesn''t update anything... it says: Updating plugin: facebooker and then doesn''t do any updating... So, maybe I don''t really know how to manage plugins? How do I update the plugin? Thanks! Dustin On Feb 6, 2008 12:56 PM, Shane Vitarana <shanev at gmail.com> wrote:> Dustin- > > When you do ''rake -T'', do you see the facebooker:tunnel tasks? Are you > using a relatively recent build of the plugin? > > -S > > On Feb 6, 2008 11:50 AM, Dustin Anderson <dustin at dustinanderson.com> > wrote: > > Hi All, > > I''m trying to get tunnelling working so I don''t have to cap deploy > > anymore... Mike Mangino showed us how to do it the other day and he made > it > > look so easy. > > > > > > For some reason, when I type rake facebooker:tunnel:start it throws an > > error: > > > > > > rake aborted! > > Don''t know how to build task ''facebooker:tunnel:start'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > > `standard_exception_handling'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > > `standard_exception_handling'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > > /usr/local/bin/rake:16:in `load'' > > /usr/local/bin/rake:16 > > > > Any ideas? I have it installed as a plugin. running on a mac. > > > > Thanks! > > _______________________________________________ > > Facebooker-talk mailing list > > Facebooker-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/facebooker-talk > > > > > > > > -- > http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080206/114c6c72/attachment.html
How did you install it initially? Remove it and install it again. This may mess things up if you are using svn externals though. -S On Feb 6, 2008 2:04 PM, Dustin Anderson <dustin at dustinanderson.com> wrote:> I don''t have the facebooker tasks... I''m confident that I have an older > version that doesn''t have the rake tasks. I''ve done script/plugin update > facebooker and it doesn''t update anything... it says: > Updating plugin: facebooker > and then doesn''t do any updating... > > So, maybe I don''t really know how to manage plugins? How do I update the > plugin? > > Thanks! > Dustin > > > > On Feb 6, 2008 12:56 PM, Shane Vitarana <shanev at gmail.com> wrote: > > Dustin- > > > > When you do ''rake -T'', do you see the facebooker:tunnel tasks? Are you > > using a relatively recent build of the plugin? > > > > -S > > > > > > > > > > On Feb 6, 2008 11:50 AM, Dustin Anderson <dustin at dustinanderson.com> > wrote: > > > Hi All, > > > I''m trying to get tunnelling working so I don''t have to cap deploy > > > anymore... Mike Mangino showed us how to do it the other day and he made > it > > > look so easy. > > > > > > > > > For some reason, when I type rake facebooker:tunnel:start it throws an > > > error: > > > > > > > > > rake aborted! > > > Don''t know how to build task ''facebooker:tunnel:start'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > > > `standard_exception_handling'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > > > `standard_exception_handling'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > > > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > > > /usr/local/bin/rake:16:in `load'' > > > /usr/local/bin/rake:16 > > > > > > Any ideas? I have it installed as a plugin. running on a mac. > > > > > > Thanks! > > > _______________________________________________ > > > Facebooker-talk mailing list > > > Facebooker-talk at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/facebooker-talk > > > > > > > > > > > > > > -- > > http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com > > _______________________________________________ > > Facebooker-talk mailing list > > Facebooker-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/facebooker-talk > > > >-- http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
you also have to do a --force when you reinstall the plugin Joel On Feb 6, 2008, at 4:33 PM, Shane Vitarana wrote:> How did you install it initially? Remove it and install it again. > This may mess things up if you are using svn externals though. > > -S > > On Feb 6, 2008 2:04 PM, Dustin Anderson <dustin at dustinanderson.com> > wrote: >> I don''t have the facebooker tasks... I''m confident that I have an >> older >> version that doesn''t have the rake tasks. I''ve done script/plugin >> update >> facebooker and it doesn''t update anything... it says: >> Updating plugin: facebooker >> and then doesn''t do any updating... >> >> So, maybe I don''t really know how to manage plugins? How do I >> update the >> plugin? >> >> Thanks! >> Dustin >> >> >> >> On Feb 6, 2008 12:56 PM, Shane Vitarana <shanev at gmail.com> wrote: >>> Dustin- >>> >>> When you do ''rake -T'', do you see the facebooker:tunnel tasks? Are >>> you >>> using a relatively recent build of the plugin? >>> >>> -S >>> >>> >>> >>> >>> On Feb 6, 2008 11:50 AM, Dustin Anderson <dustin at dustinanderson.com> >> wrote: >>>> Hi All, >>>> I''m trying to get tunnelling working so I don''t have to cap deploy >>>> anymore... Mike Mangino showed us how to do it the other day and >>>> he made >> it >>>> look so easy. >>>> >>>> >>>> For some reason, when I type rake facebooker:tunnel:start it >>>> throws an >>>> error: >>>> >>>> >>>> rake aborted! >>>> Don''t know how to build task ''facebooker:tunnel:start'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in >>>> `[]'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in >> `top_level'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in >>>> `each'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in >> `top_level'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >>>> `standard_exception_handling'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in >> `top_level'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in >>>> `run'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >>>> `standard_exception_handling'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in >>>> `run'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 >>>> /usr/local/bin/rake:16:in `load'' >>>> /usr/local/bin/rake:16 >>>> >>>> Any ideas? I have it installed as a plugin. running on a mac. >>>> >>>> Thanks! >>>> _______________________________________________ >>>> Facebooker-talk mailing list >>>> Facebooker-talk at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>> >>>> >>> >>> >>> >>> -- >>> http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >> >> > > > > -- > http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
OK, so I finally got the time to work on this, and got rake facebooker:tunnel:start to run, but it''s not tunnelling. I''m guessing it has something to do with the file in /etc/ssh/sshd_config ? When I type rake facebooker:tunnel:start, it says: Starting tunnel myserver.com:8001 to 0.0.0.0:3000 But, if I go to myserver.com:8001 it doesn''t end up at my server. Anyway, here''s how I have my app set up: facebooker.yml: development: api_key: yadayadanumbers secret_key: yadayadanumbersandstuff canvas_page_name: my_app_name callback_url: http://myserver.com:8001 tunnel: public_host_username: my_username public_host: myserver.com public_port: 8001 local_port: 3000 On my server, the only thing I''ve done to "open" the ports is added this line to etc/ssh/sshd_config : GatewayPorts clientspecified In the application configuration on facebook.com, I have set the callback_url to be: http://myserver.com:8001 Anyway, I feel like I''m getting close, but I don''t totally get what the sshd_config file does and I have a feeling I''m missing something. Thanks for all your help. Dustin