Questions tagged [fog]

fog describes itself as 'the Ruby cloud services library'.

fog describes itself as 'the Ruby cloud services library'. It is available at https://fog.io/

498 questions
0
votes
1 answer

Image invalid on facebook/twitter user image uploading to S3

I'm trying to upload to amazon s3 an existing image on facebook or twitter from an user that has just signed up in my application, but some validation don't let me save the user object, throws: Image is invalid. I thought that was for my…
p1nox
  • 623
  • 1
  • 7
  • 13
0
votes
2 answers

Intermittent Carrierwave S3 403 Signature Does Not Match errors

I am getting seemingly random erorrs when uploading files to s3 from my app on heroku. I am using jquery-file-upload to upload pictures to a tmp/ directory in my bucket using the CORS method and this code. def url temp_url =…
Bramanga
  • 138
  • 1
  • 10
0
votes
2 answers

Unable to save file to Amazon S3 when using carrierwave

SEE UPDATE BELOW! I am having problems after I upload an image file to Amazon S3 and then try to save the file. I use direct_fog_url(with_path: true) to get the the url of the image uploaded. I then get the following…
Danconia
  • 543
  • 2
  • 12
  • 28
0
votes
1 answer

Set user_data for EC2 instance via Fog

Does anybody know how can I set EC2 user_data via Fog framework.
Haris Krajina
  • 14,824
  • 12
  • 64
  • 81
0
votes
2 answers

Downloading Image to tmp folder from S3

I'm using carrierwave + fog to work with S3. I'm saving images there, then I need to grab one of this image and post it to fb... So what I need to do is to download the image to the server, I couldn't find a way of doing this with carrierwave... And…
Andres
  • 11,439
  • 12
  • 48
  • 87
0
votes
1 answer

Android OpenGL ES Dynamic fog color

I'm using the following method to set fog, public void set_fog(float[] fc){ gl.glEnable(GL10.GL_FOG); { gl.glFogf(GL10.GL_FOG_MODE, GL10.GL_EXP2); gl.glFogfv(GL10.GL_FOG_COLOR, fc, 0); …
Dnu_12
  • 45
  • 1
  • 10
0
votes
1 answer

Rails carrierwave error

I'm using carrierwave and fog to upload files in my app. I upgraded all my gems and now receive this error wrong number of arguments (2 for 1) <%= link_to image_tag(listing.image_url(:thumb).to_s, :class => 'popup-image'), listing, …
bcackerman
  • 1,486
  • 2
  • 22
  • 36
0
votes
1 answer

how to store s3 credentials in an untracked file using fog

I'm trying to get refinerycms to upload files to s3, using the fog gem. I'd like to pull my S3 credentials from a file that is not in my git repo (e.g. s3.yml) I found some old references to doing this using the aws-s3 gem, but not fog. Thanks in…
rda3000
  • 1,410
  • 1
  • 18
  • 31
0
votes
2 answers

Carrierwave Can't mass-assign protected attributes: path when uploading using jquery-fileupload-rails

I'm trying to get a simple file upload working using jquery-fileupload-rails carrierwave fog I cannot find the cause of the following error Started POST "/pictures" for 127.0.0.1 at 2012-07-27 15:19:37 +0100 Processing by PicturesController#create…
apotry
  • 1,856
  • 2
  • 17
  • 23
0
votes
1 answer

Carrierwave public URL using amazon S3 gives "Access Denied"

I am trying to host an API using Carrierwave/Fog to host the image. I configured config.fog_public = true However whenever I access the URL of the image, AWS returns an "Access Denied" error. Is it currently possible to use Fog with AWS to serve…
chourobin
  • 4,004
  • 4
  • 35
  • 48
0
votes
1 answer

fog and dyn destroy record

I'm currently using Fog to manage Dyn DNS provider. According the documentation, there's a destroy method on the DNS record object. However, when I call destroy, on a record, nothing happens... the method just returns true, but it is never deleted.…
sethvargo
  • 26,739
  • 10
  • 86
  • 156
0
votes
1 answer

Change permissions for files in S3 using Dragonfly

in my rails project i use dragonfly for uploading files and store them in S3. initially i pass {'x-amz-acl' => 'private'} for uploaded files and use private urls with expiration date. is there an easy way to change it to 'public-read' after the file…
0
votes
1 answer

"application.css isn't precompiled" error on Heroku with remote assets on CDN

I'm getting the typical error on Heroku, that it appears the solution is to precompile locally and then commit to git. ActionView::Template::Error (application.css isn't precompiled) However I have my assets on Rackspace CloudFiles CDN using…
Colin
  • 784
  • 2
  • 8
  • 21
-1
votes
1 answer

Carrierwave cache_stored_file! does not fetch the file in the cache

I am migrating from Carrierwave 1.3.X to 2.2.X and I am running into trouble here and there. One of the snippets that fail for me is this: def files signable_template.signable_documents.map do |sd| sd.document.cache_stored_file! …
Markos Fragkakis
  • 7,499
  • 18
  • 65
  • 103
-1
votes
1 answer

How do I create a Near Edge computing system? (Send sensor data with Raspberry Pi/DHT11 sensor)

I am working on edge computing for IoT applications and expected to create a system that acts as a near edge computer with the use of a raspberry pi hooked up to a dht11 sensor. How do I send this data over to a computer that is at the edge? Ideally…
raxcv
  • 3
  • 1
1 2 3
33
34