Skip to content

Commit

Permalink
README fix for fog optimized loading, closes #1381
Browse files Browse the repository at this point in the history
  • Loading branch information
bensie committed May 8, 2014
1 parent f271c26 commit c173d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ the url to the file on Google.
Since Carrierwave doesn't know which parts of Fog you intend to use, it will just load the entire library. If you prefer to load fewer classes into your application, you need to load those parts of Fog yourself *before* loading Carrierwave:

```ruby
gem "carrierwave", require: false
gem "fog", "~> 1.20", require: false
gem "fog", "~> 1.20", require "fog/aws/storage"
gem "carrierwave"
```

And in e.g. your uploader or an initializer:
Expand Down

0 comments on commit c173d18

Please sign in to comment.