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

  • Home
  • SEARCH
  • 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 8760555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:04:34+00:00 2026-06-13T15:04:34+00:00

When trying to create a heroku app and push up to it via git,

  • 0

When trying to create a heroku app and push up to it via git, I get the following error:

$ heroku create
' "C:\Program Files <x86>\ruby-1.9.2\bin\ruby.exe" is not recognized as an
internal or external command, operable program or batch file.

However,

$ ruby -v
ruby 1.9.3p125 <2012-02-16> [i386-mingw32]

I’ve checked the PATH environment and it definitely contains “C:\Program Files (x86)\ruby-1.9.2\bin”. Interestingly too, when navigating to this directory, it doesn’t actually contain a file named ruby.exe. Is that normal?

Why when I specifically try to deploy to Heroku does this error come up? I have no idea what’s going on…please help!

  • 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-13T15:04:35+00:00Added an answer on June 13, 2026 at 3:04 pm

    Also a newbie here, trying to get rails with heroku running. I ran into exactly the same problem today, first the “Could not find RubyGem railties” issue and then after uninstalling Ruby 1.9.2, the problem with heroku not working anymore. I found 2 ways around it, but not sure if either one is great.

    Don’t uninstall the ruby version that comes with the toolbelt. Instead either

    (1): remove it from the PATH. For me, the toolbelt installation added c:\program files\ruby1.9.3 to my PATH system variable. I already had c:\ruby193 (where I installed ruby myself previously) in my user PATH variable. After removing the one that the toolbelt added from PATH, things started working.
    (note: the c:\ruby193 should be placed before c:\program files\heroku\bin int the PATH system variable or else it wont work)

    (2): alternatively, I moved c:\ruby193 from my user PATH to my system PATH. Re-installed the toolbelt, and both ruby and heroku work now. But I do have both versions of ruby in my PATH variable.

    Not sure if either way is great because I suspect I now have two versions of ruby installed and being used depending on what I’m doing. But at least allowed me to move on to the next problem, now stuck trying to install heroku plugins.

    I thought ruby on rails was supposed to make things easy. It’s been 4 days of trying to configure 30 different new tools (end rant)

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

Sidebar

Related Questions

I'm trying to push an app to heroku and am getting the below error
I am trying to use delayed_job on heroku and I get the following error:
I am trying to create a chat application on heroku using the following https://github.com/tarnfeld/PusherChat-Rails
I am trying to get my app up and running on heroku. However once
I am trying to create Sinatra based heroku app without any luck?
I'm trying to create a new app on heroku but it seems no matter
I'm trying to create a Django app on Heroku, as detailed by the Heroku/Django
I successfully pushed my Sinatra-powered Ruby app to Heroku. One of the files I
I am trying to push my app on heroku. I am still in dev.
Trying to create a facebook app just to learn and coming across a strange

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.