SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Evangelist winterheat's Avatar
    Join Date
    Aug 2007
    0 Post(s)
    0 Thread(s)

    how come "gem install sqlite3-ruby" will fails on PC?

    this is related to Ruby on Rails:

    I wonder why

    gem install sqlite3-ruby

    will fail on a PC with Vista? (probably XP too)

    when i do a search on google for sqlite3-ruby, I see that 1.2.4 was
    actually done in August 2008.

    So does that mean for 8 months (from
    2008-08 to 2009-04), it was breaking all people using a PC?

    turns out that it needs to be

    gem install -v1.2.3 sqlite3-ruby

    can't it simply show a message saying you need 1.2.3 for a PC? or show a
    selection list like on ?

    that's kind of weird...

    this is the error message for "gem install sqlite3-ruby":

    C:\ror>gem install sqlite3-ruby
    Building native extensions. This could take a while...
    ERROR: Error installing sqlite3-ruby:
    ERROR: Failed to build gem native extension.

    c:/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby
    checking for fdatasync() in rt.lib... no
    checking for sqlite3.h... no

    'nmake' is not recognized as an internal or external command,
    operable program or batch file.

    Gem files will remain installed in
    .2.4 for inspection.
    Results logged to

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    West Springfield, Massachusetts
    198 Post(s)
    3 Thread(s)
    Yes it would be nice if a GEM needing a certain dll or using a certain command would fail with a "you need version XX of XX" or "missing required XX" message.

    It would save a lot of headaches and the need to search and puzzle out the solution.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts