Created
January 22, 2010 17:56
-
-
Save dewski/283977 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GB::Application.configure do | |
| # Settings specified here will take precedence over those in config/environment.rb | |
| # In the development environment your application's code is reloaded on | |
| # every request. This slows down response time but is perfect for development | |
| # since you don't have to restart the webserver when you make code changes. | |
| config.cache_classes = false | |
| # Log error messages when you accidentally call methods on nil. | |
| config.whiny_nils = true | |
| # Show full error reports and disable caching | |
| config.action_controller.consider_all_requests_local = true | |
| config.action_view.debug_rjs = true | |
| config.action_controller.perform_caching = false | |
| # Don't care if the mailer can't send | |
| config.action_mailer.raise_delivery_errors = false | |
| Paperclip.options[:command_path] = "/usr/local/bin" | |
| Paperclip.options[:log_command] = true | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| directory "/Users/garrett/src/sites/GB", :glob => "{*/,}*.gemspec" | |
| git "git://github.com/rails/arel.git" | |
| git "git://github.com/rails/rack.git" | |
| gem "rails", :git => "git://github.com/rails/rails.git" | |
| gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git", :branch => "rails3" | |
| gem "authlogic", :git => "git://github.com/binarylogic/authlogic.git" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Started GET "/admin/items/chobani/images/new" for 127.0.0.1 at 2010-01-22 09:50:14 | |
| SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 | |
| Processing by Admin::ImagesController#create as HTML | |
| Parameters: {"commit"=>"Create Image", "authenticity_token"=>"dWLJ9eRzWjxEZleaXI4lOlFyR/SzcOR4KhN8GjXb1EA=", "image"=>{"file"=>#<File:/tmp/RackMultipart20100122-983-14dx85o-0>}, "item_id"=>"chobani"} | |
| User Columns (1.8ms) SHOW FIELDS FROM `users` | |
| DEPRECATION WARNING: Base.named_scope has been deprecated, please use Base.scope instead. (called from included at /Users/garrett/src/sites/GB/vendor/gems/ruby/1.8/dirs/authlogic/lib/authlogic/acts_as_authentic/logged_in_status.rb:35) | |
| DEPRECATION WARNING: Base.named_scope has been deprecated, please use Base.scope instead. (called from included at /Users/garrett/src/sites/GB/vendor/gems/ruby/1.8/dirs/authlogic/lib/authlogic/acts_as_authentic/logged_in_status.rb:36) | |
| users Columns (1.7ms) SHOW FIELDS FROM `users` | |
| User Load (0.9ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 | |
| CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 | |
| SQL (0.2ms) BEGIN | |
| DEPRECATION WARNING: save(false) is deprecated, please give save(:validate => false) instead. (called from save_without_transactions at /Users/garrett/src/sites/GB/vendor/gems/ruby/1.8/dirs/rails/activerecord/lib/active_record/attribute_methods/dirty.rb:19) | |
| SQL (0.4ms) UPDATE `users` SET `last_request_at` = '2010-01-22 17:50:14', `updated_at` = '2010-01-22 17:50:14' WHERE (`users`.`id` = 1) | |
| SQL (1.0ms) COMMIT | |
| Item Columns (1.8ms) SHOW FIELDS FROM `items` | |
| items Columns (2.4ms) SHOW FIELDS FROM `items` | |
| Item Load (2.7ms) SELECT `items`.* FROM `items` WHERE (`items`.`slug` = 'chobani') LIMIT 1 | |
| Image Columns (1.5ms) SHOW FIELDS FROM `images` | |
| SQL (0.2ms) BEGIN | |
| images Columns (1.7ms) SHOW FIELDS FROM `images` | |
| SQL (0.3ms) INSERT INTO `images` (`created_at`, `file_content_type`, `file_file_name`, `file_file_size`, `file_updated_at`, `item_id`, `position`, `updated_at`) VALUES ('2010-01-22 17:50:14', 'image/png', 'scree.png', 22020, '2010-01-22 17:50:14', 9, 0, '2010-01-22 17:50:14') | |
| SQL (0.3ms) UPDATE `items` SET `images_count` = COALESCE(`images_count`, 0) + 1 WHERE (`id` = 9) | |
| [paperclip] Saving attachments. | |
| [paperclip] saving /Users/garrett/src/sites/GB/public/system/files/23/original/scree.png | |
| SQL (1.0ms) COMMIT | |
| Redirected to http://gb.dev/admin/items/chobani/images/23 | |
| Completed in 154ms with 302 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Image < ActiveRecord::Base | |
| belongs_to :item, :counter_cache => true | |
| has_attached_file :file, :styles => { | |
| :small => ["250x250>", :png], | |
| :thumb => ["50x50#", :png] | |
| }, | |
| :default_style => :thumb, | |
| :storage => :s3, | |
| :s3_credentials => File.join(Rails.root, 'config', 's3.yml'), | |
| :path => "image/:id_partition/:style.:extension" | |
| end | |
| # or | |
| class Image < ActiveRecord::Base | |
| belongs_to :item, :counter_cache => true | |
| has_attached_file :file, :styles => { | |
| :small => ["250x250>", :png], | |
| :thumb => ["50x50#", :png] | |
| }, | |
| :default_style => :thumb | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 09:53 ~ $ which identify | |
| /usr/local/bin/identify | |
| 09:53 ~ $ identify /Users/garrett/Desktop/scree.png | |
| /Users/garrett/Desktop/scree.png PNG 475x131 475x131+0+0 8-bit DirectClass 22KB 0.000u 0:00.010 | |
| 09:53 ~ $ ls -la /usr/local/bin | |
| total 268088 | |
| drwxr-xr-x 129 root wheel 4386 Jan 17 01:53 . | |
| drwxr-xr-x 13 root wheel 442 Jan 1 21:04 .. | |
| -rwxr-xr-x 1 root wheel 1450 Jan 17 01:53 Magick-config | |
| -rwxr-xr-x 1 root wheel 1642 Jan 17 01:53 MagickCore-config | |
| -rwxr-xr-x 1 root wheel 1476 Jan 17 01:53 MagickWand-config | |
| -rwxr-xr-x 1 root wheel 1458 Jan 17 01:53 Wand-config | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:52 animate | |
| -rwxr-xr-x 1 root wheel 331 Jan 17 01:44 bdftops | |
| -rwxr-xr-x 1 root wheel 19280 Jan 17 01:47 bmp2tiff | |
| -rwxr-xr-x 1 root wheel 12293920 Nov 24 23:21 bugpoint | |
| -rwxr-xr-x 1 root wheel 37592 Jan 17 01:39 cjpeg | |
| -rwxr-xr-x 1 root wheel 9536 Jan 17 01:52 compare | |
| -rwxr-xr-x 1 root wheel 9488 Jan 17 01:52 composite | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:53 conjure | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:53 convert | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:53 display | |
| -rwxr-xr-x 1 root wheel 32448 Jan 17 01:39 djpeg | |
| -rwxr-xr-x 1 root wheel 593 Jan 17 01:44 dumphint | |
| -rwxr-xr-x 1 root wheel 1054 Jan 17 01:44 dvipdf | |
| -rwxr-xr-x 1 root wheel 671 Jan 17 01:44 eps2eps | |
| -rwxr-xr-x 1 root wheel 20608 Jan 17 01:48 fax2ps | |
| -rwxr-xr-x 1 root wheel 20128 Jan 17 01:48 fax2tiff | |
| -rwxr-xr-x 1 root wheel 4581 Jan 17 01:44 fixmswrd.pl | |
| -rwxr-xr-x 1 root wheel 339 Jan 17 01:44 font2c | |
| -rwxr-xr-x 1 root wheel 3694 Jan 17 01:46 freetype-config | |
| lrwxr-xr-x 1 root wheel 42 Nov 22 17:04 gem -> /opt/ruby-enterprise-1.8.7-2009.10/bin/gem | |
| -rwxr-xr-x 1 root wheel 21952 Jan 17 01:48 gif2tiff | |
| -rwxr-xr-x 1 root wheel 15592392 Jan 17 01:44 gs | |
| -rwxr-xr-x 1 root wheel 376 Jan 17 01:44 gsbj | |
| -rwxr-xr-x 1 root wheel 378 Jan 17 01:44 gsdj | |
| -rwxr-xr-x 1 root wheel 381 Jan 17 01:44 gsdj500 | |
| -rwxr-xr-x 1 root wheel 379 Jan 17 01:44 gslj | |
| -rwxr-xr-x 1 root wheel 376 Jan 17 01:44 gslp | |
| -rwxr-xr-x 1 root wheel 303 Jan 17 01:44 gsnd | |
| lrwxr-xr-x 1 garrett wheel 81 Nov 24 22:33 hotcocoa -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/hotcocoa | |
| -rwxr-xr-x 1 root wheel 15352 Jan 17 01:40 icc2ps | |
| -rwxr-xr-x 1 root wheel 21496 Jan 17 01:40 icclink | |
| -rwxr-xr-x 1 root wheel 34944 Jan 17 01:40 icctrans | |
| -rwxr-xr-x 1 root wheel 9536 Jan 17 01:53 identify | |
| -rwxr-xr-x 1 root wheel 9472 Jan 17 01:53 import | |
| -rwxr-xr-x 1 root wheel 29112 Jan 17 01:40 jpegicc | |
| -rwxr-xr-x 1 root wheel 35632 Jan 17 01:39 jpegtran | |
| lrwxr-xr-x 1 root wheel 15 Jan 17 01:39 libpng-config -> libpng12-config | |
| -rwxr-xr-x 1 root wheel 2302 Jan 17 01:39 libpng12-config | |
| -rwxr-xr-x 1 root wheel 2429 Jan 17 01:46 libwmf-config | |
| -rwxr-xr-x 1 root wheel 13101 Jan 17 01:46 libwmf-fontmap | |
| -rwxr-xr-x 1 root wheel 31887176 Nov 24 23:21 llc | |
| -rwxr-xr-x 1 root wheel 20352496 Nov 24 23:21 lli | |
| -rwxr-xr-x 1 root wheel 3148272 Nov 24 23:21 llvm-ar | |
| -rwxr-xr-x 1 root wheel 3567192 Nov 24 23:21 llvm-as | |
| -rwxr-xr-x 1 root wheel 427504 Nov 24 23:21 llvm-bcanalyzer | |
| -rwxr-xr-x 1 root wheel 23646 Nov 24 23:21 llvm-config | |
| -rwxr-xr-x 1 root wheel 4162792 Nov 24 23:21 llvm-db | |
| -rwxr-xr-x 1 root wheel 3022048 Nov 24 23:21 llvm-dis | |
| -rwxr-xr-x 1 root wheel 3727336 Nov 24 23:21 llvm-extract | |
| -rwxr-xr-x 1 root wheel 8730536 Nov 24 23:21 llvm-ld | |
| -rwxr-xr-x 1 root wheel 3915240 Nov 24 23:21 llvm-link | |
| -rwxr-xr-x 1 root wheel 3079376 Nov 24 23:21 llvm-nm | |
| -rwxr-xr-x 1 root wheel 3157752 Nov 24 23:21 llvm-prof | |
| -rwxr-xr-x 1 root wheel 3090728 Nov 24 23:21 llvm-ranlib | |
| -rwxr-xr-x 1 root wheel 25256 Nov 24 23:21 llvm-stub | |
| -rwxr-xr-x 1 root wheel 848472 Nov 24 23:21 llvmc | |
| -rwxr-xr-x 1 root wheel 4661 Jan 17 01:44 lprsetup.sh | |
| lrwxr-xr-x 1 garrett wheel 79 Nov 24 22:33 macerb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macerb | |
| lrwxr-xr-x 1 garrett wheel 79 Nov 24 22:33 macgem -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macgem | |
| lrwxr-xr-x 1 garrett wheel 79 Nov 24 22:33 macirb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macirb | |
| lrwxr-xr-x 1 garrett wheel 80 Nov 24 22:33 macrake -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macrake | |
| lrwxr-xr-x 1 garrett wheel 80 Nov 24 22:33 macrdoc -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macrdoc | |
| lrwxr-xr-x 1 garrett wheel 78 Nov 24 22:33 macri -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macri | |
| lrwxr-xr-x 1 garrett wheel 80 Nov 24 22:33 macruby -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/macruby | |
| lrwxr-xr-x 1 garrett wheel 82 Nov 24 22:33 mactestrb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/mactestrb | |
| -rwxr-xr-x 1 root wheel 48304 Nov 21 21:35 memcached | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:53 mogrify | |
| -rwxr-xr-x 1 root wheel 9480 Jan 17 01:53 montage | |
| -rwxr-xr-x 1 root wheel 11681248 Nov 24 23:21 opt | |
| -rwxr-xr-x 1 root wheel 14832 Jan 17 01:48 pal2rgb | |
| -rwxr-xr-x 1 root wheel 1247 Jan 12 18:57 pcre-config | |
| -rwxr-xr-x 1 root wheel 32992 Jan 12 18:57 pcregrep | |
| -rwxr-xr-x 1 root wheel 45696 Jan 12 18:57 pcretest | |
| -rwxr-xr-x 1 root wheel 735 Jan 17 01:44 pdf2dsc | |
| -rwxr-xr-x 1 root wheel 940 Jan 17 01:44 pdf2ps | |
| -rwxr-xr-x 1 root wheel 586 Jan 17 01:44 pdfopt | |
| -rwxr-xr-x 1 root wheel 534 Jan 17 01:44 pf2afm | |
| -rwxr-xr-x 1 root wheel 550 Jan 17 01:44 pfbtopfa | |
| -rwxr-xr-x 1 root wheel 15008 Jan 17 01:48 ppm2tiff | |
| -rwxr-xr-x 1 root wheel 425 Jan 17 01:44 printafm | |
| -rwxr-xr-x 1 root wheel 786 Jan 17 01:44 ps2ascii | |
| -rwxr-xr-x 1 root wheel 2822 Jan 17 01:44 ps2epsi | |
| -rwxr-xr-x 1 root wheel 315 Jan 17 01:44 ps2pdf | |
| -rwxr-xr-x 1 root wheel 260 Jan 17 01:44 ps2pdf12 | |
| -rwxr-xr-x 1 root wheel 260 Jan 17 01:44 ps2pdf13 | |
| -rwxr-xr-x 1 root wheel 260 Jan 17 01:44 ps2pdf14 | |
| -rwxr-xr-x 1 root wheel 1127 Jan 17 01:44 ps2pdfwr | |
| -rwxr-xr-x 1 root wheel 673 Jan 17 01:44 ps2ps | |
| -rwxr-xr-x 1 root wheel 704 Jan 17 01:44 ps2ps2 | |
| -rwxr-xr-x 1 root wheel 1412 Jan 17 01:44 pv.sh | |
| lrwxr-xr-x 1 root wheel 44 Nov 22 17:04 rails -> /opt/ruby-enterprise-1.8.7-2009.10/bin/rails | |
| lrwxr-xr-x 1 root wheel 43 Nov 22 17:04 rake -> /opt/ruby-enterprise-1.8.7-2009.10/bin/rake | |
| -rwxr-xr-x 1 root wheel 14704 Jan 17 01:48 ras2tiff | |
| -rwxr-xr-x 1 root wheel 19272 Jan 17 01:48 raw2tiff | |
| -rwxr-xr-x 1 root wheel 14440 Jan 17 01:39 rdjpgcom | |
| -rwxr-xr-x 1 root wheel 15816 Jan 17 01:48 rgb2ycbcr | |
| lrwxr-xr-x 1 root wheel 44 Nov 22 17:04 ruby -> /opt/ruby-enterprise-1.8.6-20080810/bin/ruby | |
| -rwxr-xr-x 1 root wheel 9472 Jan 17 01:53 stream | |
| -rwxr-xr-x 1 root wheel 2934048 Nov 24 23:21 tblgen | |
| -rwxr-xr-x 1 root wheel 20328 Jan 17 01:48 thumbnail | |
| -rwxr-xr-x 1 root wheel 15088 Jan 17 01:48 tiff2bw | |
| -rwxr-xr-x 1 root wheel 80920 Jan 17 01:48 tiff2pdf | |
| -rwxr-xr-x 1 root wheel 45800 Jan 17 01:48 tiff2ps | |
| -rwxr-xr-x 1 root wheel 15192 Jan 17 01:48 tiff2rgba | |
| -rwxr-xr-x 1 root wheel 19840 Jan 17 01:48 tiffcmp | |
| -rwxr-xr-x 1 root wheel 38448 Jan 17 01:48 tiffcp | |
| -rwxr-xr-x 1 root wheel 105488 Jan 17 01:48 tiffcrop | |
| -rwxr-xr-x 1 root wheel 26752 Jan 17 01:40 tiffdiff | |
| -rwxr-xr-x 1 root wheel 14888 Jan 17 01:48 tiffdither | |
| -rwxr-xr-x 1 root wheel 20936 Jan 17 01:48 tiffdump | |
| -rwxr-xr-x 1 root wheel 33584 Jan 17 01:40 tifficc | |
| -rwxr-xr-x 1 root wheel 16936 Jan 17 01:48 tiffinfo | |
| -rwxr-xr-x 1 root wheel 19936 Jan 17 01:48 tiffmedian | |
| -rwxr-xr-x 1 root wheel 14200 Jan 17 01:48 tiffset | |
| -rwxr-xr-x 1 root wheel 14864 Jan 17 01:48 tiffsplit | |
| -rwxr-xr-x 1 root wheel 4206 Jan 17 01:44 unix-lpr.sh | |
| -rwxr-xr-x 1 root wheel 323 Jan 17 01:44 wftopfa | |
| -rwxr-xr-x 1 root wheel 19552 Jan 17 01:46 wmf2eps | |
| -rwxr-xr-x 1 root wheel 19448 Jan 17 01:46 wmf2fig | |
| -rwxr-xr-x 1 root wheel 15280 Jan 17 01:46 wmf2gd | |
| -rwxr-xr-x 1 root wheel 15624 Jan 17 01:46 wmf2svg | |
| -rwxr-xr-x 1 root wheel 14776 Jan 17 01:39 wrjpgcom | |
| -rwxr-xr-x 1 root wheel 10496 Jan 17 01:40 wtpt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment