D:\Documents and Settings\Bhupendra Mishra>gem install passenger
ERROR: Error installing passenger:
The 'fastthread' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
- Remove artifacts extracted by any of the legacy DevKit’s.
- Download the self-extracting
- Extract the DevKit contents into a directory with no spaces, e.g. –
cd <DEVKIT_INSTALL_DIR>from Step 3 above.
ruby dk.rb initto generate the
config.ymlfile to be used later in this Step. Your installed Rubies will be listed there (only those installed by a RubyInstaller package are detected at present).
config.ymlfile to include installed Rubies not automagically discovered or remove Rubies you do not want to use the DevKit with.
ruby dk.rb installto DevKit enhance your installed Rubies. This step installs (or updates) an
operating_system.rbfile into the relevant directory needed to implement a RubyGems
pre_installhook and a
devkit.rbhelper library file into
<RUBY_INSTALL_DIR>\lib\ruby\site_ruby. NOTE: you may need to use the
--forceoption to update (with backup of the originals) the above mentioned files as discussed at the SFX DevKit upgrade FAQ entry
gem install rdiscount --platform=ruby. RDiscount should install correctly and you should see
Temporarily enhancing PATH to include DevKit...in the screen messages. Next run
ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html"to confirm that the rdiscount gem is working.
& gem install passenger