Repository is archived
No commit activity in last 3 years
No release in over 3 years
Use raca for Rackspace cloud files support in CarrierWave
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0
~> 2.14

Runtime

< 1.0, >= 0.3.0
 Project Readme

carrierwave-raca

Store carrierwave files on Rackspace Cloud Files using the raca gem. raca is lightweight, rackspace-only alternative to fog.

Usage

Add this gem to your Gemfile:

gem 'carrierwave-raca'

... and then modify config/environments/development.rb to add this at the bottom:

CarrierWave.configure do |config|
  config.storage = :raca
  config.asset_host = "https://somehost.rackcdn.com"
  config.raca_username = "rackspace username"
  config.raca_api_key = "rackspace api_key"
  config.raca_container = "rackspace container name"
  config.raca_region = :ord # or :syd, :dfw, :iad, :hkg
end

Depending on your intended setup, you might also need to add similar configuration into other environments.