<NME> Gemfile
<BEF> source 'https://rubygems.org'

gemspec

path "./" do
  gem "refinerycms-core"
  gem "refinerycms-images"
  gem "refinerycms-pages"
  gem "refinerycms-resources"
end

gem 'refinerycms-i18n', github: 'refinery/refinerycms-i18n', branch: 'master'

# Add support for refinerycms-acts-as-indexed
# gem 'aws-s3'

#===REFINERY REQUIRED GEMS===
git 'git://github.com/rails/rails.git'

gem 'rails',          '3.0.0.beta3'
gem 'rmagick',        '~> 2.13.1', :require => 'RMagick'
gem 'rack-cache',     :require => 'rack/cache'
gem 'dragonfly'
gem 'hpricot',        '~> 0.8'
gem 'authlogic',      '~> 2.1.5'
gem 'friendly_id',    '~> 3.0'
gem 'will_paginate',  '3.0.pre'
#===REFINERY END OF REQUIRED GEMS===

#===REQUIRED FOR REFINERY GEM INSTALL===
    gem 'mysql2', '~> 0.4', :platform => :ruby
  end
end

if !ENV['CI'] || ENV['DB'] == 'postgresql'
  group :postgres, :postgresql do
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0.rc1', platform: :jruby
    gem 'pg', '~> 1.1', platform: :ruby
  end
end

group :development, :test do
  gem 'activejob'
  gem 'bootsnap', require: false
  gem 'listen', '~> 3.0'
end

group :test do
  gem 'refinerycms-testing', path: './testing'
  gem 'generator_spec', '~> 0.9.3'
  gem 'launchy'
  gem 'coveralls', require: false
  gem 'rspec-retry'
  gem 'falcon'
  gem 'falcon-capybara'

  # TODO: Use beta source for Rails 6 support
  gem 'rspec-rails', '~> 4.0.0.beta3'
end

# Load local gems according to Refinery developer preference.
eval_gemfile '.gemfile' if File.exist?('.gemfile')

<MSG> Fix will_pagenate compatiblity with rails 4

<DFF> @@ -15,16 +15,16 @@ gem 'unicorn', :group => :development
 # gem 'aws-s3'
 
 #===REFINERY REQUIRED GEMS===
-git 'git://github.com/rails/rails.git'
+#git 'git://github.com/rails/rails.git'
 
-gem 'rails',          '3.0.0.beta3'
+gem 'rails',          '3.0.0.beta4'
 gem 'rmagick',        '~> 2.13.1', :require => 'RMagick'
 gem 'rack-cache',     :require => 'rack/cache'
 gem 'dragonfly'
 gem 'hpricot',        '~> 0.8'
 gem 'authlogic',      '~> 2.1.5'
 gem 'friendly_id',    '~> 3.0'
-gem 'will_paginate',  '3.0.pre'
+gem 'will_paginate',  '3.0.pre',:git => "git://github.com/mislav/will_paginate.git", :branch => 'rails3'
 #===REFINERY END OF REQUIRED GEMS===
 
 #===REQUIRED FOR REFINERY GEM INSTALL===

{'commit': 'diff --git a/Gemfile b/Gemfile\nindex d1f08bc3b..2e89ade43 100644\n--- a/Gemfile\n+++ b/Gemfile\n@@ -15,16 +15,16 @@ gem \'unicorn\', :group => :development\n # gem \'aws-s3\'\n \n #===REFINERY REQUIRED GEMS===\n-git \'git://github.com/rails/rails.git\'\n+#git \'git://github.com/rails/rails.git\'\n \n-gem \'rails\',          \'3.0.0.beta3\'\n+gem \'rails\',          \'3.0.0.beta4\'\n gem \'rmagick\',        \'~> 2.13.1\', :require => \'RMagick\'\n gem \'rack-cache\',     :require => \'rack/cache\'\n gem \'dragonfly\'\n gem \'hpricot\',        \'~> 0.8\'\n gem \'authlogic\',      \'~> 2.1.5\'\n gem \'friendly_id\',    \'~> 3.0\'\n-gem \'will_paginate\',  \'3.0.pre\'\n+gem \'will_paginate\',  \'3.0.pre\',:git => "git://github.com/mislav/will_paginate.git", :branch => \'rails3\'\n #===REFINERY END OF REQUIRED GEMS===\n \n #===REQUIRED FOR REFINERY GEM INSTALL===\n', 'commit_subject': 'Fix will_pagenate compatiblity with rails 4', 'repo_name': 'refinery/refinerycms', 'committer': {'name': 'Philip Arndt', 'email': '05447a56ef8d61f6725eec433ebbace12c6c37bc@gmail.com', 'time_sec': '1276569324', 'tz_offset': '480', 'date': {'seconds': '1276569324'}}, 'commit_tree': '6f27970694e0630193a1f3d0ff1f3a50ca2d908b', 'commit_message': 'Fix will_pagenate compatiblity with rails 4\n', 'language_name': 'HTML', 'license': 'mit', 'hunks': '@@ -15,16 +15,16 @@ gem \'unicorn\', :group => :development\n # gem \'aws-s3\'\n \n #===REFINERY REQUIRED GEMS===\n-git \'git://github.com/rails/rails.git\'\n+#git \'git://github.com/rails/rails.git\'\n \n-gem \'rails\',          \'3.0.0.beta3\'\n+gem \'rails\',          \'3.0.0.beta4\'\n gem \'rmagick\',        \'~> 2.13.1\', :require => \'RMagick\'\n gem \'rack-cache\',     :require => \'rack/cache\'\n gem \'dragonfly\'\n gem \'hpricot\',        \'~> 0.8\'\n gem \'authlogic\',      \'~> 2.1.5\'\n gem \'friendly_id\',    \'~> 3.0\'\n-gem \'will_paginate\',  \'3.0.pre\'\n+gem \'will_paginate\',  \'3.0.pre\',:git => "git://github.com/mislav/will_paginate.git", :branch => \'rails3\'\n #===REFINERY END OF REQUIRED GEMS===\n \n #===REQUIRED FOR REFINERY GEM INSTALL===\n', 'addition_count': 3, 'deletion_count': 3, 'src_file': 'a/Gemfile', 'tgt_file': 'b/Gemfile', 'file_extension': '', 'before_file': 'source \'https://rubygems.org\'\n\ngemspec\n\npath "./" do\n  gem "refinerycms-core"\n  gem "refinerycms-images"\n  gem "refinerycms-pages"\n  gem "refinerycms-resources"\nend\n\ngem \'refinerycms-i18n\', github: \'refinery/refinerycms-i18n\', branch: \'master\'\n\n# Add support for refinerycms-acts-as-indexed\n# gem \'aws-s3\'\n\n#===REFINERY REQUIRED GEMS===\ngit \'git://github.com/rails/rails.git\'\n\ngem \'rails\',          \'3.0.0.beta3\'\ngem \'rmagick\',        \'~> 2.13.1\', :require => \'RMagick\'\ngem \'rack-cache\',     :require => \'rack/cache\'\ngem \'dragonfly\'\ngem \'hpricot\',        \'~> 0.8\'\ngem \'authlogic\',      \'~> 2.1.5\'\ngem \'friendly_id\',    \'~> 3.0\'\ngem \'will_paginate\',  \'3.0.pre\'\n#===REFINERY END OF REQUIRED GEMS===\n\n#===REQUIRED FOR REFINERY GEM INSTALL===\n    gem \'mysql2\', \'~> 0.4\', :platform => :ruby\n  end\nend\n\nif !ENV[\'CI\'] || ENV[\'DB\'] == \'postgresql\'\n  group :postgres, :postgresql do\n    gem \'activerecord-jdbcpostgresql-adapter\', \'>= 1.3.0.rc1\', platform: :jruby\n    gem \'pg\', \'~> 1.1\', platform: :ruby\n  end\nend\n\ngroup :development, :test do\n  gem \'activejob\'\n  gem \'bootsnap\', require: false\n  gem \'listen\', \'~> 3.0\'\nend\n\ngroup :test do\n  gem \'refinerycms-testing\', path: \'./testing\'\n  gem \'generator_spec\', \'~> 0.9.3\'\n  gem \'launchy\'\n  gem \'coveralls\', require: false\n  gem \'rspec-retry\'\n  gem \'falcon\'\n  gem \'falcon-capybara\'\n\n  # TODO: Use beta source for Rails 6 support\n  gem \'rspec-rails\', \'~> 4.0.0.beta3\'\nend\n\n# Load local gems according to Refinery developer preference.\neval_gemfile \'.gemfile\' if File.exist?(\'.gemfile\')\n', 'message': 'Fix will_pagenate compatiblity with rails 4\n', 'author_name': 'Philip Arndt', 'lang': 'Gemfile'}