I can't seem to install the twitter gem in my shoes app.
When I try...
Shoes.setup do
gem 'twitter'
end
require 'twitter'
I get
hoe requires RubyGems version >= 1.3.1
Is this a bug in Shoes or Hoe? Any ideas on a work-around?
I can't seem to install the twitter gem in my shoes app.
When I try...
Shoes.setup do
gem 'twitter'
end
require 'twitter'
I get
hoe requires RubyGems version >= 1.3.1
Is this a bug in Shoes or Hoe? Any ideas on a work-around?
I had this exact problem yesterday with a Rails application. The solution was to download and install RubyGems 1.3.1 from source. I used the command:
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
sudo gem install rubygems-update # install the latest (1.3.5 at the moment)
or
sudo gem install rubygems-update -v 1.3.1 # or specifically 1.3.1
It also depends on what version your rubygems is on right now - sometimes you can't update directly to 1.3.5; you have to update to 1.3.1 before upgrading to the latest one.
Furthermore, it is generally recommended to install rubygems from source the first time, and update it using the above commands.