Ruby on Rails Sunday, June 30, 2013

There's a quick guide on how to install Sqlite3 on Windows 7 here:

http://www.ruby-forum.com/topic/4413168

I followed the instructions on there, and after a few minor tweaks, I
managed to get it working.

I've tried to attach a zip with the necessary files in. Hopefully if you
can download that you can drop it into a folder like c:/rails, making it
c:/rails/sqlite, and then run this command:

gem install sqlite3 --platform=ruby --
--with-sqlite3-include=c:/rails/sqlite/include
--with-sqlite3-lib=c:/rails/sqlite/lib
--with-sqlite3-dir=c:/rails/sqlite/bin

Sometimes running "bundle install" on a Rails project can install a
conflicting version of the sqlite gem, so make sure you've only got 1
version after using bundle.

It helps to put sqlite3.def and sqlite3.dll somewhere in your path, like
in your Ruby bin folder.

Attachments:
http://www.ruby-forum.com/attachment/8552/sqlite.zip


--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/35cad52bcd2f5505bab822228798b517%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment