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
- download sqlitedll-3_7_3.zip from http://sqlite.org/download.html
- copy sqlite3.def and sqlite3.dll to ruby/bin
edit Gemfile:
gem 'sqlite3-ruby', '1.3.1', :require => 'sqlite3'
del Gemfile.lock
bundle install
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:
- Delete gemlock.
- Change SQLite version to 1.3.1.
- 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:
- Deleted Gemfile.lock
- rake db:migrate
This fixed the error that you mentioned (The same windows pop-up).