From ee90d5d30ee3d483e86583d133d19f4cd77da7dd Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 30 Mar 2010 12:21:55 +0000 Subject: * ext/psych/extconf.rb: install psych .so to not psych/ but direct. This prepends to install *.rb files to psych/psych. * ext/psych/lib/psych.rb: require 'psych.so'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/extconf.rb | 2 +- ext/psych/lib/psych.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index d789b35e5c..11f44ac104 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -11,6 +11,6 @@ end asplode('yaml.h') unless find_header 'yaml.h' asplode('libyaml') unless find_library 'yaml', 'yaml_get_version' -create_makefile 'psych/psych' +create_makefile 'psych' # :startdoc: diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index c14259373a..59307e3d99 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -1,4 +1,4 @@ -require 'psych/psych' +require 'psych.so' require 'psych/nodes' require 'psych/visitors' require 'psych/handler' -- cgit v1.2.3