I am trying to install Gitorious in my local computer. However I get this error when I execute the console application:
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:194:in
block in stub_source_index170':
undefined methodskip_during' for
Bundler::RubygemsIntegration::Deprecate:Class
(NoMethodError)
The ruby code that is executing in /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb is:
def stub_source_index170(specs)
Gem::SourceIndex.send(:define_method, :initialize) do |*args|
#gems = {}
# You're looking at this thinking: Oh! This is how I make those
# rubygems deprecations go away!
#
# You'd be correct BUT using of this method in production code
# must be approved by the rubygems team itself!
#
# This is your warning. If you use this and don't have approval
# we can't protect you.
#
Deprecate.skip_during do
self.spec_dirs = *args
add_specs(*specs)
end
end
end
I guess the error occurs because the deprecate module is not loaded or something like that... I don't know ruby... but how can I try to correct it?
I have ruby 1.9.1p431 (2011-02-18 revision 30908) with gem 1.8.5
List of gems:
* LOCAL GEMS *
actionmailer (2.3.5) actionpack
(2.3.5) activerecord (2.3.8, 2.3.5)
activeresource (2.3.5) activesupport
(2.3.8, 2.3.5) acts-as-taggable-on
(2.0.6) builder (3.0.0) bundler
(1.0.15) chronic (0.3.0)
daemon_controller (0.2.6) daemons
(1.1.0) diff-lcs (1.1.2) echoe (4.3.1)
eventmachine (0.12.10)
exception_notification (1.0.20090728)
factory_girl (1.3.3) fastthread
(1.0.7) gemcutter (0.6.1) geoip
(0.8.9) hoe (2.8.0) json_pure (1.5.0)
mime-types (1.16) mocha (0.9.10) mysql
(2.8.1) oauth (0.4.4) paperclip
(2.2.9.2) passenger (3.0.7)
proxymachine (1.2.4) rack (1.0.1)
rails (2.3.5) rake (0.8.7) rdiscount
(1.3.1.1) revo-ssl_requirement (1.1.0)
riddle (1.2.2) rmagick (2.13.1)
ruby-hmac (0.4.0) ruby-openid (2.1.8)
ruby-yadis (0.3.4) rubyforge (2.0.4)
shoulda (2.9.2) state_machine (0.9.4)
stomp (1.1) stompserver (0.9.9) tuxml
(0.0.1) validates_url_format_of
(0.1.1) will_paginate (2.3.15)
Many thanks in advance.
Carlos.
Newer versions of Rubygems are deprecating some old internal methods. You can downgrade Rubygems with gem update --system 1.x.y (e.g. 1.5.2) to see if that solves your problem.
Deprecate was namespaced to Gem::Deprecate. You can temporary patch it:
Gem::Deprecate.skip_during do
self.spec_dirs = *args
add_specs(*specs)
end
Related
I am working on a CentOs 5.5. I have never worked with ruby or rails before, but recently I had to upgrade a redmine 1.1.0 to version 2.3.1 following this tutorial. The update process went smoothly, but once I try to start WEBrick to host the application, with the command
ruby /var/www/redmine/script/server webrick -d -e production -p 8080 (port 80 is already being listened by an apache)
I get the following error:
/var/www/redmine/script/server:3:in `require': no such file to load -- commands/server (LoadError)
from /var/www/redmine/script/server:3:in `<main>'
The contents in '/var/www/redmine/script/server' are:
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server'
My ruby version, which is compatible with this redmine version, is 1.9.2. I believe I have installed every required gem in my Gemfile. I don't know why ruby doesn't find this file, and so I tried replacing the last require with what I suspected was the filepath of the desired file.
require '/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb'
It didn't seem to work, though. Despite the fact the error was gone, I still got an "Service Unavailable" error from my browser.
Just for the record, the output as shown by the command 'gem env' is:
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.5
- RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [i686-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /root/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
The output of 'gem list' is:
actionmailer (3.2.13, 3.2.0)
actionpack (3.2.13, 3.2.0)
activemodel (3.2.13, 3.2.0)
activerecord (3.2.13, 3.2.0)
activeresource (3.2.13, 3.2.0)
activesupport (3.2.13, 3.2.0)
arel (3.0.2)
atomic (1.1.4)
bourne (1.1.2)
builder (3.0.4, 3.0.0)
bundler (1.3.5)
capybara (2.0.3)
childprocess (0.3.9)
coderay (1.0.9)
erubis (2.7.0)
fastercsv (1.5.5)
ffi (1.9.0)
hike (1.2.3)
i18n (0.6.4, 0.6.1)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.8.0)
mail (2.5.4, 2.4.4)
metaclass (0.0.1)
mime-types (1.23)
mini_portile (0.5.1)
minitest (4.7.5, 1.6.0)
mocha (0.13.3, 0.10.5)
multi_json (1.7.7)
mysql (2.8.1)
net-ldap (0.3.1)
nokogiri (1.6.0)
pg (0.11.0)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13, 3.2.0)
railties (3.2.13, 3.2.0)
rake (10.1.0, 0.8.7)
rake-compiler (0.8.3)
rdoc (3.12.2, 2.5.8)
rmagick (2.13.2)
ruby-openid (2.2.3, 2.1.8, 2.1.4)
rubygems-update (2.0.5)
rubyzip (0.9.9)
selenium-webdriver (2.33.0)
shoulda (3.5.0, 3.3.2)
shoulda-context (1.0.2)
shoulda-matchers (1.4.2)
sprockets (2.2.2, 2.1.3)
sqlite3 (1.3.7)
thor (0.18.1, 0.14.6)
thread_safe (0.1.0)
tilt (1.4.1)
treetop (1.4.14)
tzinfo (0.3.37)
websocket (1.0.7)
xpath (1.0.0)
yard (0.8.6.2)
Would someone please give me a hint of the cause of the error or how to fix it?
If I'm not mistaken script/server is rails 2.x.x way to start the rails application.
If I look at your bundler, it now uses rails 3.x and the way to start it suppose to be with rails server
I verify this by looking into
http://www.redmine.org/projects/redmine/repository/show/tags/2.3.1/script
there is no server executable. but there is rails executable there
Check if thre is rails executable on the same folder.
if there is, you should be able to run rails with:
$ /var/www/redmine/script/rails server
I am upgrading my system to ruby 2.0 and I have done everything short of throw my computer on the wall. I find it hard to believe that fastthread is the problem. Has anyone else seen this error when running 'bundle install'. Here is my ruby version
ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
when I try to run rails -v I get this
rails -v
Could not find fastthread-1.0.7 in any of the sources
Run bundle install to install missing gems.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using i18n (0.6.1)
Using multi_json (1.6.1)
Using activesupport (3.2.9)
Using builder (3.0.4)
Using activemodel (3.2.9)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.2.2)
Using actionpack (3.2.9)
Using mime-types (1.21)
Using polyglot (0.3.3)
Using treetop (1.4.12)
Using mail (2.4.4)
Using actionmailer (3.2.9)
Using arel (3.0.2)
Using tzinfo (0.3.35)
Using activerecord (3.2.9)
Using activeresource (3.2.9)
Using bundler (1.3.0)
Using highline (1.6.15)
Using net-ssh (2.6.5)
Using net-scp (1.1.0)
Using net-sftp (2.1.1)
Using net-ssh-gateway (1.2.0)
Using capistrano (2.14.2)
Using chunky_png (1.2.7)
Using coffee-script-source (1.5.0)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.3)
Using json (1.7.7)
Using rdoc (3.12.2)
Using thor (0.17.0)
Using railties (3.2.9)
Using coffee-rails (3.2.2)
Using fssm (0.2.10)
Using sass (3.2.6)
Using compass (0.12.2)
Using compass-rails (1.0.3)
Using daemon_controller (1.1.1)
Installing fastthread (1.0.7)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/ben/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
make
Makefile:104: *** missing separator. Stop.
Gem files will remain installed in /Users/[me]/.rvm/gems/ruby-2.0.0-p0/gems/fastthread-1.0.7 for inspection.
Results logged to /Users/[me]/.rvm/gems/ruby-2.0.0-p0/gems/fastthread-1.0.7/ext/fastthread/gem_make.out
An error occurred while installing fastthread (1.0.7), and Bundler cannot
continue.
Make sure that `gem install fastthread -v '1.0.7'` succeeds before bundling.
Has anyone else ran into this?
Conents of /Users/[me]/.rvm/gems/ruby-2.0.0-p0/gems/fastthread-1.0.7/ext/fastthread/gem_make.out
/Users/[me]/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
make
Makefile:104: *** missing separator. Stop.
Phusion Passenger 4 has already solved this by removing the fastthread dependency. The 4.0 betas and RCs install just fine on Ruby 2.0.
If you use Passenger as your webserver you have to have this dependency. See this pull request for the fix: https://github.com/zoltankiss/fastthread/commit/a47a121990cf7d4f31147406c2d379dabc048479
The author of the gem has not yet included this fix. You can require fastthread from https://github.com/zoltankiss/fastthread if you need it. That is who submitted the pull request.
I can´t install the rcov gem ;-(
I use BitNami Redmine, Windows 7.
gem install rcov
Result:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing rcov:
ERROR: Failed to build gem native extension.
"C:/Program Files/BitNami Redmine Stack/ruby/bin/ruby.exe" extconf.rb
creating Makefile
make
Makefile:130: warning: overriding commands for target `C:/Program'
Makefile:124: warning: ignoring old commands for target `C:/Program'
Makefile:130: warning: overriding commands for target `Files/BitNami'
Makefile:124: warning: ignoring old commands for target `Files/BitNami'
Makefile:130: warning: overriding commands for target `Redmine'
Makefile:124: warning: ignoring old commands for target `Redmine'
make: *** No rule to make target `ruby.h', needed by `callsite.o'. Stop.
Gem files will remain installed in C:/Program Files/BitNami Redmine Stack/ruby/l
ib/ruby/gems/1.8/gems/rcov-1.0.0 for inspection.
Results logged to C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/
gems/rcov-1.0.0/ext/rcovrt/gem_make.out
Before this message BitNami told me to install the DevKit. I installed the DevKit, did edit the confiy.yml (- C:/Program Files/BitNami Redmine Stack/ruby -- maybe this was my fault because I don´t wrote the "") and startet the DevKit installation. Everything was fine but it´s not possible to install the gem. In my opinion it was a very bad idea to install Redmine into a folder with spaces.
I searched for a solution but none solution did work ;-(
Solution 1: I substed the BitNami path to X, tried the installation but that didn´t work.
Solution 2: Use the Microsoft C++ Express advice (http://minimalbugs.com/questions/how-to-install-gem-rcov-on-windows)
Solution 3: An older version of rcov (like 0.9.11) also didn´t work
If I try to install the rdiscount gem I got a similar error (Makefile 130 / 124 / ... C:/Program/...).
Now I need help ;-)
My gems:
*** LOCAL GEMS ***
actionmailer (3.2.6, 2.3.14)
actionpack (3.2.6, 2.3.14)
activemodel (3.2.6)
activerecord (3.2.6, 2.3.14)
activeresource (3.2.6, 2.3.14)
activesupport (3.2.6, 2.3.14)
addressable (2.2.8)
after_commit (1.0.10)
allison (2.0.3)
arel (3.0.2)
aws-sdk (1.5.5, 1.5.2)
bcrypt-ruby (3.0.1 x86-mingw32)
bluecloth (2.1.0 x86-mingw32)
builder (3.0.0, 2.1.2)
bundler (1.1.4, 1.0.21)
capistrano (2.12.0, 2.9.0)
capybara (1.1.2)
cgi_multipart_eof_fix (2.5.0)
childprocess (0.3.3)
coderay (1.0.7, 1.0.6)
crack (0.3.1)
cucumber (1.2.1, 0.9.4)
cucumber-rails (1.3.0, 0.3.2)
daemons (1.1.8, 1.0.10)
delayed_job (3.0.3, 2.0.7)
diff-lcs (1.1.3, 1.1.2)
echoe (4.5.6)
edavis10-object_daddy (0.4.3)
erubis (2.7.0)
eventmachine (0.12.10)
fastercsv (1.5.5, 1.5.4)
ffi (1.0.9 x86-mingw32)
gem_plugin (0.2.3)
gemcutter (0.7.1)
gherkin (2.11.1 x86-mingw32, 2.2.9 x86-mingw32)
gruff (0.3.6)
highline (1.6.13, 1.6.8)
hike (1.2.1)
hoe (3.0.6, 2.12.4)
hpricot (0.8.5 i386-mswin32)
httparty (0.8.3, 0.8.1)
i18n (0.6.0, 0.4.2)
journey (1.0.4, 1.0.3)
json (1.4.6 x86-mingw32)
json_pure (1.7.3, 1.6.3)
libwebsocket (0.1.3)
mail (2.4.4)
memcache-client (1.8.5)
metaclass (0.0.1)
mime-types (1.19, 1.18)
mini_magick (3.4, 3.3)
mocha (0.11.4, 0.10.5)
mongrel (1.1.5 x86-mingw32)
mongrel_cluster (1.0.5)
mongrel_service (0.4.0)
multi_json (1.3.6, 1.1.0)
multi_xml (0.5.1, 0.4.1)
mysql (2.8.1 x86-mingw32)
needle (1.3.0)
net-ldap (0.3.1)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.5.2, 2.2.1)
net-ssh-gateway (1.1.0)
nokogiri (1.5.5 x86-mingw32, 1.5.0 x86-mingw32, 1.4.4 x86-mingw32)
polyglot (0.3.3)
prototype-rails (3.2.1)
rack (1.4.1, 1.1.3)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.1, 0.5.7)
rails (3.2.6, 2.3.14)
rails_analyzer_tools (1.4.0)
railties (3.2.6)
rake (0.9.2.2)
rake-compiler (0.8.1, 0.7.9)
rdoc (3.12, 3.11)
RedCloth (4.2.9 x86-mingw32)
riddle (1.5.2, 1.5.0)
rmagick (2.12.0)
rspec (2.10.0, 2.7.0)
rspec-core (2.10.1, 2.7.1)
rspec-expectations (2.10.0, 2.7.0)
rspec-mocks (2.10.1, 2.7.0)
ruby-openid (2.1.8)
rubyforge (2.0.4)
rubyzip (0.9.9)
selenium-webdriver (2.24.0)
simplecov (0.6.4)
simplecov-html (0.5.3)
sprockets (2.4.3, 2.1.3, 2.1.2)
sqlite3 (1.3.6 x86-mingw32, 1.3.5 x86-mingw32)
sqlite3-ruby (1.3.2 x86-mingw32)
subexec (0.2.2, 0.1.0)
SyslogLogger (1.4.1, 1.4.0)
term-ansicolor (1.0.7)
thin (1.3.1)
thinking-sphinx (2.0.12, 1.4.10)
thor (0.15.3, 0.14.6)
tilt (1.3.3)
treetop (1.4.10, 1.4.5)
tzinfo (0.3.33)
uuidtools (2.1.2)
webrat (0.7.3)
xpath (0.1.4)
yard (0.8.2.1, 0.8.1)
I had the same error. Everything solved it self by changing the installation location of the Bitnami Redmine Stack. Default location is C:\Program Files\Bitnami Redmine Stack\
The "make" which is included in the DevKit can't handle spaces in the pathname.
I installed the bitnami stack to C:\BitNamiRedmine\ and now everything works perfectly.
Install Bitname Redmine to a path without spaces, e.g. C:\BitNamiRedmine\
Download the Ruby Development Kit -> http://rubyinstaller.org/downloads/
Extract the DevKit to C:\BitNamiRedmine\ruby\devkit\
use_redmine.bat
cd ruby\devkit
run ruby dk.rb init
add »- "C:/BitNamiRedmine/ruby"« (without »«, Important: Forward-Slashes!) to the config.yml in the DevKit folder
run ruby dk.rb install
Done!
Now you can navigate to your apps/redmine/htdocs folder and run gem install rcov.
Tested on Windows Server 2008 R2.
When I try to startup the redmine 1.2 with the server which binding with redmine itself, but it show me an error of gem, info like below:
[root#XPG redmine-1.2.0]# ruby script/server webtrick -e production
Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`
even if I have installed the gem it said:
[root#XPG redmine-1.2.0]# gem list --local
*** LOCAL GEMS ***
aasm (2.2.0)
abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
arel (2.0.10)
Ascii85 (1.0.1)
block_helpers (0.3.3)
builder (2.1.2)
bundler (1.0.14)
capybara (1.0.0)
childprocess (0.1.9)
cucumber (1.0.0)
cucumber-rails (1.0.2)
diff-lcs (1.1.2)
edavis10-object_daddy (0.4.3)
erubis (2.6.6)
ffi (1.0.9)
gherkin (2.4.1)
holidays (1.0.2)
i18n (0.4.2)
icalendar (1.1.6)
json (1.6.1, 1.5.3)
json_pure (1.5.3)
mail (2.2.19)
mime-types (1.16)
mocha (0.9.12)
mysql (2.8.1)
nokogiri (1.5.0)
pdf-reader (0.9.2)
polyglot (0.3.1)
prawn (0.11.1)
rack (1.2.3, 1.1.2, 1.0.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (2.3.5)
rake (0.9.0)
rubygems-update (1.8.11, 1.8.4, 1.5.3, 1.3.7)
rubyzip (0.9.4)
selenium-webdriver (0.2.2)
shoulda (2.10.3)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
term-ansicolor (1.0.5)
thor (0.14.6)
treetop (1.4.9)
ttfunk (1.0.1)
tzinfo (0.3.27)
xpath (0.1.4)
But the issue is still appeared, is there any idea to fix it?
as far as I see, your command is not correct.
server's name is webrick, not "webtrick"
even using webrick, it doesn't support production environment.
seems that you are not using rails3/bundler
I suggest that you start the webserver using either mongrel or thin, both of them are faster and stabler than webrick.
I'm learning to use Sinatra + Datamapper to build a lightweight webapp.
I ran gem install sqlite3 datamapper dm-sqlite-adapter and it seemed to have successfully installed...
I then tried to execute my .rb file which starts with:
require 'sinatra'
require 'datamapper'
and I got an error that it could not find the datamapper file.
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- datamapper (LoadError)
I also tried with require 'data_mapper' since there is conflicting information on the internetz as to the correct spelling of that gem, but same result.
I then listed all my installed gems (see below) and realilsed that there is no such gem as datamapper or data_mapper. I read so,ewhere that it is a meta-gem, I guess that means it doesn't actually install that one gem but rather all the gems starting with dm- ?
As a last resort I tried gem install data_mapper
and I got the ill fated:
C:\Users\Manu\Sinatra>gem install data_mapper
Building native extensions. This could take a while...
ERROR: Error installing data_mapper:
ERROR: Failed to build gem native extension.
C:/Ruby192/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,operable program or batch file.
Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.6.4 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.6.4/ext/json/ext/parser/gem_make.out
I searched all over and just couldn't find anything to help me troubleshoot this, so hopefully there's someone roaming this forum with a magic wand and a pointy hat!
Many thanks
PS: I'm running ruby 1.9.2p0 installed with the installer
* LOCAL GEMS *
abstract (1.0.0)
actionmailer (3.0.3)
actionpack (3.0.3)
activemodel (3.0.3)
activerecord (3.0.3)
activeresource (3.0.3)
activesupport (3.0.3)
addressable (2.2.6)
arel (2.0.6)
backports (2.3.0)
builder (2.1.2)
bundler (1.0.7)
cgi_multipart_eof_fix (2.5.0)
data_objects (0.10.7)
diff-lcs (1.1.3)
dm-aggregates (1.2.0)
dm-constraints (1.2.0)
dm-core (1.2.0)
dm-do-adapter (1.2.0)
dm-migrations (1.2.0)
dm-sqlite-adapter (1.2.0)
dm-transactions (1.2.0)
do_sqlite3 (0.10.7 x86-mingw32)
erubis (2.6.6)
fastercsv (1.5.4)
gem_plugin (0.2.3)
growl (1.0.3)
i18n (0.5.0)
json_pure (1.6.4)
mail (2.2.12)
mime-types (1.16)
minitest (1.6.0)
mongrel (1.1.5 x86-mingw32)
multi_json (1.0.4)
polyglot (0.3.1)
rack (1.4.0, 1.2.1)
rack-mount (0.6.13)
rack-protection (1.2.0)
rack-test (0.5.6)
rails (3.0.3)
railties (3.0.3)
rake (0.8.7)
rdoc (2.5.8)
rspec (2.8.0)
rspec-core (2.8.0)
rspec-expectations (2.8.0)
rspec-mocks (2.8.0)
rubygems-update (1.8.15)
sinatra (1.3.2)
sqlite3 (1.3.5 x86-mingw32)
sqlite3-ruby (1.3.3, 1.3.2 x86-mingw32)
sys-uname (0.9.0 x86-mingw32)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.9)
trollop (1.16.2)
tzinfo (0.3.23)
yard (0.7.4)
It seems the RubyInstaller Development Kit is missing:
http://rubyinstaller.org/add-ons/devkit/
The devkit installs a C-compiler (and some other stuff like make) to compile C-written parts.
Install it and try again to install the gem - perhaps with option --platform=ruby.
Details can be found at https://github.com/oneclick/rubyinstaller/wiki/Development-Kit