# How do I create my first Rails app with rails new?

Source: https://poignantguide.net/answers/read/how-do-i-create-my-first-rails-app-with-rails-new/
Site: Poignant Guide Ruby Q&A, category Rails and web development
Published: 2026-12-03. Updated: 2026-12-03. Replies: 2.

## Question by Ngozi A., 2026-12-03

My client project is on an older Rails, so I want a clean practice app on a current version where I can break things. I read three tutorials and they disagree: one says `rails new`, one says `bundle exec rails new`, one starts with `bin/rails` and never explains the difference.

This is what I did on Ubuntu, with Ruby from rbenv:

```bash
$ ruby -v
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
$ gem install rails
$ rails new store
...
         run  bundle install
Bundle complete! 14 Gemfile dependencies, 70 gems now installed.
$ cd store
```

It printed a very long list of `create` lines and then it stopped, so I do not know if it finished. I opened `http://localhost:3000` in the browser and got "This site can't be reached".

What am I supposed to run next? Why `bin/rails` inside the app but plain `rails` outside? And which Ruby version does a new Rails app need? I want to understand the steps rather than paste a bunch of commands, so I can do it again for the client.

## Reply 1 by Dmitri V., 2026-12-03

Create the app in a clean directory, not inside another git repo. `rails new` makes its own repository, and nested repos give you strange behaviour later. Also commit once right after generating, so you can always diff against the untouched starting point.

## Reply 2 by Kai N., 2026-12-03

@Dmitri V. small addition from the agency: I also run `bin/rails --help` once in a new app. It lists the commands that exist in that version, which is faster than hunting through tutorials.

---
Cite as: Poignant Guide Ruby Q&A, "How do I create my first Rails app with rails new?", https://poignantguide.net/answers/read/how-do-i-create-my-first-rails-app-with-rails-new/, accessed 2026-12-04.
