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 6838723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:37:53+00:00 2026-05-26T23:37:53+00:00

I am receiving the error message below in the command prompt when using the

  • 0

I am receiving the error message below in the command prompt when using the git init command. I’m using a Windows PC running Windows 7.

C:\rails_projects\first_app>git init
'chcp' is not recognized as an internal or external command,
operable program or batch file.
Reinitialized existing Git repository in C:/rails_projects/first_app/.git/
'chcp' is not recognized as an internal or external command,
operable program or batch file.

I’m new to Ruby on Rails and I’m trying to create a repository for my Rails project. When I use a command such as rails new first_app or rails server I don’t receive the message, only when I used the git init command does it show up. Also, as you can see the command still functions correctly (i.e. Reinitialized existing Git repository in C:/rails_projects/first_app/.git/), however, it’s annoying to see the error message every time I make a command.

Does anyone have any idea how to fix this problem? I found a link that told me I need to switch the console to Windows-1252 http://illegalargumentexception.blogspot.com/2009/04/i18n-unicode-at-windows-command-prompt.html#charsets_1252 but that didn’t work.

I appreciate any help, thanks!

  • 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-05-26T23:37:53+00:00Added an answer on May 26, 2026 at 11:37 pm

    See if your PATH environment variable is setup properly. Any system should have atleast the below on PATH

    ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    

    Add the above if not there.

    Once added, open a new cmd / bash and try:

    where chcp
    

    It should give the path.

    Then try with the git init again

    Edit

    If you need help to find where to add it
    enter image description here

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

Sidebar

Related Questions

I'm using phoenix::bind and receiving this error message: error C2039: 'bind' : is not
I am receiving a CoreData could not fulfill a fault for ... error message
I am receiving this error message when I debug my program. Object reference not
I am not sure what the problem is but I keep receiving this error
In my program, I have been receiving an error when I use a command-line
I'm receiving an error message from the compiler indicating (it's an embedded C compiler):
I'm receiving an error message EXC_BAD_ACCESS because of onlineLastUpdatedAt and I don't understand why.
I keep on receiving this error message. I followed the instructions but it seems
I'm using mysql_real_escape_string to escape my content but I am receiving an error in
I am using npm v1.0.104/node 0.6.12 on ubuntu - I am receiving the 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.