# Rails 2.2.2 does not work with ruby 1.9.1

**URL:** <https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876>\
**Category:** Rails\
**Created:** [February 20, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876 "2009-02-20T14:55:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/1 "2009-02-20T14:55:08Z")

</div>

Hi everyone! I’ve installed new Ruby 1.9.1 from sources  
([Ruby Programming Language](http://www.ruby-lang.org/en/)), then “gem install rails”, everything was  
ok during installation, all tests (“make test”) were ok too.

After all, i wanted to create my new RoR project, but I could not start  
it.  
Plz help me

Here is my terminal:

[renat@localhost rails]$ rails mysite  
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 script/process  
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  
create README  
create app/controllers/application.rb  
create app/helpers/application\_helper.rb  
create test/test\_helper.rb  
create test/performance/browsing\_test.rb  
create config/database.yml  
create config/routes.rb  
create config/initializers/inflections.rb  
create config/initializers/mime\_types.rb  
create config/initializers/new\_rails\_defaults.rb  
create config/locales/en.yml  
create config/boot.rb  
create config/environment.rb  
create config/environments/production.rb  
create config/environments/development.rb  
create config/environments/test.rb  
create script/about  
create script/console  
create script/dbconsole  
create script/destroy  
create script/generate  
create script/performance/benchmarker  
create script/performance/profiler  
create script/performance/request  
create script/process/reaper  
create script/process/spawner  
create script/process/inspector  
create script/runner  
create script/server  
create script/plugin  
create public/dispatch.rb  
create public/dispatch.cgi  
create public/dispatch.fcgi  
create public/404.html  
create public/422.html  
create public/500.html  
create public/index.html  
create public/favicon.ico  
create public/robots.txt  
create public/images/rails.png  
create public/javascripts/prototype.js  
create public/javascripts/effects.js  
create public/javascripts/dragdrop.js  
create public/javascripts/controls.js  
create public/javascripts/application.js  
create doc/README\_FOR\_APP  
create log/server.log  
create log/production.log  
create log/development.log  
create log/test.log  
[renat@localhost rails]$ cd mysite  
[renat@localhost mysite]$ ruby script/server  
/home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:153:in  
`require': no such file to load -- test/unit/error (MissingSourceFile) from /home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `block in require’  
from  
/home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:521:in  
`new_constants_in' from /home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require’  
from  
/home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active\_support/deprecation.rb:224:in  
`<top (required)>' from /home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require’  
from  
/home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:153:in  
`block in require' from /home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new\_constants\_in’  
from  
/home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:153:in  
`require' from /home/renat/.gem/ruby/1.9.1/gems/activesupport-2.2.2/lib/active_support.rb:37:in `\<top (required)\>’  
from  
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/commands/server.rb:1:in  
`require' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/commands/server.rb:1:in `\<top (required)\>’  
from script/server:3:in `require' from script/server:3:in `’

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 2:58pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/2 "2009-02-20T14:58:47Z")

</div>

On 20 Feb 2009, at 13:55, removed\_email\_address@domain.invalid Mennanov wrote:

> Hi everyone! I’ve installed new Ruby 1.9.1 from sources  
> ([Ruby Programming Language](http://www.ruby-lang.org/en/)), then “gem install rails”, everything  
> was  
> ok during installation, all tests (“make test”) were ok too.

Rails 2.3.0 RC0 should work with ruby 1.9.1 (at least that’s the goal  
for the final version of 2.3)

Fred

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/3 "2009-02-20T15:47:03Z")

</div>

On Fri, Feb 20, 2009 at 5:57 AM, Frederick C. \<  
removed\_email\_address@domain.invalid\> wrote:

> Rails 2.3.0 RC0 should work with ruby 1.9.1 (at least that’s the goal  
> for the final version of 2.3)
> 
> Fred

Rails 2.3.0 RC1 is working with Ruby 1.9.1.

-Conrad

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/4 "2009-02-20T17:37:24Z")

</div>

[http://wiki.rubyonrails.org/rails/pages/EdgeRails](http://wiki.rubyonrails.org/rails/pages/EdgeRails)

this should help, i think.

On Feb 20, 11:23 am, “removed\_email\_address@domain.invalid Mennanov” \<rails-mailing-

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/5 "2009-02-20T17:51:07Z")

</div>

On 20 Feb 2009, at 16:36, lostsync wrote:

> [http://wiki.rubyonrails.org/rails/pages/EdgeRails](http://wiki.rubyonrails.org/rails/pages/EdgeRails)
> 
> this should help, i think.

Or more specifically:

> **[Rails 2.3.0 RC1: Templates, Engines, Rack, Metal, much more!](https://rubyonrails.org/2009/2/1/rails-2-3-0-rc1-templates-engines-rack-metal-much-more)**
>
> Rails 2.3 is almost ready for release, but this package is so stock full of amazing new stuff that we’re making dutifully sure that everything works right before we call it official.So please help us do thorough testing of this release candidate....

Fred

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 9:05pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/6 "2009-02-20T21:05:43Z")

</div>

Just so you’re aware, to the best of my knowledge, Rails 2.2.2 is  
engineered around the Ruby 1.8 series. Ruby 1.9 has renamed and/or  
removed some of its standard libraries, and that’s why it’s breaking.  
I personally ran into the same issue, and for my own development,  
rolled back to 1.8, just until Rails 2.3 is finalized and officially  
released.

See  
[http://pragdave.blogs.pragprog.com/pragdave/2008/04/ruby-19-standar.html](http://pragdave.blogs.pragprog.com/pragdave/2008/04/ruby-19-standar.html)  
for some of changes to Ruby 1.9’s standard libraries.

On Feb 20, 9:50 am, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![mennanov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mennanov](https://www.ruby-forum.com/u/mennanov)\
**Post date:** [February 20, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-does-not-work-with-ruby-1-9-1/160876/7 "2009-02-20T17:23:17Z")

</div>

Conrad T. wrote:

> On Fri, Feb 20, 2009 at 5:57 AM, Frederick C. \<  
> removed\_email\_address@domain.invalid\> wrote:
> 
> > Rails 2.3.0 RC0 should work with ruby 1.9.1 (at least that’s the goal  
> > for the final version of 2.3)
> > 
> > Fred
> 
> Rails 2.3.0 RC1 is working with Ruby 1.9.1.
> 
> -Conrad

Ok thx, and where can i find rails 2.3.0 RC1?  
my “gem install rail” still tryes to instal rails 2.2.2
