Displaying 20 results from an estimated 2000 matches similar to: "Uninitialized Constant Using New S3 Library"
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:
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 =>
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
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
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>"
2011 Feb 11
0
rails 3 initialize module, running cucumber
I have this in my environment file, I get "The error occurred while
evaluating nil.[] (NoMethodError)" on the S3Config.key= line when running
cucumber. Why is it not loading up the module when running cucumber?
module S3Config
mattr_accessor :key
mattr_accessor :sec
end
class ActiveRecord::Base
include S3Config
extend DynamicMethods
end
S3Config.key =
2013 Jul 23
12
node_aws installation problem
Hi everyone!
having a slight problem with the installing the cloud provisioning module
[code]
http://docs.puppetlabs.com/guides/cloud_pack_getting_started.html
[/code]
everything worked until I wanted to actually try to fire it up:
[code]
>puppet node_aws list
Error: Could not autoload puppet/face/node_aws/fingerprint: cannot load
such file -- guid
Error: Could not parse application
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
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.
2018 Jun 06
2
Using ControlPlayback with AWS S3
Hi,
I have tested ControlPlayback and grabbed files via an apache server with
no issue. I want to be able to grab files via aws S3 which would require me
to add some headers to authenticate. Is there any way to have Asterisk add
headers or would I need a http proxy in the middle?
TIA.
Dovid
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Apr 30
7
rescue_from issue with AWS - uninitialized constant
The new rescue_from in edge rails seems to conflict with
ActionWebService, which I need for various other purposes. When I
define, for example (with AWS gem installed):
<b>rescue_from ActionController::RoutingError, :with
=> :page_not_found</b>
I get the exception:
<b>uninitialized constant
ActionWebService::Dispatcher::ActionController::Base</b>
OK, so AWS
2018 Jun 06
2
Using ControlPlayback with AWS S3
On Wed, Jun 6, 2018 at 6:18 AM, Antony Stone <
Antony.Stone at asterisk.open.source.it> wrote:
> On Wednesday 06 June 2018 at 12:02:38, Dovid Bender wrote:
>
> > Hi,
> >
> > I have tested ControlPlayback and grabbed files via an apache server with
> > no issue.
>
> ControlPlayback is an Asterisk dialplan function.
>
> How have you integrated this
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
2008 Nov 11
1
attachment_fu, aws-s3 and backgroundrb
Hi,
I''m using attachment_fu to store files on amazon s3. A background job is currently performing the upload and I''m having a strange issue where the very first file uploaded/created (attachment_fu uploads when creating the object) does not get uploaded. The db information is all all good. The model and attachment model associated with it are saved to the db, but the file is
2012 Oct 01
5
s3 as mysql directory
Hello list,
I am soliciting opinion here as opposed technical help with an idea I
have. I've setup a bacula backup system on an AWS volume. Bacula stores a
LOT of information in it's mysql database (in my setup, you can also use
postgres or sqlite if you chose). Since I've started doing this I notice
that the mysql data directory has swelled to over 700GB! That's quite a lot
and
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run
this:
SELECT "schema_migrations"."version" FROM "schema_migrations"
vs this ?
SELECT `schema_migrations`.`version` FROM `schema_migrations`
__ rake db:migrate output __
rake aborted!
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version
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
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this...
>From mongrel.log
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
transactions.rb:85:in `transaction'': Transaction aborted
(ActiveRecord::Transactions::TransactionError)
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:293:in `call''
from
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2006 Jan 04
2
Using gems from vendor/ ?
Maybe someone here can help me out. I''ve unpacked tzinfo in to my
vendor/ directory using "gem unpack tzinfo" and got a
vendor/tzinfo-0.1.1 directory as a result. How can I require this gem in
my app? I''m trying to use a require line in my environment.rb but no
matter what I do Rails seems to look for a locally installed copy in
/usr/local/ instead. Any advice?