When you work on a Rails project you want your .git repo to be in the root of your Rails App.
This is very important for hosting your app on Heroku.
Many of you have the following repo structure:
# A project folder, with a rails app inside of it.| group :development, :test do | |
| gem 'launchy' | |
| gem 'capybara' | |
| gem 'pry-rails' | |
| gem 'rails-erd' | |
| gem 'rspec-rails', '~> 3.0.0.beta' | |
| gem 'jasmine' | |
| gem 'shoulda-matchers' | |
| gem 'factory_girl_rails' | |
| gem 'rubocop' |
| # What about including `pry`, `rspec` or `guard`? | |
| # They're loaded automatically as dependencies | |
| group :development, :test do | |
| # Annotates ActiveRecord Models, routes and others based on the database schema | |
| gem "annotate" | |
| # generates entity relationship diagrams based on Active Record models | |
| # Postscript bugs may be fixed with: |
| group :development, :test do | |
| gem 'pry-rails' | |
| gem 'rspec' | |
| gem 'rspec-rails' | |
| gem 'guard' | |
| gem 'guard-rspec' | |
| gem 'guard-bundler', require: false | |
| gem 'terminal-notifier-guard' | |
| gem 'shoulda-matchers' | |
| end |