Skip to content

Commit

Permalink
Work with latest Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Jan 30, 2012
1 parent 5ecfbf1 commit 1809173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/commands/ctags_command.rb
Expand Up @@ -27,7 +27,7 @@ def self.index(spec)
end

target = 'lib/bundler/cli.rb'
if File.writable?(target) && !File.read(target).include?('plugin')
if File.writable?(target) && !File.read(target).include?('load_plugins')
yield "Injecting gem-ctags into #{spec.full_name}" if block_given?
File.open(target, 'a') do |f|
f.write "\nGem.load_plugins rescue nil\n"
Expand Down

0 comments on commit 1809173

Please sign in to comment.