Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix building on 1.9.2

  • Loading branch information...
commit c86ab9b16178938a15fa472fcde1ee37694cce22 1 parent 122ceb3
Konstantin Shabanov authored steveklabnik committed
View
6 Rakefile
@@ -43,13 +43,13 @@ end
case RUBY_PLATFORM
when /mingw/
- require 'rakefile_mingw'
+ require File.expand_path('rakefile_mingw')
Builder = MakeMinGW
when /darwin/
- require 'rakefile_darwin'
+ require File.expand_path('rakefile_darwin')
Builder = MakeDarwin
when /linux/
- require 'rakefile_linux'
+ require File.expand_path('rakefile_linux')
Builder = MakeLinux
else
puts "Sorry, your platform [#{RUBY_PLATFORM}] is not supported..."
View
2  make/darwin/tasks.rb
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
2  make/linux/tasks.rb
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
2  make/mingw/env.rb
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
extend Make
EXT_RUBY = "../mingw"
View
2  make/mingw/tasks.rb
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
6 rakefile_darwin.rb
@@ -1,6 +1,6 @@
-require 'make/rakefile_common'
-require 'make/darwin/env'
-require 'make/darwin/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/darwin/env')
+require File.expand_path('make/darwin/tasks')
task :stub do
MakeDarwin.make_stub
View
6 rakefile_linux.rb
@@ -1,3 +1,3 @@
-require 'make/rakefile_common'
-require 'make/linux/env'
-require 'make/linux/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/linux/env')
+require File.expand_path('make/linux/tasks')
View
6 rakefile_mingw.rb
@@ -1,6 +1,6 @@
-require 'make/rakefile_common'
-require 'make/mingw/env'
-require 'make/mingw/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/mingw/env')
+require File.expand_path('make/mingw/tasks')
rule ".o" => ".rc" do |t|
MakeMinGW.make_resource t
Please sign in to comment.
Something went wrong with that request. Please try again.