Fresh Rake File Error when creating project or launch rails server

Hi, I’m new to rails so wonder if you guys can help out, most appreciated.

Problem: When creating a new project or start rails server this error occurs: No such file or directory for fresh_rakefile

= =========================================

$ rails new simple_cms -d mysql

or

$ rails simple_cms -d mysql

create

create app/controllers

create app/helpers

create app/models

create app/views/layouts

create config/environments

create config/initializers

create config/locales

create db

create doc

create lib

create lib/tasks

create log

create public/images

create public/javascripts

create public/stylesheets

create script/performance

create test/fixtures

create test/functional

create test/integration

create test/performance

create test/unit

create vendor

create vendor/plugins

create tmp/sessions

create tmp/sockets

create tmp/cache

create tmp/pids

create Rakefile

No such file or directory - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/rails_generator/generators/applications/app/…/…/…/…/…/fresh_rakefile

Hi, I’m new to rails so wonder if you guys can help out, most appreciated.

Problem: When creating a new project or start rails server this error occurs: No such file or directory for fresh_rakefile

[snip]

No such file or directory - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/rails_generator/generators/applications/app/…/…/…/…/…/fresh_rakefile

==============================================

The folder simple_cms was created but I wonder why error/warning pops up as No such file or directory …/fresh_rakefile

There’s something wrong with your PATH setting - the error message indicates that you’re trying to rails new with a 2.3.18 install, but that command wasn’t even added until 3.0. The file being requested is also in the system Ruby (1.8.7) set of gems…

How did you install Ruby 2.0? Running which ruby, which rails and which gem will also be helpful.

–Matt Jones