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 mysql2 --platform=ruby -- '--with-mysql-include=C:\mysql-connector-c-noinstall-6.0.2\include --with-mysql-lib=C:\mysql-connector-c-noinstall-6.0.2\lib --with-mysql-dir=C:\mysql-connector-c-noinstall-6.0.2' |
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
Temporarily enhancing PATH to include DevKit... | |
Building native extensions with: '--with-mysql-include=C:\mysql-connector-c-noinstall-6.0.2\include --with-mysql-lib=C:\mysql-connector-c-noinstall-6.0.2\lib -- | |
with-mysql-dir=C:\mysql-connector-c-noinstall-6.0.2' | |
This could take a while... | |
Successfully installed mysql2-0.3.13 | |
Parsing documentation for mysql2-0.3.13 | |
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/mysql2/mysql2.so, skipping | |
Installing ri documentation for mysql2-0.3.13 | |
1 gem installed |
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
begin | |
# Code to be executed here | |
# This part will be 'protected' | |
raise # Use this to raise any message | |
rescue | |
# Exception Handling, like argument error, 404 | |
retry # use this if you want the begin block to be executed again, if execption occurs. | |
ensure | |
# This part will always get executed. | |
end |
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
client_max_body_size 30M; | |
proxy_send_timeout 600; | |
proxy_read_timeout 1h; | |
send_timeout 600; | |
upstream backend { | |
server unix:///var/run/puma/my_app.sock ; | |
} | |
server { |
OlderNewer