aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/request_set/lockfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request_set/lockfile.rb b/lib/rubygems/request_set/lockfile.rb
index 7ffb815716..522caf1502 100644
--- a/lib/rubygems/request_set/lockfile.rb
+++ b/lib/rubygems/request_set/lockfile.rb
@@ -448,7 +448,7 @@ class Gem::RequestSet::Lockfile
# Peeks at the next token for Lockfile
def peek # :nodoc:
- @tokens.first || :EOF
+ @tokens.first || [:EOF]
end
def skip type # :nodoc: