similar to: AWS-S3 gem behaviour

Displaying 20 results from an estimated 60000 matches similar to: "AWS-S3 gem behaviour"

2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello, Am running build install on an existing project and I get this error: Installing aws-s3 (0.6.2) Errno::EACCES: Permission-denied - D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb An error occured while installing aws-s3 (0.6.2) and Bundler cannot continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before bundling.
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
Hi, Im developing an image upload using pothoven-attachment_fu (3.2.8) and aws-s3 (0.6.3). I want to store my files in Amazon S3. I follow all the instructions using attachment_fu and s3 my model has_attachment :content_type => :image, :storage => :s3, :max_size => 1.megabyte, :thumbnails => { :thumb =>
2011 Jul 05
0
Problem in accessing bucket of my AWS S3 account
I tried to establish connection to my aws s3 account like this in my irb console - AWS::S3::Base.establish_connection!(:access_key_id => ''my access key'', :secret_access_key => ''my secret key'', :server => " s3-ap-southeast-1.amazonaws.com") And it works well and prompt this - => #<AWS::S3::Connection:0x8cd86d0
2010 Aug 08
2
paperclip save to disk and s3
I have a standard Paperclip setup that saves a file to my disk. In addition I would also like the file saved to my amazon s3 bucket. [code] after_save :copy_to_s3 def copy_to_s3 has_attached_file :photo, :storage => :s3, :s3_credentials => "#{RAILS_ROOT}/config/s3.yml", :styles => { :thumb => "100x100#", :small => "750x750>"
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
Hi all, I''ve got a feeling from other posts that this should be very simple, but believe me I''ve looked around many tutorials / blogs, but still cant even get the most basic setup working with paperclip and s3. I am however pretty new to Rails, so could be doing something dumb. ------- Firstly, to install and use paperclip and aws-s3 I''ve got them both in by Gemfile:
2010 Apr 24
2
problem using attachment_fu with S3
Hi, My S3 bucket is located in the US I have attachment_fu working when using file system storage I have sw-swf upload plugin working with my S3 account but I can not get attachment_fu to work with S3 storage. the error I get is : AWS::S3::RequestTimeout in Upload filesController#create Your socket connection to the server was not read from or written to within the timeout period. Idle
2012 Nov 27
1
multiple file upload to amazon s3 using jquery file upload rails app
Hi All, I am a newbie. I am following http://railscasts.com/episodes/383-uploading-to-amazon-s3?view=comments to upload file. I am able to upload single file with carrierwave. But I got 403(Forbidden) error when I try to upload multiple files using jquery file upload. When I try to upload single/multiple file I get alert box saying failed to upload and in console it says "Failed to
2011 Mar 11
8
Help Regarding Amazon S3 and Career Wave along with Rspec
hello Guys, i would like to know some details regarding how to implement AMAZON S3 with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases as well . Actually i already have code which is implemented with Career Wave its a image uploading code and i need to change that code on AMAZON S3. Can you guys help to me to make those changes and in writing RSpec test Cases.Its really important
2013 Sep 07
0
[shoulda-matchers gem] validate_numericality_of_matcher strange behaviour
Hello I have Vacancy model and vacancy_spec test with validates_numericality_of :salary, greater_than: 1 in the model and validate_numericality_of(:salary).is_greater_than(2) in the _spec. When i run rspec spec command tests pass (in some cases and in other they don''t) Why? vacancy.rb ------------------------ class Vacancy < ActiveRecord::Base validates_presence_of :name,
2010 Mar 22
1
Amazon S3 and ffmpeg
So we are setting up a file upload system for our web app. Files will be uploaded to Amazon S3, and videos need to be converted to ffmpeg. We have had problems with uploading of large files timing out, and it was suggested to us to use http://github.com/elcgit/s3-swf-upload-plugin for uploading directly to S3. This would fix the timeout, but then could I use ffmpeg to convert the file once it is
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2011 Aug 11
1
How to secure file access using Carrierwave + S3 hosted on Heroku
My site is hosted on Heroku and I am using Carrierwave to upload files to Amazon. How can i restrict file access based on roles? Is this possible? Using Devise and CanCan. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2013 Apr 18
1
Missing :bucket option (S3), while it is defined in production initializers.
I got my S3 credentials defined in my production.rb, linkwise to this heroku post <https://devcenter.heroku.com/articles/paperclip-s3>. However when I''m testing it on Heroku, I get this error in my logs: "ArgumentError (missing required :bucket option)". What could be wrong? -- You received this message because you are subscribed to the Google Groups "Ruby on
2006 Nov 30
1
Uninitialized Constant Using New S3 Library
I am trying to use the new S3 library (thanks Marcel!) but I am getting an Uninitialized Constant message: >> Service.buckets NameError: uninitialized constant Service from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:100:in `const_missing_not_from_s3_library'' from
2011 Jul 09
2
Zip files on Amazon s3 bucket
Ive recently moved my files to amazon S3 storage. There is some functionality to allow an archive of files to be downloaded to a user via delayed job. So basically a project may have 10 documents in 10 different folders in the s3 bucket. What i need to do is zip the files up into one zip file and then send the user a link to download them. Im using https://github.com/qoobaa/s3 and paperclip to
2010 Aug 09
5
Paperclip - Amazon S3 - https
I am able to use Paperclip to save files to Amazon''s S3 storage. Once saved, the files are available using a URL associated with the bucket and filename. I have not been able to find a good tutorial which clearly explains how to save a file to S3 (using Paperclip) whereby it can only be retrieved using https, and only for a limited time period (which I understand is a function of S3).
2010 Apr 03
0
Change from attachment_fu db BLOB to Paperclip S3
Hi: I have moved from using attachment_fu with files stored in the DB to Paperclip using S3. The trick now is to migrate the files from the DB to S3. I have tried a few methods like: SThreeFile.create(:file => AttachmentFuFile.first.data) and @attachment = AttachmentFuFile.first SThreeFile.create(:file => ActionController::Streaming.send_data @attachment.data, :filename =>
2011 Sep 01
0
Encrypt/Decrypt files using Carrierwave to store in S3
Hi, I need to be able to encrypt files before storing them on S3, and then decrypt them when accessing them. The files will be images, documents, PDF, etc. I am using Carrierwave to handle the file upload and storage. I am storing them in Amazon S3. Has anyone done this, or have any ideas how this would be achieved? Thanks. -- You received this message because you are subscribed to the
2013 Apr 15
0
update image name paperclip s3
Hello, How can I rename image name while updating/adding the image in s3 through paperclip? Thanks, Avi -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
Hello, Im using the following amazon web service API for S3 : http://amazon.rubyforge.org/ The problem is that after I establish a connection using establish_connection!, and try using the "store" command, I keep getting the following error. However, if I reboot my webrick server, it works fine for about one hour and then starts throwing this error: Errno::EINVAL in