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


I am trying to run Rail 3 on XP Profesoinal and try to follow the tutorial and each time getting the following errors I am trying to return static pages to the message processing entry point. Rb_str2cstr can not be placed in the dynamic link library msvcrt-ruby191.dll

In addition, the page returns a runtime error " No driver found for sqlite3 "even if my w Number is not yet created any model in Sqlite3.exe, sqlite3.dll and sqlite3.def the bin folder and I founded fly sqlite3-ruby.

I have also tried to establish Mars - pre and given instructions, but nothing is working

The solution is:

  ruby ​​-v = & gt; 1.9.2 P Rail-V = & gt; 3.0.0 Mani-V = & gt; 1.3.7  
  1. Download sqlitedll-3_7_3.zip to / sqlite3.def and copy /

    Edit Gemfile:

    Mani 'sqlite3-ruby', '1.3.1' ,: need = & gt; 'Sqlite3'

  2. del jamfile.lock

  3. install bundle
  4. Rak DB: Migrate

Comments