SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist winterheat's Avatar
    Join Date
    Aug 2007
    Posts
    508
    Mentioned
    0 Post(s)
    Tagged
    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.

    http://rubyforge.org/frs/?group_id=254

    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 http://agilo.us/2009/03/15/rails-on-windows/ ?

    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
    'nmake' is not recognized as an internal or external command,
    operable program or batch file.


    Gem files will remain installed in
    c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1
    .2.4 for inspection.
    Results logged to
    c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_
    api/gem_make.out

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,053
    Mentioned
    187 Post(s)
    Tagged
    2 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.


Bookmarks

Posting Permissions

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