summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_package_task.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-03 15:59:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-03 15:59:29 +0000
commit19bad26c5a6af53ba792cc4ef153488a917254d6 (patch)
tree8c1d50ae3166438b455d00c1d0d56d6600a87560 /test/rubygems/test_gem_package_task.rb
parent78eaef0f8e8005b95c4931bd2eb0c48d52a74f1c (diff)
downloadruby-19bad26c5a6af53ba792cc4ef153488a917254d6.tar.gz
* test/rubygems: use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_package_task.rb')
-rw-r--r--test/rubygems/test_gem_package_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_package_task.rb b/test/rubygems/test_gem_package_task.rb
index aed4f05b83..a8334ce4e8 100644
--- a/test/rubygems/test_gem_package_task.rb
+++ b/test/rubygems/test_gem_package_task.rb
@@ -19,7 +19,7 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
+require_relative 'gemutilities'
require 'rubygems'
require 'rubygems/package_task'