Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created March 8, 2013 22:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/5120722 to your computer and use it in GitHub Desktop.
Save luislavena/5120722 to your computer and use it in GitHub Desktop.
C:\Users\Luis>ruby -v
ruby 2.0.0p0 (2013-02-24) [x64-mingw32]
C:\Users\Luis>gem install sqlite3 --platform=ruby -- --with-opt-dir=C:/Knapsack/x64-windows
Fetching: sqlite3-1.3.7.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions with: '--with-opt-dir=C:/Knapsack/x64-windows'
This could take a while...
Successfully installed sqlite3-1.3.7
Done installing documentation for sqlite3 (0 sec).
1 gem installed
C:\Users\Luis>irb
DL is deprecated, please use Fiddle
irb(main):001:0> require "sqlite3"
=> true
irb(main):002:0> SQLite3::SQLITE_VERSION
=> "3.7.15.2"
irb(main):003:0> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment