ruby sqlite install woes

C:\dev\ruby\DOWNLO~1\SQLITE~1>rake-compiler

c:/ruby/lib/ruby/gems/1.9.1/gems/rake-compiler-0.5.0/lib/rake/extensioncompiler.rb:28:in `mingw_host': No MinGW tools or unknown setup platform? (RuntimeError)

from c:/ruby/lib/ruby/gems/1.9.1/gems/rake-compiler-0.5.0/bin/../tasks/bin/cross-ruby.rake:38:in `<top (required)>’

from c:/ruby/lib/ruby/gems/1.9.1/gems/rake-compiler-0.5.0/bin/rake-compiler:21:in `load’

from c:/ruby/lib/ruby/gems/1.9.1/gems/rake-compiler-0.5.0/bin/rake-compiler:21:in `<top (required)>’

from c:/ruby/bin/rake-compiler:19:in `load’

from c:/ruby/bin/rake-compiler:19:in `<main>’

meant “rake compiler doesn’t like gcc.bat files–not it doesn’t”

fix: add mingw/bin to your path first

2 thoughts on “ruby sqlite install woes

  1. :\dev\ruby\DOWNLO~1\SQLITE~1>rake vendor:sqlite3
    (in C:/dev/ruby/DOWNLO~1/SQLITE~1)
    rake-compiler must be configured first to enable cross-compilation
    rake-compiler must be configured first to enable cross-compilation
    cd vendor/sqlite3/lib
    unzip C:/dev/ruby/DOWNLO~1/SQLITE~1/vendor/sqlitedll-3_6_13.zip
    rake aborted!
    Command failed with status (127): [unzip C:/dev/ruby/DOWNLO~1/SQLITE~1/vendor...]

    meant “install cygwin unzip package, add cygwin\bin to your path first”

Leave a Reply

Your email address will not be published. Required fields are marked *


nine + = 11

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>