Giter Site home page Giter Site logo

fog-digitalocean's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fog-digitalocean's Issues

no implicit conversion of Symbol into Integer

Hi, everyone!

Have this issue on starting rails server

config/initializers/carrierwave.rb

CarrierWave.configure do |config|
  config.asset_host = 'https://my-assets.ams3.digitaloceanspaces.com'

  config.fog_credentials = {
    provider: 'AWS',
    aws_access_key_id: ENV['DIGITAL_OCEAN_ACCESS_KEY'],
    aws_secret_access_key: ENV['DIGITAL_OCEAN_SECRET_KEY'],
    region: 'ams3',
    endpoint: 'https://ams3.digitaloceanspaces.com'
  }
  config.fog_directory  = 'my-directory'
  config.fog_attributes = { 'Cache-Control' => 'max-age=315576000' }
end

The issue disappears after removing fog-digitalocean gem.

gem 'fog', '0.7.2'
gem 'fog-digitalocean', '0.4.0'

Follow Fog Pattern

We need to make sure fog-digitalocean is following our current patterns to make sure issues we had in the past aren't going to happen again.

Please, follow the steps at this wiki page

LoadError when using Fog::Compute v0.4.0

With fog-core 1.45.0 and fog-digitalocean 0.4.0 the following occurs:

>  Fog::Compute.new(:provider => "DigitalOcean", :digitalocean_token => '')
LoadError: cannot load such file -- fog/digitalocean/compute

It looks like the file was removed between v0.3.0 and v0.4.0 but is still being required by fog-core.

Any plans for DigitalOcean Spaces support?

Just saw Digital Ocean announced Spaces for file storage. They said it is compatible with S3? Not sure if that means we get it for free, but would be awesome to switch my code over to use Digital Spaces rather than S3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.