This file contains hidden or 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
# Example nginx + git HTTP Smart mode (git-http-backend) + HTTP Authentication + HTTPS redirect | |
# [email protected] - http://jeroen.massar.ch | |
server { | |
listen 192.0.1.1:80; | |
listen [2001:db8::1]:80; | |
# Redirect all non-HTTPS traffic to the HTTPS variant | |
return 301 https://$host$request_uri; | |
} |
This file contains hidden or 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
# Ubuntu 10.04 / Debian | |
rm CMakeCache.txt # Cache needs to be cleaned if you tried to install QtRuby with 1.9.2 | |
# rvm 1.0.14 | |
sudo aptitude install libqt4-core libqt4-dev cmake automoc | |
# from http://rubyforge.org/projects/korundum/ | |
wget http://rubyforge.org/frs/download.php/71843/qt4-qtruby-2.1.0.tar.gz | |
tar -xvzf qt4-qtruby-2.1.0.tar.gz | |
cd qt4-qtruby-2.1.0 | |
# the qtruby install uses the location of your ruby binary | |
rvm use 1.8.7 |