# New Rails user, slightly confused by \`rails\` command

**URL:** <https://www.ruby-forum.com/t/new-rails-user-slightly-confused-by-rails-command/204794>\
**Category:** Rails\
**Created:** [March 21, 2011, 11:43pm UTC](https://www.ruby-forum.com/t/new-rails-user-slightly-confused-by-rails-command/204794 "2011-03-21T23:43:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 21, 2011, 11:43pm UTC](https://www.ruby-forum.com/t/new-rails-user-slightly-confused-by-rails-command/204794/1 "2011-03-21T23:43:28Z")

</div>

Hi,

I’ve just installed Rails v3.0.5 and reading the guide  
[Getting Started with Rails — Ruby on Rails Guides](http://guides.rubyonrails.org/getting_started.html#creating-a-new-rails-project).  
Where it says to do:

```
rails new blog

```

that actually creates a site in a folder called “new”.

I also tried a couple of generators, `rails generate devise:install`  
created a folder called “generate”, and so on.

This is the first line of output from `rails -h`:

```
Usage: /usr/bin/rails /path/to/your/app [options]

```

Which explains why I’m getting these folders created, but not why the  
guides would tell me something different.  
I’m wondering if I’m doing something incredibly stupid. If I am feel  
free to point it out, it’s just par for the course.

Any help is much appreciated  
Iain

---

<div class="post-metadata">

**Author:** ![ybybyb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e19b73/32.png) [@ybybyb](https://www.ruby-forum.com/u/ybybyb)\
**Post date:** [March 21, 2011, 11:56pm UTC](https://www.ruby-forum.com/t/new-rails-user-slightly-confused-by-rails-command/204794/2 "2011-03-21T23:56:00Z")

</div>

On Mon, Mar 21, 2011 at 1:52 PM, yb [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve just installed Rails v3.0.5 and reading the guide  
> [Getting Started with Rails — Ruby on Rails Guides](http://guides.rubyonrails.org/getting_started.html#creating-a-new-rails-project).  
> Where it says to do:
> 
> rails new blog
> 
> that actually creates a site in a folder called “new”.

That means you have (at least) two different versions of Rails on your  
system, and the first one being found is pre-3.0.x.

Try `rails -v` and `which rails` for starters…

–  
Hassan S. ------------------------ [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![ybybyb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e19b73/32.png) [@ybybyb](https://www.ruby-forum.com/u/ybybyb)\
**Post date:** [March 22, 2011, 12:35pm UTC](https://www.ruby-forum.com/t/new-rails-user-slightly-confused-by-rails-command/204794/3 "2011-03-22T12:35:29Z")

</div>

On 21 Mar 2011, at 22:54, Hassan S. wrote:

> That means you have (at least) two different versions of Rails on your  
> system, and the first one being found is pre-3.0.x.
> 
> Try `rails -v` and `which rails` for starters…

That was it. I now have a vague recollection of having installed Rails a  
couple of years ago. The rogue binary was in /usr/bin. I should not  
forget that lazy assumptions (like, I don’t have rails installed  
already) will bite me on the arse!

Thanks very much.

Iain
