1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

update file layout

This commit is contained in:
ser1zw 2013-03-03 02:28:21 +09:00
parent 409d573819
commit b935cec7fe
7 changed files with 13 additions and 13 deletions

View file

@ -0,0 +1,22 @@
# -*- mode: ruby; coding: utf-8-unix -*-
# Psych loader for avoiding loading problem
# (borrowed from Bundler 1.1.rc.7 https://github.com/carlhuda/bundler/blob/v1.1.rc.7/lib/bundler/psyched_yaml.rb )
#
# See: https://github.com/ruby-opencv/ruby-opencv/pull/6
# Psych could be a gem
begin
gem 'psych'
rescue Gem::LoadError
end if defined?(Gem)
# Psych could be a stdlib
begin
# it's too late if Syck is already loaded
require 'psych' unless defined?(Syck)
rescue LoadError
end
# Psych might NOT EXIST AT ALL
require 'yaml'