I found Brandon''s 2.3 branch for Facebooker and thought I''d give that a try to get around the problems I ran into starting script/server with Rails Edge. Unfortunately, no go. The error I get on start up is:> /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:440:in `load_missing_constant'': uninitialized > constant ActionController::AbstractRequest (NameError) > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:80:in `const_missing'' > from /Users/user/Sites/iwr2/vendor/plugins/facebooker/lib/ > facebooker/rails/facebook_url_rewriting.rb:2 > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `gem_original_require'' > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:521:in `new_constants_in'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/plugins/facebooker/ > rails/../init.rb:13 > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `gem_original_require'' > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:521:in `new_constants_in'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/plugins/facebooker/rails/ > init.rb:1:in `evaluate_init_rb'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin.rb:146:in `evaluate_init_rb'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin.rb:142:in `evaluate_init_rb'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin.rb:48:in `load'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin/loader.rb:38:in `load_plugins'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin/loader.rb:37:in `each'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin/loader.rb:37:in `load_plugins'' > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:348:in `load_plugins'' > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:163:in `process'' > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:113:in `send'' > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:113:in `run'' > from /Users/user/Sites/iwr2/config/environment.rb:9 > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `gem_original_require'' > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:521:in `new_constants_in'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/rails/railties/lib/ > commands/server.rb:84 > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `gem_original_require'' > from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:31:in `require'' > from script/server:3Brandon (or others), is this a known issue? Thanks, Dave
I must be doing something wrong. Checking out the v2.3.0 tag of Rails'' git repo still results in the same error. Ideas? Dave
Mike Mangino
2009-Mar-15 13:34 UTC
[Facebooker-talk] The 2.3 branch and Rails Edge failing
I have a proposal for how to work on this, although it will take some work. How does everyone feel about splitting Facebooker into several parts. 1) Facebooker-core, this includes just the REST API and nothing framework specific 2) Facebooker-Rails, includes the helpers and rails publisher code That lets us have different plugins for 2.3 and 2.2. It would also allow other environments to make better use of the facebooker code without all of the rails related baggage. Finally, I''m going to shut down the rubyforge mailing list soon. If you''re still on it, please move to the google group. Mike On Mar 13, 2009, at 8:43 PM, Dave Myron wrote:> I found Brandon''s 2.3 branch for Facebooker and thought I''d give > that a try to get around the problems I ran into starting script/ > server with Rails Edge. Unfortunately, no go. > > The error I get on start up is: > >> /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:440:in `load_missing_constant'': >> uninitialized constant ActionController::AbstractRequest (NameError) >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:80:in `const_missing'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/lib/ >> facebooker/rails/facebook_url_rewriting.rb:2 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/ >> rails/../init.rb:13 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/rails/ >> init.rb:1:in `evaluate_init_rb'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:146:in `evaluate_init_rb'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:142:in `evaluate_init_rb'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:48:in `load'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:38:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:37:in `each'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:37:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:348:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:163:in `process'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:113:in `send'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:113:in `run'' >> from /Users/user/Sites/iwr2/config/environment.rb:9 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/railties/lib/ >> commands/server.rb:84 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from script/server:3 > > Brandon (or others), is this a known issue? > > Thanks, > Dave > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Brandon Keepers
2009-Mar-15 15:42 UTC
[Facebooker-talk] The 2.3 branch and Rails Edge failing
On Mar 15, 2009, at 8:34 AM, Mike Mangino wrote:> > I have a proposal for how to work on this, although it will take some > work. > > How does everyone feel about splitting Facebooker into several parts. > > 1) Facebooker-core, this includes just the REST API and nothing > framework specific > 2) Facebooker-Rails, includes the helpers and rails publisher code > > That lets us have different plugins for 2.3 and 2.2. It would also > allow other environments to make better use of the facebooker code > without all of the rails related baggage.I wonder if compatibility will be less of an issue going forward with Rails 3 providing a stable extension API. I''ve already found with the Rails 2.3 branch that I''m able to remove a lot of monkey patches thanks to Rack. That obviously doesn''t help us with compatibility of Rails < 2.3 though, so I''m not sure that it helps us much now. Thoughts? Brandon
Brandon Keepers
2009-Mar-15 15:46 UTC
[Facebooker-talk] The 2.3 branch and Rails Edge failing
Dave, I''ve rebooted my Rails 2.3 branch. I had a couple sloppy commits and moved a bunch of stuff around that wasn''t related to Rails 2.3 compatibility, so I deleted the branch and started over. Check it out and let me know if you have any issues. All the tests pass, and I have a Rails 2.3 app that is using this branch. I haven''t noticed any issues yet. You''ll need to delete the branch from your existing clone to get the new one. $ git branch -D origin/rails-2.3 $ git branch -D rails-2.3 $ git fetch origin $ git checkout -b rails-2.3 origin/rails-2.3 Brandon On Mar 13, 2009, at 7:43 PM, Dave Myron wrote:> I found Brandon''s 2.3 branch for Facebooker and thought I''d give > that a try to get around the problems I ran into starting script/ > server with Rails Edge. Unfortunately, no go. > > The error I get on start up is: > >> /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:440:in `load_missing_constant'': >> uninitialized constant ActionController::AbstractRequest (NameError) >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:80:in `const_missing'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/lib/ >> facebooker/rails/facebook_url_rewriting.rb:2 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/ >> rails/../init.rb:13 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/plugins/facebooker/rails/ >> init.rb:1:in `evaluate_init_rb'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:146:in `evaluate_init_rb'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:142:in `evaluate_init_rb'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin.rb:48:in `load'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:38:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:37:in `each'' >> from ./script/../config/../vendor/rails/railties/lib/rails/ >> plugin/loader.rb:37:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:348:in `load_plugins'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:163:in `process'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:113:in `send'' >> from ./script/../config/../vendor/rails/railties/lib/ >> initializer.rb:113:in `run'' >> from /Users/user/Sites/iwr2/config/environment.rb:9 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:521:in `new_constants_in'' >> from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ >> active_support/dependencies.rb:156:in `require'' >> from /Users/user/Sites/iwr2/vendor/rails/railties/lib/ >> commands/server.rb:84 >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `gem_original_require'' >> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:31:in `require'' >> from script/server:3 > > Brandon (or others), is this a known issue? > > Thanks, > Dave > _______________________________________________ > 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/20090315/08b7b929/attachment-0001.html>
Mike Mangino
2009-Mar-15 16:17 UTC
[Facebooker-talk] The 2.3 branch and Rails Edge failing
I think that would be great. We could also have a rails-2.2 plugin that includes those monkey patches. That way, we can keep the current code clean but still maintain compatibility. Mike On Mar 15, 2009, at 11:42 AM, Brandon Keepers wrote:> > > On Mar 15, 2009, at 8:34 AM, Mike Mangino wrote: > >> >> I have a proposal for how to work on this, although it will take some >> work. >> >> How does everyone feel about splitting Facebooker into several parts. >> >> 1) Facebooker-core, this includes just the REST API and nothing >> framework specific >> 2) Facebooker-Rails, includes the helpers and rails publisher code >> >> That lets us have different plugins for 2.3 and 2.2. It would also >> allow other environments to make better use of the facebooker code >> without all of the rails related baggage. > > I wonder if compatibility will be less of an issue going forward with > Rails 3 providing a stable extension API. I''ve already found with the > Rails 2.3 branch that I''m able to remove a lot of monkey patches > thanks to Rack. That obviously doesn''t help us with compatibility of > Rails < 2.3 though, so I''m not sure that it helps us much now. > > Thoughts? > > Brandon > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google > Groups "facebooker" group. > To post to this group, send email to facebooker at googlegroups.com > To unsubscribe from this group, send email to facebooker+unsubscribe at googlegroups.com > For more options, visit this group at http://groups.google.com/group/facebooker?hl=en > -~----------~----~----~----~------~----~------~--~--- >-- Mike Mangino http://www.elevatedrails.com