Skip to content

Instantly share code, notes, and snippets.

@AVee
Last active August 29, 2015 14:13
Show Gist options
  • Save AVee/1e988418993022bf7a68 to your computer and use it in GitHub Desktop.
Save AVee/1e988418993022bf7a68 to your computer and use it in GitHub Desktop.
Church.io on Windows

http://rubyinstaller.org/downloads/ Ruby + DevKit

When installing git, add to windows path

Add some CA certs in

C:\Ruby21-x64\lib\ruby\2.1.0\rubygems\ssl_certs

gem install bundler

Curl http://curl.haxx.se/dlwiz/?type=devel&os=Win64

gem install curb -- --with-curl-lib=C:\Ruby21-x64\curl-7.40.0-devel-mingw64\lib64\ --with-curl-include=C:\Ruby21-x64\curl-7.40.0-devel-mingw64\include\ --with-curl-dir=C:\Ruby21-x64\curl-7.40.0-devel-mingw64\

broken Comment feedjira in Gemfile...

Mysql http://dev.mysql.com/downloads/connector/c/ Install into a path without spaces

gem install mysql2 -v 0.3.15 -- --with-mysql-dir=C:\Ruby21-x64\buildlib\mysql
Copy libmysql.dll to C:\Ruby21-x64\bin

broken, segfaults http://stackoverflow.com/questions/23395812/segmentation-fault-when-compiling-mysql2-with-mingw

  • Need to try if perhaps Connector/C 6.0.2 does work.

bundle install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment