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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:14:03+00:00 2026-05-18T04:14:03+00:00

So I’m new to rails and am actually following a video tutorial from Lynda.com

  • 0

So I’m new to rails and am actually following a video tutorial from Lynda.com in order to learn it. I didn’t follow the steps to install on the video because I heard of RVM and its been great so far with getting everything setup. But I’m still early on in the video and can’t get passed something really simple… so I’m hoping someone can help me out.

Heres some background:

  • I have RVM installed and created
    1.8.7@rails2.3.8. I was able to install both ruby and rails, and
    everything here is fine. I even
    setup a global gemset for mysql and
    passenger.

  • I’m using passenger instead of
    WEBrick (which the tutorial uses) and
    I was even able to get the apache
    module loaded and everything is
    working fine when I create a rails
    app. I can go to simple-cms.local and I
    see the intro page fine.

So here is the issue. While following the video, I got to the point where I script/generate controller say and it created the controller fine, no errors. I then proceeded to define an action “hello” in the controller, and the corresponding view “hello.rhtml” in the app/view/say folder.

Now, when I try to visit simple-cms.local, it still works, but when I try to visit simple-cms.local/say/hello.rhtml, I get an error!

Ruby on Rails application could not be
started

The application has exited during
startup (i.e. during the evaluation of
config/environment.rb). The error
message can be found below. To solve
this problem, please follow any
instructions in the error message.

Error message: Missing the Rails 2.3.8
gem. Please gem install -v=2.3.8
rails
, update your RAILS_GEM_VERSION
setting in config/environment.rb for
the Rails version you do have
installed, or comment out
RAILS_GEM_VERSION to use the latest
version installed.

So what do I do here? I mean rails 2.3.8 is installed, so why is it telling me to install it again?


UPDATE:

I ran gem environment from within the app directory and got this

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.4.0]
  - INSTALLATION DIRECTORY: /Users/user/.rvm/gems/ruby-1.8.7-p302@rails2
  - RUBY EXECUTABLE: /Users/user/.rvm/rubies/ruby-1.8.7-p302/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/user/.rvm/gems/ruby-1.8.7-p302@rails2/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-darwin-10
  - GEM PATHS:
     - /Users/user/.rvm/gems/ruby-1.8.7-p302@rails2
     - /Users/user/.rvm/gems/ruby-1.8.7-p302@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

Then ran script/console, which worked and then ran Gems.path, which returned

["/Users/user/.rvm/gems/ruby-1.8.7-p302@rails2", "/Users/user/.rvm/gems/ruby-1.8.7-p302@global"] 

Looks fine to me, what about you guys?


UPDATE 2:

Ok, so nothing has worked for me! I haven’t yet tried Passenger Standalone, but I need to use apache and I read that standalone uses nginx. What I tried so far is started from scratch, rvm implode and then installed rvm again, ruby 1.8.7, passenger, mysql, rails 2.3.8, and thats it. I still can’t get passed the default page when visiting my app! I also then tried following the guides Chris Johnsen linked to in the comments to no avail.

All ideas are welcome…

  • 1 1 Answer
  • 1 View
  • 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-18T04:14:04+00:00Added an answer on May 18, 2026 at 4:14 am

    The issue was that I was installing passenger into the global gemset, which shouldn’t be a problem, but it was.

    I uninstalled passenger from the global gemset, and installed it into the project gemset that I’m using. This solved the missing rails gem error, and now I’m getting a 500 error when trying to visit simple-cms.local/say/hello. I’ll create a new question for that and mark this one solved!

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

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from

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.