Ruby on rails msvcrt-ruby191.dll problems on XP Ruby on rails msvcrt-ruby191.dll problems on XP sqlite sqlite

Ruby on rails msvcrt-ruby191.dll problems on XP


Here is my minimal fix for the problem:

ruby -v => 1.9.2p0 rails -v => 3.0.0 gem -v => 1.3.7
  1. download sqlitedll-3_7_3.zip from http://sqlite.org/download.html
  2. copy sqlite3.def and sqlite3.dll to ruby/bin
  3. edit Gemfile:

    gem 'sqlite3-ruby', '1.3.1', :require => 'sqlite3'

  4. del Gemfile.lock

  5. bundle install
  6. rake db:migrate


Ruby 1.9.2, Rails 3.0

rake db:migrate produces the error message:

The procedure entry point rb_str2cstr could not be located in the dynamic link library msvcrt-ruby191.dll

Resolved by the following:

  1. Delete gemlock.
  2. Change SQLite version to 1.3.1.
  3. Run: bundle install.

rake db:migrate now produces the correct results.


My versions:

ruby -v => 1.9.2p0rails -v => 3.0.0gem -v => 1.3.7

Gemfile:

gem 'sqlite3-ruby', :require => 'sqlite3'

Then:

  1. Deleted Gemfile.lock
  2. rake db:migrate

This fixed the error that you mentioned (The same windows pop-up).