-
Notifications
You must be signed in to change notification settings - Fork 1
Building Rails Recalls API 1.0 gotchas
Alessandro Ferrucci edited this page Sep 6, 2017
·
1 revision
- When running bundle install you must first run the following:
bundle config build.mysql2 -- '--with-mysql-dir="C:\Program Files\MySQL\MySQL Connector.C 6.1"'
- In order to build nokogiri on windows you should download the gem with pre-compiled DLLs and install it locally.
- Download
https://rubygems.org/downloads/nokogiri-1.6.5-x64-mingw32.gem
and copy it to the root directory of your cloned git repo (i.e.C:\work\recalls_api
- Alter Gemfile.lock to change version of mini_portile to 0.6.0 and change the platform to
x64-mingw32
. Change the mini_portile dependency to:mini_portile (~> 0.6.0) :platforms=>x64-mingw32