Forum: Rails France Migrating a rubyonrails project from1.8.6 to 2.0

F9c49b7a0b73d4fcb0b5ed71e7bc6007?d=identicon&s=25 dev mapluz (ziburudebian)
on 2013-05-17 15:31
Attachment: configruby.jpg (300 KB)
hi

I just installed Ruby 2.0 and the DevKit
(DevKit-mingw64-64-4.7.2-20130224-1432-sfx)
I'm trying to recover a project ruby 1.8.6 to run it in ruby 2.0

I recovered files (config.ru, application.rb, boot.rb, environment.rb,
routes.rb, development.rb, production.rb, test.rb) and Gemfile
from a ruby 2.0 application using the rails command creates new test.
When I run on my old server rails project ruby 1.8.6 I still have the
same following errors:

For sample with gem sqllite3 :

C:/Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb:6:in
`require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb:6:in
`rescue in <top (required)>'

For sample with gem mysql :

C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql-2.9.1-x86-mingw32/lib/mysql.rb:6:in
`require': cannot load such file -- mysql/mysql_api (LoadError)
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql-2.9.1-x86-mingw32/lib/mysql.rb:6:in
`rescue in <top (required)>'

I tried to install the DevKit then again install a bundle but it does
not change anything!

Do you have any idea?

thank you

My config in attachment
This topic is locked and can not be replied to.