Last active
October 27, 2015 14:00
-
-
Save akaneko3/a7c9f0d010183d4370ee to your computer and use it in GitHub Desktop.
Ruby 2.2.2 の上で Rails 4.2.1 を動かす(RubyInstaller for Windows 編) ref: http://qiita.com/akaneko3/items/247af28abded3b3d3617
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> gem install sqlite3 --platform=ruby -- --with-sqlite3-include=C:/temp/sqlite3 --with-sqlite3-lib=C:/temp/sqlite3 | |
> gem install sqlite3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> mkdir C:\Ruby\lib\ruby\gems\2.2.0\gems\sqlite3-1.3.10-x64-mingw32\lib\sqlite3\2.2 | |
> cp C:\Ruby\lib\ruby\gems\2.2.0\extensions\x64-mingw32\2.2.0\sqlite3-1.3.10\sqlite3\sqlite3_native.so C:\Ruby\lib\ruby\gems\2.2.0\gems\sqlite3-1.3.10-x64-mingw32\lib\sqlite3\2.2 | |
> cp C:\temp\sqlite3\sqlite3.dll C:\Ruby\bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cp C:\temp\bin\*.dll C:\temp\lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> gem install nokogiri --platform=ruby -- --use-system-libraries --with-iconv-include=C:/temp/include --with-iconv-lib=C:/temp/lib --with-xml2-include=C:/temp/include/libxml2 --with-xml2-lib=C:/temp/lib --with-xslt-include=C:/temp/include --with-xslt-lib=C:/temp/lib | |
> gem install nokogiri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> mkdir C:\Ruby\lib\ruby\gems\2.2.0\gems\nokogiri-1.6.6.2-x64-mingw32\lib\nokogiri\2.2 | |
> cp C:\Ruby\lib\ruby\gems\2.2.0\extensions\x64-mingw32\2.2.0\nokogiri-1.6.6.2\nokogiri\nokogiri.so C:\Ruby\lib\ruby\gems\2.2.0\gems\nokogiri-1.6.6.2-x64-mingw32\lib\nokogiri\2.2 | |
> cp C:\temp\lib\*.dll C:\Ruby\bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment