You can edit your Gemfile of your app and comment # gem ‘sqlite3’ and add gem ‘sqlite3′,’1.3.7’ save it and go to command prompt (cmd.exe) or git bash, cd to your application and run command “rails server” now check your application in browser.Ĭongrats you have installed ruby on rails with sqlite3 on windows. Whenever you create rails app make sure it points to correct sqlite3 version. It will take some time to install sqlite3 gem, you will see installation process command on MSYS. Gem install sqlite3 -platform=ruby -with-sqlite3-include=/d:/sqlite3/ -with-sqlite3-lib=/d:/sqlite3/.libs/ Gem install sqlite3 -platform=ruby -with-sqlite3-include= -with-sqlite3-lib=įor example, I used it as with my sqlite3 path: Now we need to install sqlite3 gem again, this time specifying the platform and the path to the newly compiled binaries:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |