uwsgi 1.9.14 → 1.9.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/uwsgi/extconf.rb +2 -0
  2. metadata +1 -1
data/ext/uwsgi/extconf.rb CHANGED
@@ -9,6 +9,8 @@ end
9
9
 
10
10
  major,minor = RUBY_VERSION.split('.')
11
11
  if major.to_i >= 2 or (major.to_i == 1 and minor.to_i >= 9)
12
+ # a trick for installations with messy PATH
13
+ ENV['UWSGICONFIG_RUBYPATH'] = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
12
14
  system("bash install.sh ruby2 #{Dir.pwd}/uwsgi.ruby")
13
15
  else
14
16
  system("bash install.sh rack #{Dir.pwd}/uwsgi.ruby")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uwsgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.14
4
+ version: 1.9.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: