If you are using facebooker as a plugin, you can now have all your configuration in one place, namely config/facebooker.yml. You can create this file with rake facebooker:setup. It is also generated when you install it as a plugin. It has a similar setup to database.yml with sections for each environment. You can also configure your ssh reverse tunnels. If you are upgrading, make sure to remove your facebooker specific setup in your environment files and consolidate them into facebooker.yml. Shane -- http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
Shane, I upgraded using : script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ --force removed old env vars from my development.rb added my stuff to facebooker.yml Now when I start my server it will not start: ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded ** Starting Mongrel listening at 0.0.0.0:3001 ** Starting Rails with development environment... Exiting /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), already activated rails-1.2.3] (Gem::Exception) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:495:in `require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:342:in `new_constants_in'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:495:in `require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/server:3 from googling most people say this is related to a missing gem, is there a new gem dependency in this build? thanks Joel On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote:> If you are using facebooker as a plugin, you can now have all your > configuration in one place, namely config/facebooker.yml. You can > create this file with rake facebooker:setup. It is also generated > when you install it as a plugin. > > It has a similar setup to database.yml with sections for each > environment. You can also configure your ssh reverse tunnels. > > If you are upgrading, make sure to remove your facebooker specific > setup in your environment files and consolidate them into > facebooker.yml. > > Shane > > -- > 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
Sorry Shane its not the yml fix thats the problem, its been a week since I installed facebooker, I think its something todo with a previous checkin: require ''net/http_multipart_post'' Im not sure exactly what the issue is, after I comment this out, I get this error: ** Starting Mongrel listening at 0.0.0.0:3001 ** Starting Rails with development environment... Exiting script/../config/../vendor/plugins/facebooker/init.rb:34:in `load_plugin_without_engine_additions'': undefined method `optimise_named_routes='' for ActionController::Base:Class (NoMethodError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in `load_plugin_without_engine_additions'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ kernel/reporting.rb:11:in `silence_warnings'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in `load_plugin_without_engine_additions'' from ./script/../config/../vendor/plugins/engines/lib/engines/ rails_extensions/rails_initializer.rb:54:in `load_plugin'' from ./script/../config/../vendor/plugins/engines/lib/engines/ rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' from ./script/../config/../vendor/plugins/engines/lib/engines/ rails_extensions/rails_initializer.rb:36:in `each'' from ./script/../config/../vendor/plugins/engines/lib/engines/ rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' from ./script/../config/../vendor/plugins/engines/lib/engines.rb: 253:in `after_initialize'' ... 31 levels... from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require'' Joel On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote:> Shane, I upgraded using : > > script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ > --force > > removed old env vars from my development.rb > added my stuff to facebooker.yml > > Now when I start my server it will not start: > > ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded > ** Starting Mongrel listening at 0.0.0.0:3001 > ** Starting Rails with development environment... > Exiting > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), > already activated rails-1.2.3] (Gem::Exception) > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:31:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:342:in `new_constants_in'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from script/server:3 > > from googling most people say this is related to a missing gem, is > there a new gem dependency in this build? > > thanks > Joel > > > > On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: > >> If you are using facebooker as a plugin, you can now have all your >> configuration in one place, namely config/facebooker.yml. You can >> create this file with rake facebooker:setup. It is also generated >> when you install it as a plugin. >> >> It has a similar setup to database.yml with sections for each >> environment. You can also configure your ssh reverse tunnels. >> >> If you are upgrading, make sure to remove your facebooker specific >> setup in your environment files and consolidate them into >> facebooker.yml. >> >> Shane >> >> -- >> 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 > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Hmm. What error do you get for net/http_multipart_post? That is a new library that allows you to upload photos to facebook. The next error was my fault. I assumed that everybody is running rails 2.0. That may be the cause of other problems. I''m inclined to only support rails 2.0 for now. Is anyone using facebooker successfully on rails 1.2? Mike On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote:> Sorry Shane its not the yml fix thats the problem, its been a week > since I installed facebooker, > > I think its something todo with a previous checkin: > > require ''net/http_multipart_post'' > > Im not sure exactly what the issue is, after I comment this out, I get > this error: > > ** Starting Mongrel listening at 0.0.0.0:3001 > ** Starting Rails with development environment... > Exiting > script/../config/../vendor/plugins/facebooker/init.rb:34:in > `load_plugin_without_engine_additions'': undefined method > `optimise_named_routes='' for ActionController::Base:Class > (NoMethodError) > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in > `load_plugin_without_engine_additions'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ > kernel/reporting.rb:11:in `silence_warnings'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in > `load_plugin_without_engine_additions'' > from ./script/../config/../vendor/plugins/engines/lib/engines/ > rails_extensions/rails_initializer.rb:54:in `load_plugin'' > from ./script/../config/../vendor/plugins/engines/lib/engines/ > rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' > from ./script/../config/../vendor/plugins/engines/lib/engines/ > rails_extensions/rails_initializer.rb:36:in `each'' > from ./script/../config/../vendor/plugins/engines/lib/engines/ > rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' > from ./script/../config/../vendor/plugins/engines/lib/engines.rb: > 253:in `after_initialize'' > ... 31 levels... > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > Joel > > > > On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: > >> Shane, I upgraded using : >> >> script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ >> --force >> >> removed old env vars from my development.rb >> added my stuff to facebooker.yml >> >> Now when I start my server it will not start: >> >> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded >> ** Starting Mongrel listening at 0.0.0.0:3001 >> ** Starting Rails with development environment... >> Exiting >> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ >> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), >> already activated rails-1.2.3] (Gem::Exception) >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >> dependencies.rb:495:in `require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >> dependencies.rb:342:in `new_constants_in'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >> dependencies.rb:495:in `require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >> from script/server:3 >> >> from googling most people say this is related to a missing gem, is >> there a new gem dependency in this build? >> >> thanks >> Joel >> >> >> >> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >> >>> If you are using facebooker as a plugin, you can now have all your >>> configuration in one place, namely config/facebooker.yml. You can >>> create this file with rake facebooker:setup. It is also generated >>> when you install it as a plugin. >>> >>> It has a similar setup to database.yml with sections for each >>> environment. You can also configure your ssh reverse tunnels. >>> >>> If you are upgrading, make sure to remove your facebooker specific >>> setup in your environment files and consolidate them into >>> facebooker.yml. >>> >>> Shane >>> >>> -- >>> 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 >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Hi Mike, Sorry to add more trouble, but some of my clients have not upgraded to Rails 2.0 yet and may not be able to do so until late Q2 of this year. Unfortunately, I don''t set the upgrade schedule. Given that 2.0 is still relatively new, I hope you will understand a need to support 1.x a little while longer. Thanks, Shawn On Sat, 26 Jan 2008 09:10:35 -0600, Mike Mangino wrote:> Hmm. What error do you get for net/http_multipart_post? That is a new > library that allows you to upload photos to facebook. > > The next error was my fault. I assumed that everybody is running rails > 2.0. That may be the cause of other problems. I''m inclined to only > support rails 2.0 for now. Is anyone using facebooker successfully on > rails 1.2? > > Mike > > On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote: > >> Sorry Shane its not the yml fix thats the problem, its been a week >> since I installed facebooker, >> >> I think its something todo with a previous checkin: >> >> require ''net/http_multipart_post'' >> >> Im not sure exactly what the issue is, after I comment this out, I get >> this error: >> >> ** Starting Mongrel listening at 0.0.0.0:3001 >> ** Starting Rails with development environment... >> Exiting >> script/../config/../vendor/plugins/facebooker/init.rb:34:in >> `load_plugin_without_engine_additions'': undefined method >> `optimise_named_routes='' for ActionController::Base:Class >> (NoMethodError) >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >> `load_plugin_without_engine_additions'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ >> kernel/reporting.rb:11:in `silence_warnings'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >> `load_plugin_without_engine_additions'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:54:in `load_plugin'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `each'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >> from ./script/../config/../vendor/plugins/engines/lib/engines.rb: >> 253:in `after_initialize'' >> ... 31 levels... >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >> >> >> Joel >> >> >> >> On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: >> >>> Shane, I upgraded using : >>> >>> script/plugin install >>> http://facebooker.rubyforge.org/svn/trunk/facebooker/ >>> --force >>> >>> removed old env vars from my development.rb >>> added my stuff to facebooker.yml >>> >>> Now when I start my server it will not start: >>> >>> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded >>> ** Starting Mongrel listening at 0.0.0.0:3001 >>> ** Starting Rails with development environment... >>> Exiting >>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ >>> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), >>> already activated rails-1.2.3] (Gem::Exception) >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:495:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:342:in `new_constants_in'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:495:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>> from script/server:3 >>> >>> from googling most people say this is related to a missing gem, is >>> there a new gem dependency in this build? >>> >>> thanks >>> Joel >>> >>> >>> >>> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >>> >>>> If you are using facebooker as a plugin, you can now have all your >>>> configuration in one place, namely config/facebooker.yml. You can >>>> create this file with rake facebooker:setup. It is also generated >>>> when you install it as a plugin. >>>> >>>> It has a similar setup to database.yml with sections for each >>>> environment. You can also configure your ssh reverse tunnels. >>>> >>>> If you are upgrading, make sure to remove your facebooker specific >>>> setup in your environment files and consolidate them into >>>> facebooker.yml. >>>> >>>> Shane >>>> >>>> -- >>>> 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 >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Hi Mike, Its going to be a while before we can upgrade to 2.0, we have a large complex system that was built over a year and has dependencies on several plugins that are not ready for 2.0. Also there is at least one critical bug in 2.0 that needs to be addressed before we can go live, I anticipate it being late spring to early summer before we can go. Please, please consider continuing to support 1.x rails at least until mid this year, we were using it on 1.2 until this latest build (the one from a week ago worked ok, other than the routing issues and the complex form helper issues I have noted) The first email has the stack from net/http_multpart_post (see bottom of this mail), is this library included in base ruby, if so which version? (were running 1.8.4 & working on getting to 1.8.6 (it breaks in 1.8.6 in dev) thanks Joel On Jan 26, 2008, at 10:10 AM, Mike Mangino wrote:> Hmm. What error do you get for net/http_multipart_post? That is a > new library that allows you to upload photos to facebook. > > The next error was my fault. I assumed that everybody is running > rails 2.0. That may be the cause of other problems. I''m inclined to > only support rails 2.0 for now. Is anyone using facebooker > successfully on rails 1.2? > > Mike > > On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote: > >> Sorry Shane its not the yml fix thats the problem, its been a week >> since I installed facebooker, >> >> I think its something todo with a previous checkin: >> >> require ''net/http_multipart_post'' >> >> Im not sure exactly what the issue is, after I comment this out, I >> get >> this error: >> >> ** Starting Mongrel listening at 0.0.0.0:3001 >> ** Starting Rails with development environment... >> Exiting >> script/../config/../vendor/plugins/facebooker/init.rb:34:in >> `load_plugin_without_engine_additions'': undefined method >> `optimise_named_routes='' for ActionController::Base:Class >> (NoMethodError) >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >> `load_plugin_without_engine_additions'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ >> kernel/reporting.rb:11:in `silence_warnings'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >> `load_plugin_without_engine_additions'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:54:in `load_plugin'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `each'' >> from ./script/../config/../vendor/plugins/engines/lib/engines/ >> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >> from ./script/../config/../vendor/plugins/engines/lib/engines.rb: >> 253:in `after_initialize'' >> ... 31 levels... >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >> >> >> Joel >> >> >> >> On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: >> >>> Shane, I upgraded using : >>> >>> script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ >>> --force >>> >>> removed old env vars from my development.rb >>> added my stuff to facebooker.yml >>> >>> Now when I start my server it will not start: >>> >>> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded >>> ** Starting Mongrel listening at 0.0.0.0:3001 >>> ** Starting Rails with development environment... >>> Exiting >>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ >>> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), >>> already activated rails-1.2.3] (Gem::Exception) >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:495:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:342:in `new_constants_in'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>> dependencies.rb:495:in `require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>> from script/server:3 >>> >>> from googling most people say this is related to a missing gem, is >>> there a new gem dependency in this build? >>> >>> thanks >>> Joel >>> >>> >>> >>> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >>> >>>> If you are using facebooker as a plugin, you can now have all your >>>> configuration in one place, namely config/facebooker.yml. You can >>>> create this file with rake facebooker:setup. It is also generated >>>> when you install it as a plugin. >>>> >>>> It has a similar setup to database.yml with sections for each >>>> environment. You can also configure your ssh reverse tunnels. >>>> >>>> If you are upgrading, make sure to remove your facebooker specific >>>> setup in your environment files and consolidate them into >>>> facebooker.yml. >>>> >>>> Shane >>>> >>>> -- >>>> 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 >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com >
I don''t mind supporting Rails 1.2, I just don''t run it. Can you guys that are using it send whatever patches are necessary to make it work? Mike On Jan 26, 2008, at 4:20 PM, Shawn Van Ittersum wrote:> Hi Mike, > > Sorry to add more trouble, but some of my clients have not upgraded > to Rails 2.0 yet and may not be able to do so until late Q2 of this > year. Unfortunately, I don''t set the upgrade schedule. Given that > 2.0 is still relatively new, I hope you will understand a need to > support 1.x a little while longer. > > Thanks, > Shawn > > On Sat, 26 Jan 2008 09:10:35 -0600, Mike Mangino wrote: >> Hmm. What error do you get for net/http_multipart_post? That is a new >> library that allows you to upload photos to facebook. >> >> The next error was my fault. I assumed that everybody is running >> rails >> 2.0. That may be the cause of other problems. I''m inclined to only >> support rails 2.0 for now. Is anyone using facebooker successfully on >> rails 1.2? >> >> Mike >> >> On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote: >> >>> Sorry Shane its not the yml fix thats the problem, its been a week >>> since I installed facebooker, >>> >>> I think its something todo with a previous checkin: >>> >>> require ''net/http_multipart_post'' >>> >>> Im not sure exactly what the issue is, after I comment this out, I >>> get >>> this error: >>> >>> ** Starting Mongrel listening at 0.0.0.0:3001 >>> ** Starting Rails with development environment... >>> Exiting >>> script/../config/../vendor/plugins/facebooker/init.rb:34:in >>> `load_plugin_without_engine_additions'': undefined method >>> `optimise_named_routes='' for ActionController::Base:Class >>> (NoMethodError) >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>> `load_plugin_without_engine_additions'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ >>> kernel/reporting.rb:11:in `silence_warnings'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>> `load_plugin_without_engine_additions'' >>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>> rails_extensions/rails_initializer.rb:54:in `load_plugin'' >>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>> rails_extensions/rails_initializer.rb:36:in `each'' >>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>> from ./script/../config/../vendor/plugins/engines/lib/engines.rb: >>> 253:in `after_initialize'' >>> ... 31 levels... >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>> lib/ >>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>> >>> >>> Joel >>> >>> >>> >>> On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: >>> >>>> Shane, I upgraded using : >>>> >>>> script/plugin install >>>> http://facebooker.rubyforge.org/svn/trunk/facebooker/ >>>> --force >>>> >>>> removed old env vars from my development.rb >>>> added my stuff to facebooker.yml >>>> >>>> Now when I start my server it will not start: >>>> >>>> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded >>>> ** Starting Mongrel listening at 0.0.0.0:3001 >>>> ** Starting Rails with development environment... >>>> Exiting >>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>> ruby/ >>>> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), >>>> already activated rails-1.2.3] (Gem::Exception) >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>> dependencies.rb:495:in `require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>> dependencies.rb:342:in `new_constants_in'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>> dependencies.rb:495:in `require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>> from script/server:3 >>>> >>>> from googling most people say this is related to a missing gem, is >>>> there a new gem dependency in this build? >>>> >>>> thanks >>>> Joel >>>> >>>> >>>> >>>> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >>>> >>>>> If you are using facebooker as a plugin, you can now have all your >>>>> configuration in one place, namely config/facebooker.yml. You can >>>>> create this file with rake facebooker:setup. It is also generated >>>>> when you install it as a plugin. >>>>> >>>>> It has a similar setup to database.yml with sections for each >>>>> environment. You can also configure your ssh reverse tunnels. >>>>> >>>>> If you are upgrading, make sure to remove your facebooker specific >>>>> setup in your environment files and consolidate them into >>>>> facebooker.yml. >>>>> >>>>> Shane >>>>> >>>>> -- >>>>> 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 >>>> >>>> _______________________________________________ >>>> Facebooker-talk mailing list >>>> Facebooker-talk at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
I can help test stuff, document issues, even write tutorials, but I don''t have the experience yet to do much code fixes, im still coming up the learning curve on facebook & rails. for example I spent some time looking around and cant even find anything about net/http_multipart_post, I google it and nothing, dont see any mention of it in ruby or rails api document. Joel On Jan 27, 2008, at 5:17 PM, Mike Mangino wrote:> I don''t mind supporting Rails 1.2, I just don''t run it. Can you guys > that are using it send whatever patches are necessary to make it work? > > Mike > > On Jan 26, 2008, at 4:20 PM, Shawn Van Ittersum wrote: > >> Hi Mike, >> >> Sorry to add more trouble, but some of my clients have not upgraded >> to Rails 2.0 yet and may not be able to do so until late Q2 of this >> year. Unfortunately, I don''t set the upgrade schedule. Given that >> 2.0 is still relatively new, I hope you will understand a need to >> support 1.x a little while longer. >> >> Thanks, >> Shawn >> >> On Sat, 26 Jan 2008 09:10:35 -0600, Mike Mangino wrote: >>> Hmm. What error do you get for net/http_multipart_post? That is a >>> new >>> library that allows you to upload photos to facebook. >>> >>> The next error was my fault. I assumed that everybody is running >>> rails >>> 2.0. That may be the cause of other problems. I''m inclined to only >>> support rails 2.0 for now. Is anyone using facebooker successfully >>> on >>> rails 1.2? >>> >>> Mike >>> >>> On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote: >>> >>>> Sorry Shane its not the yml fix thats the problem, its been a week >>>> since I installed facebooker, >>>> >>>> I think its something todo with a previous checkin: >>>> >>>> require ''net/http_multipart_post'' >>>> >>>> Im not sure exactly what the issue is, after I comment this out, >>>> I get >>>> this error: >>>> >>>> ** Starting Mongrel listening at 0.0.0.0:3001 >>>> ** Starting Rails with development environment... >>>> Exiting >>>> script/../config/../vendor/plugins/facebooker/init.rb:34:in >>>> `load_plugin_without_engine_additions'': undefined method >>>> `optimise_named_routes='' for ActionController::Base:Class >>>> (NoMethodError) >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>>> `load_plugin_without_engine_additions'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/ >>>> kernel/reporting.rb:11:in `silence_warnings'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>>> `load_plugin_without_engine_additions'' >>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>> rails_extensions/rails_initializer.rb:54:in `load_plugin'' >>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>> rails_extensions/rails_initializer.rb:36:in `each'' >>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>>> from ./script/../config/../vendor/plugins/engines/lib/engines.rb: >>>> 253:in `after_initialize'' >>>> ... 31 levels... >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>> lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>> >>>> >>>> Joel >>>> >>>> >>>> >>>> On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: >>>> >>>>> Shane, I upgraded using : >>>>> >>>>> script/plugin install >>>>> http://facebooker.rubyforge.org/svn/trunk/facebooker/ >>>>> --force >>>>> >>>>> removed old env vars from my development.rb >>>>> added my stuff to facebooker.yml >>>>> >>>>> Now when I start my server it will not start: >>>>> >>>>> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not >>>>> loaded >>>>> ** Starting Mongrel listening at 0.0.0.0:3001 >>>>> ** Starting Rails with development environment... >>>>> Exiting >>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>> ruby/ >>>>> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), >>>>> already activated rails-1.2.3] (Gem::Exception) >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>> dependencies.rb:495:in `require'' >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>> dependencies.rb:342:in `new_constants_in'' >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>> dependencies.rb:495:in `require'' >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>> lib/ >>>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>>> from script/server:3 >>>>> >>>>> from googling most people say this is related to a missing gem, is >>>>> there a new gem dependency in this build? >>>>> >>>>> thanks >>>>> Joel >>>>> >>>>> >>>>> >>>>> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >>>>> >>>>>> If you are using facebooker as a plugin, you can now have all >>>>>> your >>>>>> configuration in one place, namely config/facebooker.yml. You >>>>>> can >>>>>> create this file with rake facebooker:setup. It is also >>>>>> generated >>>>>> when you install it as a plugin. >>>>>> >>>>>> It has a similar setup to database.yml with sections for each >>>>>> environment. You can also configure your ssh reverse tunnels. >>>>>> >>>>>> If you are upgrading, make sure to remove your facebooker >>>>>> specific >>>>>> setup in your environment files and consolidate them into >>>>>> facebooker.yml. >>>>>> >>>>>> Shane >>>>>> >>>>>> -- >>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> Facebooker-talk mailing list >>>>> Facebooker-talk at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>> >>>> _______________________________________________ >>>> Facebooker-talk mailing list >>>> Facebooker-talk at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> -- >>> Mike Mangino >>> http://www.elevatedrails.com >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > >
one question on the facebooker.yml, once I move all the stuff to that file, do I still need this line in the environment file? ActionController::Base.asset_host = "http://myip:myport" its was in the orig readme to add this, but not mentioned in the new yml approach. thanks Joel On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote:> If you are using facebooker as a plugin, you can now have all your > configuration in one place, namely config/facebooker.yml. You can > create this file with rake facebooker:setup. It is also generated > when you install it as a plugin. > > It has a similar setup to database.yml with sections for each > environment. You can also configure your ssh reverse tunnels. > > If you are upgrading, make sure to remove your facebooker specific > setup in your environment files and consolidate them into > facebooker.yml. > > Shane > > -- > 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
Hey Joel-> one question on the facebooker.yml, once I move all the stuff to that > file, do I still need this line in the environment file? > > ActionController::Base.asset_host = "http://myip:myport" >I added a callback_url field to facebooker.yml. Your asset host by default will be your callback url. You can always override it in your environment files. Shane -- http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
Hi Shane, Per our discussion last night on AIM, I don''t think asset_host will properly handle the custom callback_path issue that some of us have. I will be sharing some code tonight to solve the callback_path issues through a new url_rewrite method. The asset_host variable is designed to allow distributed store of assets across multiple hosts with wildcards. The callback_path should not be piggy-backed on asset_host, and because asset_host is for specifying hosts and not paths, I don''t believe it will solve the callback_path issue. Thus I suggest that the name of your asset_host configuration variable should be different to avoid confusion with the callback_path variable that I will be adding tonight. Thanks, Shawn On Mon, 28 Jan 2008 12:13:27 -0600, Shane Vitarana wrote:> Hey Joel- > >> one question on the facebooker.yml, once I move all the stuff to that >> file, do I still need this line in the environment file? >> >> ActionController::Base.asset_host = "http://myip:myport" >> > > I added a callback_url field to facebooker.yml. Your asset host by > default will be your callback url. You can always override it in your > environment files. > > Shane > > -- > 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
Shawn- Having the asset host be the callback_url by default is what 95% of applications will need. We will address the problem you are having separately. The term "callback path" is not part of the Facebook developer terminology and will confuse things even more. I understand the problem you are having and we''ll try to come up with a solution that makes sense and will add the least amount of complexity to facebooker. We may be able to solve it without having to explicity specify the "callback path". Submit your patch to Rubyforge and the developers will take a look at it. Thanks, Shane On Jan 28, 2008 1:02 PM, Shawn Van Ittersum <svicalifornia at gmail.com> wrote:> Hi Shane, > > Per our discussion last night on AIM, I don''t think asset_host will properly handle the custom callback_path issue that some of us have. I will be sharing some code tonight to solve the callback_path issues through a new url_rewrite method. > > The asset_host variable is designed to allow distributed store of assets across multiple hosts with wildcards. The callback_path should not be piggy-backed on asset_host, and because asset_host is for specifying hosts and not paths, I don''t believe it will solve the callback_path issue. > > Thus I suggest that the name of your asset_host configuration variable should be different to avoid confusion with the callback_path variable that I will be adding tonight. > > Thanks, > Shawn > > > On Mon, 28 Jan 2008 12:13:27 -0600, Shane Vitarana wrote: > > Hey Joel- > > > >> one question on the facebooker.yml, once I move all the stuff to that > >> file, do I still need this line in the environment file? > >> > >> ActionController::Base.asset_host = "http://myip:myport" > >> > > > > I added a callback_url field to facebooker.yml. Your asset host by > > default will be your callback url. You can always override it in your > > environment files. > > > > Shane > > > > -- > > 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
> Having the asset host be the callback_url by default is what 95% of > applications will need.How do you know this? Facebooker does not currently support the case of sandboxing a Facebook app to a Rails controller, so many people have dismissed Facebooker in favor of rfacebook. So their voices have been, up until now, absent on this list. Now that rfacebook is no longer being maintained, we will now see how many people have this use case, and I am sure that it is more than 5%. If you disagree, you are free to poll the thousands of FB developers, but it is not fair to dismiss my use case (and Joel''s and Sudara''s) with statistics you made up out of thin air. I''m really not trying to start an argument. But the callback_url variable should allow for any callback URL that can be set in the Facebook app settings, including this: Callback URL: http://www.myserver.com/controller/ The fact that asset_host is not intended to handle path information means that it is not the proper way to handle the callback_url setting. I''ve written code to handle the callback_url correctly and solve all the use cases we have discussed, not just one. I''ll submit the code tonight, and after you review it, I hope you''ll agree that I''ve handled the callback_url setting much better than we can by manipulating the asset_host. Shawn On Mon, 28 Jan 2008 14:58:56 -0600, Shane Vitarana wrote:> Shawn- > > Having the asset host be the callback_url by default is what 95% of > applications will need. We will address the problem you are having > separately. The term "callback path" is not part of the Facebook > developer terminology and will confuse things even more. I understand > the problem you are having and we''ll try to come up with a solution > that makes sense and will add the least amount of complexity to > facebooker. We may be able to solve it without having to explicity > specify the "callback path". > > Submit your patch to Rubyforge and the developers will take a look at it. > > Thanks, > Shane > > On Jan 28, 2008 1:02 PM, Shawn Van Ittersum <svicalifornia at gmail.com> wrote: >> Hi Shane, >> >> Per our discussion last night on AIM, I don''t think asset_host will >> properly handle the custom callback_path issue that some of us >> have. I will be sharing some code tonight to solve the >> callback_path issues through a new url_rewrite method. >> >> The asset_host variable is designed to allow distributed store of >> assets across multiple hosts with wildcards. The callback_path >> should not be piggy-backed on asset_host, and because asset_host is >> for specifying hosts and not paths, I don''t believe it will solve >> the callback_path issue. >> >> Thus I suggest that the name of your asset_host configuration >> variable should be different to avoid confusion with the >> callback_path variable that I will be adding tonight. >> >> Thanks, >> Shawn >> >> >> On Mon, 28 Jan 2008 12:13:27 -0600, Shane Vitarana wrote: >>> Hey Joel- >>> >>>> one question on the facebooker.yml, once I move all the stuff to that >>>> file, do I still need this line in the environment file? >>>> >>>> ActionController::Base.asset_host = "http://myip:myport" >>>> >>> >>> I added a callback_url field to facebooker.yml. Your asset host by >>> default will be your callback url. You can always override it in your >>> environment files. >>> >>> Shane >>> >>> -- >>> 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
I agree that using asset_host was a dirty hack. I''m glad that Shane has added a better named variable for this. We still will need to use asset_host to make sure that no relative image paths are generated, but I used it where it shouldn''t be used. I''ll try to update all of the code to use the new value. On Jan 28, 2008, at 4:06 PM, Shawn Van Ittersum wrote:>> Having the asset host be the callback_url by default is what 95% of >> applications will need. > > How do you know this? Facebooker does not currently support the > case of sandboxing a Facebook app to a Rails controller, so many > people have dismissed Facebooker in favor of rfacebook. So their > voices have been, up until now, absent on this list. Now that > rfacebook is no longer being maintained, we will now see how many > people have this use case, and I am sure that it is more than 5%. > If you disagree, you are free to poll the thousands of FB > developers, but it is not fair to dismiss my use case (and Joel''s > and Sudara''s) with statistics you made up out of thin air. >There''s a balancing act here between code complexity and functionality. Until we see your code, it''s hard to judge where that falls. In the short term, you can achieve your goal using: map.with_options :conditions=>{:canvas=>true} do |map| map.connect '''',:controller=>:facebook map.resources :facebook end map.with_options :conditions=>{:canvas=>false} do |map| #rest of your routes go here end IMNSHO, using a callback url that includes a path is really confusing. I have a hard time understanding how that works within Rails. I''m going to recommend strongly that people don''t do that. If this truly is a typical pattern, I would rather create some routing helpers to help with the route generation. Of course, if your fix is elegant and doesn''t add complexity, I''m all for it. I''ll just wait until I see code.> I''m really not trying to start an argument. But the callback_url > variable should allow for any callback URL that can be set in the > Facebook app settings, including this: > > Callback URL: http://www.myserver.com/controller/ > > The fact that asset_host is not intended to handle path information > means that it is not the proper way to handle the callback_url > setting. I''ve written code to handle the callback_url correctly and > solve all the use cases we have discussed, not just one. I''ll > submit the code tonight, and after you review it, I hope you''ll > agree that I''ve handled the callback_url setting much better than we > can by manipulating the asset_host. > > Shawn > --Mike Mangino http://www.elevatedrails.com
Looks like I accidently just sent this to Mike, here are the details of the multipart issue I am seeing. Joel On Jan 27, 2008, at 11:02 PM, Joel Nylund wrote:> sure, > > details below, but now that I know where to look, I notice that in > the plugin when I install via the plugin script there are no files > in the net directory. If I checkout from svn the file > (http_multipart_post.rb) is there, I dont totally understand the > magic of the script/plugin install yet, but maybe its messing up > that file and not copying it properly? > > to reproduce: > > rails fbtest > cd fbtest > script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ > > ruby script/server > > => Booting Mongrel (use ''script/server webrick'' to force WEBrick) > => Rails application starting on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment... > Exiting > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > gems/1.8/gems/rails-1.2.6/lib/commands/servers/mongrel.rb:15: > warning: already initialized constant OPTIONS > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > gems/1.8/gems/rails-1.2.6/lib/commands/servers/mongrel.rb:18: > undefined method `options'' for []:Array (NoMethodError) > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:32:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:342:in `new_constants_in'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from script/server:3 > > (this is a little different error from my real app, but still caused > by the include of http_multipart_post (If I comment it out, it goes > away) > > > ************************************************* > (my error from the real application is: > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= 1.2.6), > already activated rails-1.2.3] (Gem::Exception) > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:31:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:342:in `new_constants_in'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ > dependencies.rb:495:in `require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from script/server:3 > > ************************************************* > > > (here is the output from gem -list), im running on ruby version > 1.2.6 that comes with leopard) > > Gems: > actionmailer (1.3.6, 1.3.3) > Service layer for easy email delivery and testing. > > actionpack (1.13.6, 1.13.3) > Web-flow and rendering framework putting the VC in MVC. > > actionwebservice (1.2.6, 1.2.3) > Web service support for Action Pack. > > activerecord (1.15.6, 1.15.3) > Implements the ActiveRecord pattern for ORM. > > activesupport (1.4.4, 1.4.2) > Support and utility classes used by the Rails framework. > > acts_as_ferret (0.4.1) > acts_as_ferret - Ferret based full text search for any ActiveRecord > model > > capistrano (2.0.0) > Capistrano is a utility and framework for executing commands in > parallel on multiple remote machines, via SSH. > > cgi_multipart_eof_fix (2.2) > Fix an exploitable bug in CGI multipart parsing which affects Ruby > <= 1.8.5 when multipart boundary attribute contains a non-halting > regular expression string. > > crypt (1.1.4) > The Crypt library is a pure-ruby implementation of a number of > popular encryption algorithms. Block cyphers currently include > Blowfish, GOST, IDEA, and Rijndael (AES). Cypher Block Chaining > (CBC) has been implemented. Twofish, Serpent, and CAST256 are > planned for release soon. > > daemons (1.0.7) > A toolkit to create and control daemons in different ways > > dnssd (0.6.0) > DNS Service Discovery (aka Rendezvous) API for Ruby > > fastthread (1.0) > Optimized replacement for thread.rb primitives > > fcgi (0.8.7) > FastCGI library for Ruby. > > ferret (0.11.4) > Ruby indexing library. > > gem_plugin (0.2.2) > A plugin system based only on rubygems that uses dependencies only > > highline (1.2.9) > HighLine is a high-level command-line IO library. > > hpricot (0.6) > a swift, liberal HTML parser with a fantastic library > > libxml-ruby (0.3.8.4) > LibXML2 bindings for Ruby > > mocha (0.5.6) > Mocking and stubbing library > > mongrel (1.0.1) > A small fast HTTP library and server that runs Rails, Camping, > Nitro > and Iowa apps. > > mysql (2.7) > MySQL/Ruby provides the same functions for Ruby programs that the > MySQL C API provides for C programs. > > needle (1.3.0) > Needle is a Dependency Injection/Inversion of Control container for > Ruby. It supports both type-2 (setter) and type-3 (constructor) > injection. It takes advantage of the dynamic nature of Ruby to > provide a rich and flexible approach to injecting dependencies. > > net-sftp (1.1.0) > Net::SFTP is a pure-Ruby implementation of the SFTP client > protocol. > > net-ssh (1.1.2) > Net::SSH is a pure-Ruby implementation of the SSH2 client protocol. > > rails (1.2.6, 1.2.3) > Web-application framework with template engine, control-flow layer, > and ORM. > > rake (0.7.3) > Ruby based make-like utility. > > RedCloth (3.0.4) > RedCloth is a module for using Textile and Markdown in Ruby. > Textile > and Markdown are text formats. A very simple text format. Another > stab at making readable text that can be converted to HTML. > > rfacebook (0.9.8) > A Ruby interface to the Facebook API v1.0+. Works with RFacebook > on > Rails plugin (see http://rfacebook.rubyforge.org). > > ruby-openid (1.1.4) > A library for consuming and serving OpenID identities. > > ruby-yadis (0.3.4) > A library for performing Yadis service discovery > > rubynode (0.1.3) > RubyNode is a library that allows read only access to Ruby''s > internal NODE structure. > > sources (0.0.1) > This package provides download sources for remote gem installation > > sqlite3-ruby (1.2.1) > SQLite3/Ruby is a module to allow Ruby scripts to interface with a > SQLite3 database. > > termios (0.9.4) > Termios module are simple wrapper for termios(3). It can be > included > into IO-family classes and can extend IO-family objects. In > addition, the methods can use as module function. > > tzinfo (0.3.6) > Daylight-savings aware timezone library > > thanks > Joel > > > > On Jan 27, 2008, at 10:26 PM, Mike Mangino wrote: > >> net/http_multipart_post is in the lib directory. >> >> It isn''t part of Ruby, it is part of Facebooker. We''ll look at this >> issue tomorrow. Can you create a sample application that >> experiences this problem after install facebooker as a plugin? >> We''re running this code base okay in production. I''d love to see a >> detailed stack trace along with the versions of gems you are running. >> >> Mike >> >> >> On Jan 27, 2008, at 8:00 PM, Joel Nylund wrote: >> >>> I can help test stuff, document issues, even write tutorials, but >>> I don''t have the experience yet to do much code fixes, im still >>> coming up the learning curve on facebook & rails. >>> >>> for example I spent some time looking around and cant even find >>> anything about net/http_multipart_post, I google it and nothing, >>> dont see any mention of it in ruby or rails api document. >>> >>> Joel >>> >>> On Jan 27, 2008, at 5:17 PM, Mike Mangino wrote: >>> >>>> I don''t mind supporting Rails 1.2, I just don''t run it. Can you >>>> guys that are using it send whatever patches are necessary to >>>> make it work? >>>> >>>> Mike >>>> >>>> On Jan 26, 2008, at 4:20 PM, Shawn Van Ittersum wrote: >>>> >>>>> Hi Mike, >>>>> >>>>> Sorry to add more trouble, but some of my clients have not >>>>> upgraded to Rails 2.0 yet and may not be able to do so until >>>>> late Q2 of this year. Unfortunately, I don''t set the upgrade >>>>> schedule. Given that 2.0 is still relatively new, I hope you >>>>> will understand a need to support 1.x a little while longer. >>>>> >>>>> Thanks, >>>>> Shawn >>>>> >>>>> On Sat, 26 Jan 2008 09:10:35 -0600, Mike Mangino wrote: >>>>>> Hmm. What error do you get for net/http_multipart_post? That is >>>>>> a new >>>>>> library that allows you to upload photos to facebook. >>>>>> >>>>>> The next error was my fault. I assumed that everybody is >>>>>> running rails >>>>>> 2.0. That may be the cause of other problems. I''m inclined to >>>>>> only >>>>>> support rails 2.0 for now. Is anyone using facebooker >>>>>> successfully on >>>>>> rails 1.2? >>>>>> >>>>>> Mike >>>>>> >>>>>> On Jan 26, 2008, at 7:17 AM, Joel Nylund wrote: >>>>>> >>>>>>> Sorry Shane its not the yml fix thats the problem, its been a >>>>>>> week >>>>>>> since I installed facebooker, >>>>>>> >>>>>>> I think its something todo with a previous checkin: >>>>>>> >>>>>>> require ''net/http_multipart_post'' >>>>>>> >>>>>>> Im not sure exactly what the issue is, after I comment this >>>>>>> out, I get >>>>>>> this error: >>>>>>> >>>>>>> ** Starting Mongrel listening at 0.0.0.0:3001 >>>>>>> ** Starting Rails with development environment... >>>>>>> Exiting >>>>>>> script/../config/../vendor/plugins/facebooker/init.rb:34:in >>>>>>> `load_plugin_without_engine_additions'': undefined method >>>>>>> `optimise_named_routes='' for ActionController::Base:Class >>>>>>> (NoMethodError) >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>>>>>> `load_plugin_without_engine_additions'' >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>>>> core_ext/ >>>>>>> kernel/reporting.rb:11:in `silence_warnings'' >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in >>>>>>> `load_plugin_without_engine_additions'' >>>>>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>>>>> rails_extensions/rails_initializer.rb:54:in `load_plugin'' >>>>>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>>>>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>>>>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>>>>> rails_extensions/rails_initializer.rb:36:in `each'' >>>>>>> from ./script/../config/../vendor/plugins/engines/lib/engines/ >>>>>>> rails_extensions/rails_initializer.rb:36:in `load_all_plugins'' >>>>>>> from ./script/../config/../vendor/plugins/engines/lib/ >>>>>>> engines.rb: >>>>>>> 253:in `after_initialize'' >>>>>>> ... 31 levels... >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>> usr/lib/ >>>>>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>>>>> >>>>>>> >>>>>>> Joel >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Jan 26, 2008, at 7:50 AM, Joel Nylund wrote: >>>>>>> >>>>>>>> Shane, I upgraded using : >>>>>>>> >>>>>>>> script/plugin install >>>>>>>> http://facebooker.rubyforge.org/svn/trunk/facebooker/ >>>>>>>> --force >>>>>>>> >>>>>>>> removed old env vars from my development.rb >>>>>>>> added my stuff to facebooker.yml >>>>>>>> >>>>>>>> Now when I start my server it will not start: >>>>>>>> >>>>>>>> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not >>>>>>>> loaded >>>>>>>> ** Starting Mongrel listening at 0.0.0.0:3001 >>>>>>>> ** Starting Rails with development environment... >>>>>>>> Exiting >>>>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ >>>>>>>> lib/ruby/ >>>>>>>> 1.8/rubygems.rb:249:in `activate'': can''t activate rails (= >>>>>>>> 1.2.6), >>>>>>>> already activated rails-1.2.3] (Gem::Exception) >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/1.8/rubygems/custom_require.rb:31:in `require'' >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>>>>> dependencies.rb:495:in `require'' >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>>>>> dependencies.rb:342:in `new_constants_in'' >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ >>>>>>>> dependencies.rb:495:in `require'' >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/1.8/rubygems/custom_require.rb:27:in >>>>>>>> `gem_original_require'' >>>>>>>> from /System/Library/Frameworks/Ruby.framework/Versions/1.8/ >>>>>>>> usr/lib/ >>>>>>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>>>>>> from script/server:3 >>>>>>>> >>>>>>>> from googling most people say this is related to a missing >>>>>>>> gem, is >>>>>>>> there a new gem dependency in this build? >>>>>>>> >>>>>>>> thanks >>>>>>>> Joel >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Jan 26, 2008, at 2:40 AM, Shane Vitarana wrote: >>>>>>>> >>>>>>>>> If you are using facebooker as a plugin, you can now have >>>>>>>>> all your >>>>>>>>> configuration in one place, namely config/facebooker.yml. >>>>>>>>> You can >>>>>>>>> create this file with rake facebooker:setup. It is also >>>>>>>>> generated >>>>>>>>> when you install it as a plugin. >>>>>>>>> >>>>>>>>> It has a similar setup to database.yml with sections for each >>>>>>>>> environment. You can also configure your ssh reverse tunnels. >>>>>>>>> >>>>>>>>> If you are upgrading, make sure to remove your facebooker >>>>>>>>> specific >>>>>>>>> setup in your environment files and consolidate them into >>>>>>>>> facebooker.yml. >>>>>>>>> >>>>>>>>> Shane >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Facebooker-talk mailing list >>>>>>>> Facebooker-talk at rubyforge.org >>>>>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Facebooker-talk mailing list >>>>>>> Facebooker-talk at rubyforge.org >>>>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>>>> >>>>>> -- >>>>>> Mike Mangino >>>>>> http://www.elevatedrails.com >>>>>> >>>>>> _______________________________________________ >>>>>> Facebooker-talk mailing list >>>>>> Facebooker-talk at rubyforge.org >>>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>> >>>> -- >>>> Mike Mangino >>>> http://www.elevatedrails.com >>>> >>>> >>>> >>> >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >