Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9228913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:26:36+00:00 2026-06-18T05:26:36+00:00

I was trying to push my local database to Heroku and received this error:

  • 0

I was trying to push my local database to Heroku and received this error:

...Taps Server Error: PGError: ERROR: time zone displacement out of range:...

Some googling later I discovered that this error doesn’t occur with ruby 1.9.2 and that (because being on windows) I’d have to install pik to run 1.9.2 alongside 1.9.3. So I installed pik and ruby 1.9.2.

However, when I try to install rails on 1.9.2 I get this error:

...ERROR: Failed to build gem native extension...

After plenty of googling I’ve ran into the following:

  • Don’t bother using windows for ruby/rails development 🙁
  • Something to do with devkit?
  • Or installing a binary kit version of rails?
  • Compile it yourself

Any help is much appreciated!

EDIT:

Full error stack trace:

Building native extensions.  This could take a while...
ERROR:  Error installing rails:
        ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
creating Makefile

make
gcc -I. -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby192/include/ruby-1.9.1/ruby/backward -
I/C/Ruby192/include/ruby-1.9.1 -I. -DJSON_GENERATOR    -O3 -g -Wextra -Wno-unused-parameter -Wno-par
entheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O3 -Wall -O
0 -ggdb  -o generator.o -c generator.c
make: gcc: Command not found
make: *** [generator.o] Error 127


Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.7.6 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.7.6/ext/json/ext/generator/gem_make.out
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:26:37+00:00Added an answer on June 18, 2026 at 5:26 am

    The relevant part of the error message is gcc: Command not found; so the compiler is not available to compile the code locally.

    If you already have gcc installed on your machine somewhere, make sure it is included in the PATH.

    Check the How to install gcc on windows 7 machine? for guidance on how to install gcc on windows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use heroku db:push to upload my local postgresql database to the
I am getting this error when I am trying push my files into heroku
I'm trying to push my local development database up to heroku with heroku db:push
I have suddenly started seeing this strange error when trying to push my database
I'm trying to do a db:push to Heroku, but am getting this error: !!!
I'm trying to push my local MySQL database to Heroku's ClearDB MySQL database. I've
I am trying to put my local database to my existing app on Heroku
My goal is to push the contents of my local database to Heroku. Using
Trying pull the database from Hekoku to local but failed. heroku db:pull postgres://root:@localhost/db_name Admittedly,
I'm trying to push an app to heroku and am getting the below error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.