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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:32:20+00:00 2026-05-17T15:32:20+00:00

First attempt at a RoR project and following http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application . I’ve got the Welcome

  • 0

First attempt at a RoR project and following http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application .

I’ve got the “Welcome Aboard” page serving.

Within the section 4.2 Say “Hello”, Rails the tutorial says to issue the command :

$rails generate controller home index 

… and that that will create a file

app/views/home/index.html.erb

… well as far as I can see it doesn’t. In fact in the app/views directory there is no sub-directory called ‘home’ but instead one called ‘layout’ (which is empty)

When I issue a find command for index the file the file index.html.erb appears nowhere in the tree.

Can anyone provide me with advice on how to make that index.html.erb file (preferably in a manner compatiable with the tut !).

My environment is based on bitnami over ubuntu and looks like this :

Ruby version    1.8.7 (i686-linux)
RubyGems version    1.3.6
Rack version    1.0
Rails version   2.3.5
Active Record version   2.3.5
Active Resource version 2.3.5
Action Mailer version   2.3.5
Active Support version  2.3.5
Application root    /home/bitnami/src/rubytest0/my_test_app
Environment development
Database adapter    sqlite3
Database schema version 0
  • 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-17T15:32:20+00:00Added an answer on May 17, 2026 at 3:32 pm

    If you’re using rails pre-3.0 try…

    script/generate (instead of rails generate) in the root directory of your Rails project.

    Older versions of rails don’t allow ‘rails generate’, so you essentially created a new rails app called generate. As you continue to follow the tutorial, replace any instance of rails command with script/command if you are having trouble.

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

Sidebar

Related Questions

This is my first attempt at using JSCookMenu and its homepage ( http://jscook.yuanheng.org/JSCookMenu/ )
This is my first attempt at creating a package, so I must be missing
This is my first attempt at MVVM. My application's core is loosely based Josh
OK, having tried my first TDD attempt, it's time to reflect a little and
First of all, I know how to build a Java application. But I have
First off, there's a bit of background to this issue available on my blog:
First attempt to use this cool site - after searching for 2 hours: So
My first attempt of reverse for loop that does something n times was something
My first attempt is to query Win32_OperatingSystem for the caption, and test whether the
This is my first attempt at a plugin but I think I'm missing the

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.