1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

require 'omniauth/version'

Because require hashes based on the string, not the expanded path of the
file, it's important that we require the version file the same way that
it will be required elsewhere to avoid constant warnings.
This commit is contained in:
Erik Michaels-Ober 2013-02-02 09:14:44 -08:00
parent 1c69882ba5
commit 08cec2635a

View file

@ -1,5 +1,7 @@
# encoding: utf-8
require File.expand_path('../lib/omniauth/version', __FILE__)
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'omniauth/version'
Gem::Specification.new do |spec|
spec.add_dependency 'hashie', '~> 1.2'