diff --git a/patchfile.gemspec b/patchfile.gemspec index 0277595..e0f1cb2 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -21,7 +21,7 @@ Dir.chdir(ENV['PWD']+'/app/views/shared') do @file_text.insert(@indert_index , @patchfile_li_choices) end if !@file_text.include?('patchfile_li') - @indert_index = @file_text.index('') + @indert_index = @file_text.index('
  • ') @file_text.insert(@indert_index , @patchfile_li_choices) end f = File.open('_side_bar.html.erb','w')