Rails 2.1 config.gem and Twitter4R

May 21, 2008

Using the new config.gem method in Rails 2.1? Using the Twitter4R gem to interact with Twitter in your Rails application? Make sure you add the :lib attribute, otherwise ruby-gems won’t know which gem you’re talking about.

In your environment.rb file:

config.gem 'twitter4r', :lib => 'twitter'

Say, say, say, what you want.