require_relative was not working quite well

did committed Apr 10, 2014
commit 375d156fcf58c122b3caac4f806d119c26315476
Showing 1 changed file with 5 additions and 1 deletions
locomotivecms_steam.gemspec +5 -1
@@ @@ -1,4 +1,8 @@
- require_relative 'lib/steam'
+ # encoding: utf-8
+ lib = File.expand_path('../lib/', __FILE__)
+ $:.unshift lib unless $:.include?(lib)
+
+ require 'locomotive/steam/version'
Gem::Specification.new do |spec|
spec.name = 'locomotivecms_steam'