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

  • Home
  • SEARCH
  • 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 397499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:39:23+00:00 2026-05-12T16:39:23+00:00

I am a newbie to Ruby on Rails and I am trying to learn

  • 0

I am a newbie to Ruby on Rails and I am trying to learn it.

At the moment, I am using ruby tutorial that is about 5 years old.

I am stuck on the 2nd page of the tutorial where I am generating a script or the controller in the command window.

C:\rails> ruby script\generate controller MyTest 
ruby: No such file or directory script/generate (LoadError)

What are my alternative to generating the script? And if possible, can someone show me a tutorial that isn’t so outdated?

Much appreciated

  • 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-12T16:39:23+00:00Added an answer on May 12, 2026 at 4:39 pm

    I could be wrong, but that could be a problem with ruby on windows, what version of ruby are you running? Type ruby -v in the console.

    Another reason could be that you are probably not in a rails application directory. You have to create a rails application by creating a directory, and then doing rails thedirectory/ in the console, which will initialize all of the rails files for you. Once done, you cd into the directory and should be able to run the script/generate script.

    Also, this is by no means a definitive source, but the Rails Guides site is pretty good.

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

Sidebar

Related Questions

I have the following code. I'm still a newbie in Ruby on Rails. As
Ruby newbie here. I'm trying to use the Easyjour module ( http://easyjour.rubyforge.org/ ) from
I have started learning Ruby, and I have read a couple of tutorials and
Newbie question: Python 2.6, Ubuntu 10.04, I can import both pycurl and curl ,
Newbie question … sorry ;-) I have to write and to integrate a new
Newbie Scala Question: Say I want to do this [Java code] in Scala: public
Newbie Common Lisp question here. Is there a way to reset the state of
Newbie with databases, I would like some advise please.. I have agencies who can
Is there a way like how we debug models / controllers with logger.debug? Or
require 'net/http'; require 'uri'; require 'rexml/document'; require 'sqlite3'; def download_torrent(episode_id, torrent_url, limit = 10)

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.