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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:38:28+00:00 2026-06-13T16:38:28+00:00

Using Michael Hartl’s Ruby on Rails instructions, I typed the following into the command

  • 0

Using Michael Hartl’s Ruby on Rails instructions, I typed the following into the command line:

$ git init
$ git add .
$ git status

The output I got doesn’t make sense. It looks like everything on my computer is being committed, i.e. my web browsing history.

# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage) 
#
#   modified:   .DS_Store
#   new file:   .Trash/.DS_Store
#   modified:   .bash_history
#   modified:   .gem/specs/rubygems.org%80/latest_specs.4.8
#   new file:   .gem/specs/rubygems.org%80/quick/Marshal.4.8/treetop-1.4.12.gemspec
#   new file:   .gem/specs/rubygems.org%80/quick/Marshal.4.8/tzinfo-0.3.34.gemspec 
#   modified:   .gem/specs/rubygems.org%80/specs.4.8
#   modified:   Desktop/.DS_Store
#   modified:   Library/Application Support/AddressBook/Metadata/.info
#   modified:   Library/Application Support/AddressBook/Sources/7A5B88B6-2E8C-44D5-B3C5-96C523D66818/Metadata/.info
#   modified:   Library/Application Support/CrashReporter/Intervals_31838DA3-3634-5B48-BAA4-074D9844D0AB.plist
#   modified:   Library/Application Support/Dock/FD847662-EDEA-43DC-8969-18D1DD48507E.db
#   modified:   Library/Application Support/Sublime Text 2/Settings/Auto Save Session.sublime_session
#   modified:   Library/Application Support/Ubiquity/peer-0773FD5E-421F-A363-E209-F9D5E42A0F5F-v23/item-info.db
#   new file:   Library/Caches/Metadata/Safari/Bookmarks/2AD8D7AF-5B59-4BF5-9C80-749756908961.webbookmark
#   modified:   Library/Caches/Metadata/Safari/History/.tracked filenames.plist
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-282.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-283.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-284.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-285.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-286.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-287.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-288.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-289.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-290.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-291.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-292.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-293.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-294.webhistory
#   new file:   Library/Caches/Metadata/Safari/History/Safari history item-295.webhistory

Before trying to commit, I had ran $ rails server in a different terminal and got the output below:

=> Booting WEBrick
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-10-31 12:30:26] INFO  WEBrick 1.3.1
[2012-10-31 12:30:26] INFO  ruby 1.9.3 (2012-10-12) [x86_64-darwin12.2.0]
[2012-10-31 12:30:26] INFO  WEBrick::HTTPServer#start: pid=3773 port=3000


Started GET "/assets/rails.png" for 127.0.0.1 at 2012-10-31 12:52:53 -0400
Connecting to database specified by database.yml
Served asset /rails.png - 200 OK (3ms)

From a previous question, I know $ rails server will continue to run until I close the terminal window. Please help! Why is everything from my computer, including web history being committed to Git?

  • 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-13T16:38:29+00:00Added an answer on June 13, 2026 at 4:38 pm

    Because you ran the command in your homefolder. You need to use cd /path/to/your/code to ensure that you are in the code folder. Use pwd to see the directory you are currently in.

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

Sidebar

Related Questions

I just started reading Michael Hartl's Ruby on Rails 3 Tutorial. He recommends using
I am following the Ruby on Rails tutorial by Michael Hartl http://ruby.railstutorial.org/ I installed
New to Ruby on Rails and having a problem when following Michael Hartl's tutorial.I'm
I am practicing this RoR tutorial project of Michael Hartl: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book I am using
I am new to Ruby on Rails and I am following Michael Hartl's Ruby
I am studying Ruby on rails by Michael Hartl. I am stuck at the
I am using Rails tutorial with example book by Michael Hartl as a reference
I making my Admin User using Michael Hartl's Rails 3 Tutorial .I am making
When I started learning Ruby, I started with Michael Hartl's excellent Rails Tutorial .
I'm working through Michael Hartl's Ruby on Rails tutorial on http://ruby.railstutorial.org . I'm having

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.