Migrating a rubyonrails project from1.8.6 to 2.0

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:inrescue 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:inrescue 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs