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:
parent
1c69882ba5
commit
08cec2635a
1 changed files with 4 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue