Emmanuel Oga’s Weblog

facebooker gem outdated on rubyforge

Posteado por: emmanueloga en: Diciembre 8, 2008

If you are building a facebook applicaction using facebooker gem, beware the version of the gem in rubyforge is outdated. The easier way to deal with this is to clone the github repo of facebooker and install the gem from there.

  1. git clone git://github.com/mmangino/facebooker.git
  2. cd facebooker

Then:

  1. rake gem
  2. cd pkg
  3. sudo gem install facebooker-[insert-version-here]

UPDATE

But this won’t work… the updated method is:

  1. rake gemspec
  2. gem build facebooker.gemspec
  3. sudo gem install facebooker-[insert-version-here]

At this point, the lastest version on github is 0.9.9 1.0.8!!! (0.9.5 in rubyforge), and this is a version you are going to need because of this commit.

UPDATE:

Although the procedure above still works, you may find it easier to install the gem directly from github, now that its gemspec has been made github-compatible:

  1. gem sources
  2. sudo gem sources –add http://gems.github.com (if it is not already listed when you run step 1)
  3. sudo gem install mmangino-facebooker

…although because of github gemspec security policy, the gem there is _not always_ the lastest…

Etiquetas:

Escribe un comentario

About Me


Professional Software developer, amateur musician. Obsessed with finding the best algorithms for solving the problems nobody has.

My Profile

View Gustavo Emmanuel Oga's profile on LinkedIn

Recomendame

Recommend Me

Stats

  • 22,197 hits

Twitter

LocosXRails Conference