Sha256: 0894c0f47069136ddc9e2c3da6f91358d94f1e053e502baba917048791c782b4
Contents?: true
Size: 1.08 KB
Versions: 32
Compression:
Stored size: 1.08 KB
Contents
=begin Copyright 2010, Roger Pack This file is part of Sensible Cinema. Sensible Cinema is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Sensible Cinema is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Sensible Cinema. If not, see <http://www.gnu.org/licenses/>. =end def add_any_bundled_gems_to_load_path raise 'no vendor dir?' unless File.directory? 'vendor' if File.directory? 'vendor/cache' Dir['vendor/cache/**/lib'].each{|lib_dir| $: << lib_dir } else require 'rubygems' # they'll need imagemagick installed, as well, currently end end add_any_bundled_gems_to_load_path
Version data entries
32 entries across 32 versions & 1 rubygems