unosk / carrierwave-azure Goto Github PK
View Code? Open in Web Editor NEWWindows Azure blob storage support for CarrierWave
License: MIT License
Windows Azure blob storage support for CarrierWave
License: MIT License
I'm getting this error when I attempt to upload a file:
Azure::Core::Http::HTTPError in MyController#create
OutOfRangeInput (400): One of the request inputs is out of range.
RequestId:e7e0b7a1-37af-4f9d-81ba-c9f813111a71
Time:2014-05-14T20:29:12.0056876Z
Here is my config:
CarrierWave.configure do |config|
config.azure_credentials = {
storage_account_name: 'myaccountname',
storage_access_key: 'reallylongstorageaccesskeyendingwith=='
}
config.azure_container = 'http://myapp.blob.core.windows.net/mycontainername'
end
Haven't found much that would point me to a solution. Your input would be much appreciated!
hello guys,
i have an issu after installing carrierwave-azure
1 -gem 'carrierwave-azure' in gemfile
2- bundle install
3- carrierwave.rb in initializers looks like
CarrierWave.configure do |config|
config.azure_credentials = {
:storage_account_name => 'xxxxxxxxxxx',
:storage_access_key => 'xxxxxxxxxxxxxxxxxxxxxxxxx'
}
config.azure_container = 'files'
end
then when i try to run my server with "rails s" i have
C:/Bitnami/rubystack/ruby/lib/ruby/gems/2.0.0/gems/activesupport-4.1.9/lib/activ
e_support/dependencies.rb:247:in `require': cannot load such file -- azure (Load
Error)
then when i use another configuration like
CarrierWave.configure do |config|
config.azure_storage_account_name = 'xxxxxxxxxxxxxxxxx'
config.azure_storage_access_key = 'xxxxxxxxxxxxxxxxxx'
config.azure_container = 'files'
end
same error message
my rails conf:
ruby 2.0.0
rails 4.1.9
carrierwave-azure 0.0.2
Is this just a typo? Could you please take a look at this line?
https://github.com/unosk/carrierwave-azure/blob/master/lib/carrierwave/storage/azure.rb#L63
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.