Permalink
Browse files

Merge pull request #140 from willkoehler/ruby_193_fixes

Update Passenger_Nginx to work with Ruby 1.9.3
  • Loading branch information...
2 parents ab96294 + 29b0f9b commit 867236ceeba1b16c29bd00355983e45be6ee5b68 Alex Kremer committed Apr 5, 2012
@@ -22,7 +22,7 @@
TMPDIR=`mktemp -d` || exit 1
cd $TMPDIR
echo 'Downloading'
- wget -qN http://sysoev.ru/nginx/nginx-#{rubber_env.nginx_version}.tar.gz
+ wget -qN http://nginx.org/download/nginx-#{rubber_env.nginx_version}.tar.gz
echo 'Unpacking'
tar xf nginx-#{rubber_env.nginx_version}.tar.gz
passenger-install-nginx-module --auto --prefix=/opt/nginx --nginx-source-dir=$TMPDIR/nginx-#{rubber_env.nginx_version} --extra-configure-flags="--conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --sbin-path=/usr/sbin/nginx --with-http_gzip_static_module"
@@ -1,5 +1,5 @@
-passenger_version: 3.0.7
-nginx_version: 1.0.0
+passenger_version: 3.0.11
+nginx_version: 1.0.11
passenger_root: "#{rvm_gem_home}/gems/passenger-#{passenger_version}"
passenger_ruby: "#{rvm_prefix}/wrappers/#{`bash -l -c 'rvm strings #{rvm_ruby}'`.strip}/ruby"
passenger_lib: "#{passenger_root}/ext/nginx"
@@ -16,5 +16,5 @@ use_ssl_key: false
roles:
passenger_nginx:
- packages: [libcurl4-openssl-dev]
+ packages: [libcurl4-openssl-dev, libpcre3-dev]
gems: [[passenger, "#{passenger_version}"]]

0 comments on commit 867236c

Please sign in to comment.