Old Emmanuel Oga's Weblog (new one is at www.emmanueloga.com)

facebooker gem outdated on rubyforge

Posted in ruby by emmanueloga on 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…

Tagged with:

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: