<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.townx.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>townx - S3 + Rails - Comments</title>
 <link>http://www.townx.org/blog/elliot/s3_rails</link>
 <description>Comments for &quot;S3 + Rails&quot;</description>
 <language>en</language>
<item>
 <title>I also prefer Wordpress, it</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-41630</link>
 <description>&lt;p&gt;I also prefer Wordpress, it is easier to use. Maybe down the line I will be more advanced to try other platforms.&lt;/p&gt;</description>
 <pubDate>Tue, 08 Nov 2011 00:11:33 -0600</pubDate>
 <dc:creator>drum wood chipper</dc:creator>
 <guid isPermaLink="false">comment 41630 at http://www.townx.org</guid>
</item>
<item>
 <title>Many congrats!

Many</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-41627</link>
 <description>&lt;p&gt;Many congrats!&lt;/p&gt;

&lt;p&gt;Many congratulations!&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;

&lt;p&gt;Mohammed&lt;/p&gt;</description>
 <pubDate>Sun, 06 Nov 2011 19:29:07 -0600</pubDate>
 <dc:creator>pellet cooler</dc:creator>
 <guid isPermaLink="false">comment 41627 at http://www.townx.org</guid>
</item>
<item>
 <title>I&#039;d go so far as to say it</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-40055</link>
 <description>&lt;p&gt;I&#039;d go so far as to say it outstrips the Amazon Ruby sample code for &lt;span class=&quot;caps&quot;&gt;S3, &lt;/span&gt;as it provides object wrappers around the bucket listing, logging and acl functionality, making it much easier to utilise them than it is with the Amazon samples.&lt;/p&gt;</description>
 <pubDate>Fri, 06 Nov 2009 05:28:44 -0600</pubDate>
 <dc:creator>levitra</dc:creator>
 <guid isPermaLink="false">comment 40055 at http://www.townx.org</guid>
</item>
<item>
 <title>any updates</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-39171</link>
 <description>&lt;p&gt;Elliot this looks pretty useful are there any newer version of this you know of?&lt;br /&gt;
Will&lt;/p&gt;</description>
 <pubDate>Thu, 23 Apr 2009 19:29:00 -0500</pubDate>
 <dc:creator>Seo Melbourne</dc:creator>
 <guid isPermaLink="false">comment 39171 at http://www.townx.org</guid>
</item>
<item>
 <title>I&#039;m a little late but</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-39049</link>
 <description>&lt;p&gt;I&#039;m a little late but appreciate this release. (Even though its old, I use it on some old systems.)&lt;/p&gt;</description>
 <pubDate>Sat, 28 Mar 2009 22:16:00 -0500</pubDate>
 <dc:creator>Zoran</dc:creator>
 <guid isPermaLink="false">comment 39049 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks for your intention of</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13285</link>
 <description>&lt;p&gt;Thanks for your intention of crediting me for the very minimal testing that I did.  The credit is really all yours!!! :)  &lt;br /&gt;
I am just a newbie!  Also, I am not using a website, I am only using my local computer to run and get a feel for different scripts.  &lt;/p&gt;

&lt;p&gt;Take care,&lt;/p&gt;

&lt;p&gt;marv&lt;/p&gt;</description>
 <pubDate>Fri, 19 Jan 2007 21:45:17 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13285 at http://www.townx.org</guid>
</item>
<item>
 <title>You&#039;re welcome Marv. Your</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13282</link>
 <description>&lt;p&gt;You&#039;re welcome Marv. Your problems prompted me to go through and methodically fix all the library imports and namespaces. It should now work much better, and the code is far cleaner, so thanks for your input, and for sticking with me while I fixed it. As this was a big rewrite of the old code, I am still in the process of fixing parts of it, but hopefully I&#039;ll get there before too long. Let me have your website details and I&#039;ll put them in the credits file for s33r.&lt;/p&gt;</description>
 <pubDate>Fri, 19 Jan 2007 03:30:33 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 13282 at http://www.townx.org</guid>
</item>
<item>
 <title>Elliot,
Well done!!!</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13281</link>
 <description>&lt;p&gt;Elliot,&lt;/p&gt;

&lt;p&gt;Well done!!!  Whatever changes you have made, they work!  Your latest version of fores33r now loads wonderfully on my browser window!!!  &lt;/p&gt;

&lt;p&gt;I can now:&lt;br /&gt;
- create buckets&lt;br /&gt;
- delete buckets&lt;br /&gt;
- upload resources&lt;br /&gt;
- download resources&lt;br /&gt;
- delete resources&lt;/p&gt;

&lt;p&gt;Well done!!!&lt;/p&gt;

&lt;p&gt;Thanks for all your help,&lt;/p&gt;

&lt;p&gt;marv&lt;/p&gt;</description>
 <pubDate>Thu, 18 Jan 2007 20:53:56 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13281 at http://www.townx.org</guid>
</item>
<item>
 <title>Hello again Marv. I&#039;ve done</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13280</link>
 <description>&lt;p&gt;Hello again Marv. I&#039;ve done some fairly major updates to how libraries are loaded and how namespaces get included. I have to be honest and say this is an area of some confusion for me, but I&#039;ve done my best to tidy up. Could you try again from the Subversion repository and see if this fixes things for you? I will aim to write some tests for the &lt;span class=&quot;caps&quot;&gt;HTTP &lt;/span&gt;access parts of s33r soon, to help me track down these problems.&lt;/p&gt;</description>
 <pubDate>Thu, 18 Jan 2007 17:31:48 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 13280 at http://www.townx.org</guid>
</item>
<item>
 <title>Hi Elliot,
I have</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13278</link>
 <description>&lt;p&gt;Hi Elliot,&lt;/p&gt;

&lt;p&gt;I have uninstalled all the old versions of s33r, and downloaded the 0.5.1 version.&lt;/p&gt;

&lt;p&gt;I did a &lt;span class=&quot;caps&quot;&gt;SVN CHECKOUT &lt;/span&gt;and saw the changes you have made to utility.rb:&lt;br /&gt;
- require File.join(base, &#039;s33r_exception&#039;)&lt;br /&gt;
- include &lt;span class=&quot;caps&quot;&gt;S3E&lt;/span&gt;xception &lt;/p&gt;

&lt;p&gt;Unfortunately, I am still getting an &quot;unable to connect&quot; error with fores33r.&lt;br /&gt;
 &lt;br /&gt;
And simple.rb still gives me the error message:&lt;/p&gt;

&lt;p&gt;./../../lib/s33r/bucket.rb:7: uninitialized constant &lt;span class=&quot;caps&quot;&gt;S33&lt;/span&gt;r::Client (NameError)&lt;br /&gt;
        from ./../../lib/s33r.rb:2&lt;br /&gt;
        from ./../../lib/s33r.rb:2&lt;/p&gt;

&lt;p&gt;I am starting to wonder if something is wrong on my end.  I am using: rails 1.1.6. and I am running your older s33r rails app without any problem...&lt;/p&gt;

&lt;p&gt;thanks,&lt;/p&gt;

&lt;p&gt;marv&lt;/p&gt;</description>
 <pubDate>Thu, 18 Jan 2007 10:11:56 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13278 at http://www.townx.org</guid>
</item>
<item>
 <title>Hello Marv. Thanks for the</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13277</link>
 <description>&lt;p&gt;Hello Marv. Thanks for the extra info. A couple of things to try:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;Make sure you only have one version of s33r installed. I don&#039;t think this matters, but could help to isolate the issue.&lt;/li&gt;
&lt;li&gt;I&#039;ve added an explicit require for the file containing the &lt;span class=&quot;caps&quot;&gt;S3E&lt;/span&gt;xception module to utility.rb. This might help - I&#039;ll upgrade the gem once Rubyforge is up.&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;I&#039;ve just looked at this again, and I think it&#039;s a problem with my code. I think &lt;span class=&quot;caps&quot;&gt;S33&lt;/span&gt;r is trying to throw an error (so there is a problem somewhere), but the real error you&#039;re getting is actually causing another error due to faulty namespaces. I&#039;ve gone through the code and think I&#039;ve fixed this now.&lt;/p&gt;</description>
 <pubDate>Thu, 18 Jan 2007 04:04:00 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 13277 at http://www.townx.org</guid>
</item>
<item>
 <title>More info...
I have also</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13276</link>
 <description>&lt;p&gt;More info...&lt;/p&gt;

&lt;p&gt;I have also tried using &quot;simple.rb&quot; and the error message I am getting is shown below.  Maybe this can shed some light into the problem I am getting.  Also, the example scripts prompted me to install: Libxml-Ruby, which I did.&lt;/p&gt;

&lt;p&gt;The error message for simple.rb:&lt;br /&gt;
./../../lib/s33r/utility.rb:77: uninitialized constant &lt;span class=&quot;caps&quot;&gt;S33&lt;/span&gt;r::S3Exception (NameError)&lt;br /&gt;
        from ./../../lib/s33r/bucket.rb:2&lt;br /&gt;
        from ./../../lib/s33r.rb:2&lt;br /&gt;
        from ./../../lib/s33r.rb:2&lt;br /&gt;
        from simple.rb:6&lt;/p&gt;

&lt;p&gt;Thanks for your help,&lt;/p&gt;

&lt;p&gt;marv&lt;/p&gt;</description>
 <pubDate>Wed, 17 Jan 2007 23:49:37 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13276 at http://www.townx.org</guid>
</item>
<item>
 <title>Hello Elliot,
Yes, I did add</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13275</link>
 <description>&lt;p&gt;Hello Elliot,&lt;/p&gt;

&lt;p&gt;Yes, I did add my access keys to the s3.yaml file and copy it into the config folder.  Still no response unfortunately...  &lt;/p&gt;

&lt;p&gt;marv &lt;/p&gt;</description>
 <pubDate>Wed, 17 Jan 2007 17:36:02 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13275 at http://www.townx.org</guid>
</item>
<item>
 <title>Hello again Marv. Have you</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13272</link>
 <description>&lt;p&gt;Hello again Marv. Have you copied the file examples/s3.yaml into examples/fores33r/config/? You will then need to edit the &lt;span class=&quot;caps&quot;&gt;AWS &lt;/span&gt;connection keys in that file. Let me know whether this fixes your issue.&lt;/p&gt;</description>
 <pubDate>Wed, 17 Jan 2007 13:53:28 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 13272 at http://www.townx.org</guid>
</item>
<item>
 <title>fores33r</title>
 <link>http://www.townx.org/blog/elliot/s3_rails#comment-13271</link>
 <description>&lt;p&gt;Hi Elliot,&lt;/p&gt;

&lt;p&gt;Thanks for the latest release.  However, I have been having problem getting fores33r to work at all, due to a &quot;Unable to connect&quot; error.  Tried freezing it with edge but still didn&#039;t work.  &lt;span class=&quot;caps&quot;&gt;FYI,&lt;/span&gt; I didn&#039;t have any problem running your previous release, the s33r app. &lt;/p&gt;

&lt;p&gt;Any suggestions?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description>
 <pubDate>Wed, 17 Jan 2007 09:55:17 -0600</pubDate>
 <dc:creator>marv</dc:creator>
 <guid isPermaLink="false">comment 13271 at http://www.townx.org</guid>
</item>
<item>
 <title>S3 + Rails</title>
 <link>http://www.townx.org/blog/elliot/s3_rails</link>
 <description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; This has mostly been superseded by my full-on s33r project, &lt;a href=&quot;http://rubyforge.org/projects/s33r/&quot;&gt;hosted on RubyForge&lt;/a&gt;. It contains a Rails application as an example, but far more functionality than this early effort. I&#039;d go so far as to say it outstrips the Amazon Ruby sample code for &lt;span class=&quot;caps&quot;&gt;S3, &lt;/span&gt;as it provides object wrappers around the bucket listing, logging and acl functionality, making it much easier to utilise them than it is with the Amazon samples. Give it a try, why don&#039;t you?&lt;/p&gt;

&lt;p&gt;&lt;hr/&gt;&lt;/p&gt;

&lt;div style=&quot;background-color: #EEE; color: #777;&quot;&gt;
Well, I spent most of today obsessively coding a simple Rails front-end to &lt;a href=&quot;http://aws.amazon.com/s3/&quot;&gt;S3&lt;/a&gt; called &lt;strong&gt;s33r&lt;/strong&gt; (pronounced &quot;seer&quot;). It&#039;s very incomplete, but mostly intended as a proof of concept. It allows you to perform the following operations:


&lt;ul&gt;
&lt;li&gt;Create and delete &quot;buckets&quot;&lt;/li&gt;
&lt;li&gt;Browse a list of keys in each bucket&lt;/li&gt;
&lt;li&gt;Add resources to buckets, either by uploading files (s33r will guess the content type) or entering text&lt;/li&gt;
&lt;li&gt;Delete resources from buckets&lt;/li&gt;
&lt;li&gt;Make buckets and resources either private or public&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;There&#039;s no support for resource prefixes, so the storage is fairly flat at the moment.&lt;/p&gt;

&lt;p&gt;It incorporates the S3 sample Ruby code from Amazon, the &lt;span class=&quot;caps&quot;&gt;HMAC&lt;/span&gt;-SHA1 library, and the &lt;span class=&quot;caps&quot;&gt;MIME&lt;/span&gt;::Types libraries. I haven&#039;t included the licences, but believe they are all under &lt;span class=&quot;caps&quot;&gt;MIT.&lt;/span&gt; My S3 code is a Rails plugin in vendor/plugins/S3Client. The Rails code is hastily hacked together and badly organised, but I got carried away. I haven&#039;t frozen the Rails gems in, but for reference I used Rails 1.0.&lt;/p&gt;

&lt;p&gt;If you want to try installing it, the package is attached to the end of this blog entry. Untar and install as you would any other Rails app.. You will need to fix the shebang lines (they point at one of my many custom Rails environments!). Then you will need an S3 account. Once you have this, edit config/s3_config.yaml with your &lt;span class=&quot;caps&quot;&gt;AWS &lt;/span&gt;access key details. Change bucket_prefix to something sensible for you. Then start it up (WEBrick or Lighttpd), browse to localhost (port 3333 if you use the included Lighttpd config.), and away you go!&lt;/p&gt;

&lt;p&gt;There is a &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt;ite database attached to the app., but it isn&#039;t used at present. Not sure if this will break if you try to use the package without &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt;ite being installed. I tested under Lighttpd, and there&#039;s a Lighttpd config. file in the config. directory if you want to use that.&lt;/p&gt;

&lt;p&gt;The whole thing will be released under the &lt;span class=&quot;caps&quot;&gt;MIT&lt;/span&gt; Licence eventually, and I will put it up on RubyForge once I get a minute. But I was too excited to wait before releasing it :) Any feedback would be great.&lt;/p&gt;

&lt;h2&gt;Disclaimer&lt;/h2&gt;

&lt;p&gt;This software comes with &lt;strong&gt;no warranty&lt;/strong&gt;. I am happy to answer informal queries, though.&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://townx.org/files/s33r.tar.gz&quot;&gt;s33r 0.1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;/div&gt;</description>
 <comments>http://www.townx.org/blog/elliot/s3_rails#comments</comments>
 <category domain="http://www.townx.org/tech">tech</category>
 <pubDate>Fri, 31 Mar 2006 17:36:44 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">255 at http://www.townx.org</guid>
</item>
</channel>
</rss>

