RFacebook 0.9.8 out, reinstall your plugin too

Hey everyone, RFacebook 0.9.8 is released. The core API has been cleaned up a bit (although Facepricot is still in there, I plan on deprecating it in version 1.0 in favor of something much less hackish). The biggest change is that the plugin is now COMPLETELY separate from the Gem. This means that you’ll need to reinstall your plugin this time around:

script/plugin install svn://rubyforge.org/var/svn/rfacebook/trunk/rfacebook/plugins/rfacebook

The good part is that the Gem is easier to update on a less-frequent basis, while the plugin can get some serious work/reworking without requiring a Gem release each time. Also, everything should be Rails 2.0 compatible now. Let me know if you still experience any issues with Rails 2.0.

12 Responses to “RFacebook 0.9.8 out, reinstall your plugin too”

  1. sudara Says:

    Thanks!

    It may be worth mentioning on the forum/blog/homepage whether this release is rails 2 friendly or not.

  2. Steve Says:

    Hi.

    I just upgraded my local and server gem (sudo gem update rfacebook) and swapped the plugins (by installing the new one using the line you gave above and then ditching the rfacebook_on_rails folder from vendor/plugins) but now my app in development doesn’t respond at all — it doesn’t even log in development.log.

    Is 0.9.8 a drop-in upgrade? What’s the recommended path? I’m gonna roll back to 0.9.7 again, but would welcome any advice.

    Cheers
    S

  3. Steve Says:

    All fine now - saw your reply here http://jypsie.com/RFacebook/forums/RFacebook-Help/topics/-98-Deployment-Issue and that sorted me out too! Apologies for the false alarm, and thanks v much for making rfacebook in the first place!

  4. Q: Is rfacebook v0.9.7 ready for Rails 2.0? « facebook for ruby // questions & answers / news / discussions / more Says:

    […] Q: Is rfacebook v0.9.7 ready for Rails 2.0? January 4, 2008 — Gerald Update (Jan/9): rfacebook v0.9.8 is ready. Matt Pizzimenti’s published a story about the update titled “RFacebook 0.9.8 out, reinstall your plugin too“. […]

  5. Tran Duc Minh Says:

    I reinstalled the plugin to 0.9.8
    Next i call the command: rake facebook:setup
    But it is not successful:

    D:\Temp\railsadvance>rake facebook:setup
    (in D:/Temp/railsadvance)
    rake aborted!
    Don’t know how to build task ‘facebook:setup’

    (See full trace by running task with –trace)

    Next, i run it with –trace argument:

    D:\Temp\railsadvance>rake facebook:setup –trace
    (in D:/Temp/railsadvance)
    rake aborted!
    Don’t know how to build task ‘facebook:setup’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio
    n_handling’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio
    n_handling’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run’
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
    c:/ruby/bin/rake:16:in `load’
    c:/ruby/bin/rake:16

    Any advice?

    Thanks a lot,
    Minh

  6. Joel Nylund Says:

    Hi, i uninstalled old plugin, installed new one, removed line from my environment.rb file, but when doing rake db:migrate, I get

    rake aborted!
    uninitialized constant ActionView
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing’
    /Users/jnylund/Projects/joel/config/../vendor/plugins/rfacebook/tasks/../init.rb:54
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require’
    /Users/jnylund/Projects/joel/config/../vendor/plugins/rfacebook/tasks/all.rake:92
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1571:in `in_namespace’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:641:in `namespace’
    /Users/jnylund/Projects/joel/config/../vendor/plugins/rfacebook/tasks/all.rake:90
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1571:in `in_namespace’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:641:in `namespace’
    /Users/jnylund/Projects/joel/config/../vendor/plugins/rfacebook/tasks/all.rake:33
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8:in `load’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8:in `each’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require’
    /Users/jnylund/Projects/joel/rakefile:10
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `raw_load_rakefile’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in `load_rakefile’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in `load_rakefile’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run’
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7

    any ideas?
    thanks
    Joel

  7. eszter Says:

    I’m getting the same error when running my tests:
    ” rake aborted!
    uninitialized constant ActionView”

    on kubuntu gutsy with rails 2.0.2, ruby 1.8.6 and rake 0.7.3

  8. Matt Says:

    If you guys could post your questions to the forum (http://jypsie.com/RFacebook), others may be able to help you out. It may also be good to post these as bugs to Rubyforge (http://rubyforge.org/rfacebook). I’ll leave them up here for now, but I will probably clear out the comments later to avoid super-long backtraces ;)

  9. eszter Says:

    Uncommenting the line 92:

    require File.join(File.dirname(__FILE__), ‘../init.rb’)

    from vendor/plugins/rfacebook/tasks/all.rake file make at least my tests run.

  10. bobcomm Says:

    I had trouble upgrading rfacebook on windows and jypsie seems to be down at the moment.

    Has the repository address for the rails plugin changed?

    I found that the following command worked for the rails plugin:
    ruby script/plugin install http://rfacebook.rubyforge.org/svn/trunk/rfacebook/plugins/rfacebook

  11. mjpizz Says:

    Yes, the repository was reorganized by one of the new developers. Sorry for not updating the docs, my bad. I’ve updated the website as well.

  12. ndgiang84 Says:

    (1) I receive this error msg:

    “There was a problem loading the RFacebook on Rails plugin. You may have forgotten to install the RFacebook Gem…….”

    when trying to start server (script/server) or rake (rake facebook:setup)

    (2) on the other hand I can’t reinstall RFacebook, only one file named “DEPRECATED” in the folder /vender/rfacebook_on_rails after !

    greatly appriciated for any help.