Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run server after installing carrierwave-azure #4

Open
lethunder opened this issue Feb 11, 2015 · 4 comments
Open

cannot run server after installing carrierwave-azure #4

lethunder opened this issue Feb 11, 2015 · 4 comments

Comments

@lethunder
Copy link

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

@deanpcmad
Copy link

+1 same here

@deanpcmad
Copy link

I had to add the azure gem to my Gemfile too and do a bundle update azure
gem 'azure', '~> 0.6.4'

@tspaulino
Copy link

Same here and used the solution suggested by @deanperry.

@ilya-zakharov8
Copy link

Also I had problem with dependencies. Somehow my carrierwave gem prevented to install azure gem via bundle. So I removed github: 'carrierwaveuploader/carrierwave near carrierwave in my Gemfile. And made bundle update. This worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants