rubyinstaller-2.0.0-p576.exe
c:\row\ruby200
DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
c:\row\devkit
extract mysql-connector-c-noinstall-6.0.2-win32
to c:\row
so that you have something like
C:\row\mysql-connector-c-noinstall-6.0.2-win32\bin
C:\row\mysql-connector-c-noinstall-6.0.2-win32\lib
C:\row\mysql-connector-c-noinstall-6.0.2-win32\lib
to current %PATH%mysql-installer-web-community-5.6.20.0.exe
C:\Program Files\MySQL\MySQL Server 5.6\bin
) to current %PATH%mysqladmin -u root -ptest password
run ruby on rails console
gem install rails --no-ri --no-rdoc
gem install mysql2 --no-ri --no-rdoc -- with-mysql-dir=C:\row\mysql-connector-c-noinstall-6.0.2-win32
C:\row\Ruby200\lib\ruby\2.0.0
and comment out the warn line (on windows this can be safely ignored) rake db:create
rake db:reset
rake db:migrate
rake db:seed
bundle exec rake assets:precompile RAILS_RELATIVE_URL_ROOT='/SUB_URI'
<IfModule mod_passenger.c>
RewriteEngine On
RewriteBase /SUB_URI
Options -MultiViews
PassengerResolveSymlinksInDocumentRoot on
#Set this to whatever environment you'll be running in
RailsEnv production
RackBaseURI /SUB_URI
PassengerAppRoot THE_ABSOLUTE_PATH_OF_THE_APP
SetEnv GEM_HOME THE_ABSOLUTE_PATH_OF_THE_LOCAL_GEM_DIRECTORY
</IfModule>