Skip to content

Commit

Permalink
Use expand_path because require_relative doesn't work :)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Oct 12, 2014
1 parent 75760a7 commit 4fcbca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
Sugar project page on GitHub](https://github.com/sethvargo/chef-sugar).
EOH

require_relative 'lib/chef/sugar/version'
require File.expand_path('../lib/chef/sugar/version', __FILE__)
version Chef::Sugar::VERSION

0 comments on commit 4fcbca6

Please sign in to comment.