Thursday, January 6, 2011

Installation of passenger window

$ gem install passenger

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 '' and follow the instructions
at ''

Installation Overview

  1. Remove artifacts extracted by any of the legacy DevKit’s.
  2. Download the self-extracting DevKit-<vendor>-<bits>-<version>-CCYYMMDD-HHMM-sfx.exe archive.
  3. Extract the DevKit contents into a directory with no spaces, e.g. – C:\DevKit

  • cd <DEVKIT_INSTALL_DIR> from Step 3 above.

  • ruby dk.rb init to generate the config.yml file 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).

  • edit the generated config.yml file to include installed Rubies not automagically discovered or remove Rubies you do not want to use the DevKit with.

  • finally, ruby dk.rb install to DevKit enhance your installed Rubies. This step installs (or updates) an operating_system.rb file into the relevant directory needed to implement a RubyGems pre_install hook and a devkit.rb helper library file into <RUBY_INSTALL_DIR>\lib\ruby\site_ruby. NOTE: you may need to use the --force option to update (with backup of the originals) the above mentioned files as discussed at the SFX DevKit upgrade FAQ entry

  • Confirm your Ruby environment is correctly using the DevKit by running 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'**Hello RubyInstaller**').to_html" to confirm that the rdiscount gem is working.

  • Now run the command again

  • & gem install passenger

    No comments:

    Post a Comment