Skip to content

Commit

Permalink
Remove Nokogiri < 1.6 restriction and explain in the README how to ge…
Browse files Browse the repository at this point in the history
…t things working on Ruby 1.8.x.
  • Loading branch information
kylev committed Nov 4, 2013
1 parent 93b7188 commit ad5b4df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ dependency (aws-sdk follows [semantic versioning](http://semver.org/)):

gem 'aws-sdk', '~> 1.0'

If you are using a version of Ruby older than 1.9, you may encounter problems with Nokogiri.
The authors dropped support for Ruby 1.8.x in Nokogiri 1.6. To use aws-sdk, you'll also have
to install or specify a version of Nokogiri prior to 1.6, like this:

gem 'nokogiri', '~> 1.5.0'

## Basic Configuration

You need to provide your AWS security credentials and choose a default region.
Expand Down
2 changes: 1 addition & 1 deletion aws-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.homepage = 'http://aws.amazon.com/sdkforruby'

s.add_dependency('uuidtools', '~> 2.1')
s.add_dependency('nokogiri', '>= 1.4.4', '< 1.6.0') # 1.6 no longer supports Ruby 1.8.7
s.add_dependency('nokogiri', '>= 1.4.4')
s.add_dependency('json', '~> 1.4')

s.files = [
Expand Down

0 comments on commit ad5b4df

Please sign in to comment.