Skip to content

Commit

Permalink
[rubocop] Use Dir.pwd for __dir__ in Ruby v1
Browse files Browse the repository at this point in the history
  • Loading branch information
harman28 committed Mar 12, 2018
1 parent bda79f4 commit fb79b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razorpay-ruby.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = File.expand_path('lib', __dir__)
lib = File.expand_path('lib', Dir.pwd)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'razorpay/constants'

Expand Down

0 comments on commit fb79b3a

Please sign in to comment.