Skip to content

Instantly share code, notes, and snippets.

@abevoelker
Last active December 18, 2015 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abevoelker/5750689 to your computer and use it in GitHub Desktop.
Save abevoelker/5750689 to your computer and use it in GitHub Desktop.
Strange bug encountered with `ActionDispatch::Http::UploadedFile#read` returning empty string; see http://stackoverflow.com/questions/16840613/actiondispatchhttpuploadedfileread-returns-empty-string
--- /tmp/gems.before 2013-06-10 12:27:42.081147585 -0500
+++ /tmp/gems.after 2013-06-10 12:26:58.285146435 -0500
@@ -1,23 +1,24 @@
-actionmailer (3.2.11)
-actionpack (3.2.11)
+actionmailer (3.2.13)
+actionpack (3.2.13)
activeadmin (0.5.1)
activeadmin-mongoid (0.0.1)
-activemodel (3.2.11)
-activerecord (3.2.11)
-activeresource (3.2.11)
-activesupport (3.2.11)
+activemodel (3.2.13)
+activerecord (3.2.13)
+activeresource (3.2.13)
+activesupport (3.2.13)
addressable (2.3.4)
andand (1.3.3)
arbre (1.0.1)
arel (3.0.2)
bcrypt-ruby (3.0.1 java)
-better_errors (0.8.0)
+better_errors (0.9.0)
blockenspiel (0.4.5)
bootstrap-sass (2.0.3.1)
bourbon (2.1.1)
brahma (2.3.25)
builder (3.0.4)
bundler (1.3.4)
+callsite (0.0.11)
capistrano (2.5.21)
capistrano_colors (0.5.5)
capybara (2.1.0)
@@ -26,13 +27,13 @@
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.6.2)
-cucumber (1.2.1)
-cucumber-rails (1.3.0)
+cucumber (1.3.2)
+cucumber-rails (1.3.1)
data_mapper (0.9.2)
data_objects (0.10.12)
-database_cleaner (0.8.0)
+database_cleaner (1.0.1)
devise (2.1.3)
-diff-lcs (1.1.3)
+diff-lcs (1.2.4)
dm-aggregates (1.2.0)
dm-cli (0.10.0)
dm-core (1.2.1)
@@ -52,17 +53,17 @@
erubis (2.7.0)
eventmachine (1.0.3 java)
execjs (1.4.0)
-factory_girl (4.1.0)
-factory_girl_rails (4.1.0)
+factory_girl (4.2.0)
+factory_girl_rails (4.2.1)
fastercsv (1.5.5)
faye-websocket (0.4.7 java)
ffi (1.8.1 java)
forgery (0.5.0)
formatador (0.2.4)
formtastic (2.2.1)
-gherkin (2.11.6 java)
+gherkin (2.12.0 java)
guard (1.8.0)
-guard-jasmine (1.15.1)
+guard-jasmine (1.16.0)
haml (4.0.3)
haml-rails (0.4)
has_scope (0.5.1)
@@ -72,7 +73,7 @@
honey_badger (0.0.4)
http_parser.rb (0.5.3 java)
httparty (0.8.3)
-i18n (0.6.4)
+i18n (0.6.1)
inherited_resources (1.3.1)
jasminerice (0.0.10)
jdbc-postgres (9.1.901)
@@ -85,13 +86,13 @@
json_pure (1.7.7)
kaminari (0.14.1)
kramdown (1.0.1)
-launchy (2.2.0 java)
-letter_opener (1.1.0)
+launchy (2.3.0)
+letter_opener (1.1.1)
libnotify (0.8.0)
-listen (1.1.3)
+listen (1.1.4)
lumberjack (1.0.3)
-mail (2.4.4)
-meta_request (0.2.1)
+mail (2.5.4)
+meta_request (0.2.6)
meta_search (1.1.3)
method_source (0.8.1)
mime-types (1.23)
@@ -101,7 +102,7 @@
mongoid-locker (0.2.1)
mongoid3-sequence (0.0.1)
moped (1.4.2)
-multi_json (1.7.3)
+multi_json (1.7.4)
multi_xml (0.5.1)
nested_form (0.3.1)
net-scp (1.0.4)
@@ -123,8 +124,8 @@
rack-contrib (1.1.0)
rack-ssl (1.3.3)
rack-test (0.6.2)
-rails (3.2.11)
-railties (3.2.11)
+rails (3.2.13)
+railties (3.2.13)
rake (10.0.4)
rb-fchange (0.0.6)
rb-fsevent (0.9.3)
@@ -132,18 +133,17 @@
rb-kqueue (0.2.0)
rdoc (3.12.2)
responders (0.9.3)
-rspec (2.11.0)
-rspec-core (2.11.0)
-rspec-expectations (2.11.1)
-rspec-mocks (2.11.1)
-rspec-rails (2.11.0)
+rspec-core (2.13.1)
+rspec-expectations (2.13.0)
+rspec-mocks (2.13.1)
+rspec-rails (2.13.2)
rubyzip (0.9.9)
rvm-capistrano (1.2.5)
safe_yaml (0.6.3)
sass (3.1.19)
sass-rails (3.2.5)
select2-rails (3.3.1)
-selenium-webdriver (2.32.1)
+selenium-webdriver (2.33.0)
simple_form (2.0.4)
sinon-rails (1.4.2.1)
slop (3.4.5)
@@ -160,7 +160,7 @@
trinidad (1.4.4)
trinidad_daemon_extension (0.4.0)
trinidad_jars (1.2.3)
-tzinfo (0.3.35)
+tzinfo (0.3.37)
uglifier (1.2.5)
uuidtools (2.1.4)
versionomy (0.4.4)
diff --git a/Gemfile.lock b/Gemfile.lock
index 267c383..6b33c37 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -119,16 +119,16 @@ GEM
remote: http://rubygems.org/
specs:
- actionmailer (3.2.13)
- actionpack (= 3.2.13)
- mail (~> 2.5.3)
- actionpack (3.2.13)
- activemodel (= 3.2.13)
- activesupport (= 3.2.13)
+ actionmailer (3.2.11)
+ actionpack (= 3.2.11)
+ mail (~> 2.4.4)
+ actionpack (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
- rack (~> 1.4.5)
+ rack (~> 1.4.0)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
@@ -144,19 +144,19 @@ GEM
meta_search (>= 0.9.2)
rails (>= 3.0.0)
sass (>= 3.1.0)
- activemodel (3.2.13)
- activesupport (= 3.2.13)
+ activemodel (3.2.11)
+ activesupport (= 3.2.11)
builder (~> 3.0.0)
- activerecord (3.2.13)
- activemodel (= 3.2.13)
- activesupport (= 3.2.13)
+ activerecord (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
- activeresource (3.2.13)
- activemodel (= 3.2.13)
- activesupport (= 3.2.13)
- activesupport (3.2.13)
- i18n (= 0.6.1)
+ activeresource (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
+ activesupport (3.2.11)
+ i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.3.4)
andand (1.3.3)
@@ -165,7 +165,7 @@ GEM
arel (3.0.2)
bcrypt-ruby (3.0.1)
bcrypt-ruby (3.0.1-java)
- better_errors (0.9.0)
+ better_errors (0.8.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.1)
@@ -182,7 +182,6 @@ GEM
bson_ext (1.7.1)
bson (~> 1.7.1)
builder (3.0.4)
- callsite (0.0.11)
capistrano (2.5.21)
highline
net-scp (>= 1.0.0)
@@ -206,16 +205,15 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.6.2)
- cucumber (1.3.2)
+ cucumber (1.2.1)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
- gherkin (~> 2.12.0)
- multi_json (~> 1.3)
- cucumber-rails (1.3.1)
+ gherkin (~> 2.11.0)
+ json (>= 1.4.6)
+ cucumber-rails (1.3.0)
capybara (>= 1.1.2)
- cucumber (>= 1.2.0)
+ cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
- rails (~> 3.0)
data_mapper (0.9.2)
dm-aggregates (>= 0.9.2)
dm-cli (>= 0.9.2)
@@ -229,14 +227,14 @@ GEM
dm-validations (>= 0.9.2)
data_objects (0.10.12)
addressable (~> 2.1)
- database_cleaner (1.0.1)
+ database_cleaner (0.8.0)
debug_inspector (0.0.2)
devise (2.1.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
- diff-lcs (1.2.4)
+ diff-lcs (1.1.3)
dm-cli (0.10.0)
dm-core-ccap (0.1.1)
dm-core (>= 1.2.0)
@@ -257,10 +255,10 @@ GEM
eventmachine (1.0.3-java)
execjs (1.4.0)
multi_json (~> 1.0)
- factory_girl (4.2.0)
+ factory_girl (4.1.0)
activesupport (>= 3.0.0)
- factory_girl_rails (4.2.1)
- factory_girl (~> 4.2.0)
+ factory_girl_rails (4.1.0)
+ factory_girl (~> 4.1.0)
railties (>= 3.0.0)
fastercsv (1.5.5)
faye-websocket (0.4.7)
@@ -273,22 +271,21 @@ GEM
formatador (0.2.4)
formtastic (2.2.1)
actionpack (>= 3.0)
- gherkin (2.12.0)
- multi_json (~> 1.3)
- gherkin (2.12.0-java)
- multi_json (~> 1.3)
+ gherkin (2.11.6)
+ json (>= 1.7.6)
+ gherkin (2.11.6-java)
+ json (>= 1.7.6)
guard (1.8.0)
formatador (>= 0.2.4)
listen (>= 1.0.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
- guard-jasmine (1.16.0)
+ guard-jasmine (1.15.1)
childprocess
guard (>= 1.1.0)
multi_json
thor
- tilt
haml (4.0.3)
tilt
haml-rails (0.4)
@@ -305,7 +302,7 @@ GEM
httparty (0.8.3)
multi_json (~> 1.0)
multi_xml
- i18n (0.6.1)
+ i18n (0.6.4)
inherited_resources (1.3.1)
has_scope (~> 0.5.0)
responders (~> 0.6)
@@ -331,25 +328,28 @@ GEM
activesupport (>= 3.0.0)
kgio (2.8.0)
kramdown (1.0.1)
- launchy (2.3.0)
+ launchy (2.2.0)
+ addressable (~> 2.3)
+ launchy (2.2.0-java)
addressable (~> 2.3)
- letter_opener (1.1.1)
- launchy (~> 2.2)
+ spoon (~> 0.0.1)
+ letter_opener (1.1.0)
+ launchy (~> 2.2.0)
libnotify (0.8.0)
ffi (>= 1.0.11)
libv8 (3.11.8.17)
- listen (1.1.4)
+ listen (1.1.3)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
lumberjack (1.0.3)
- mail (2.5.4)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
- meta_request (0.2.6)
- callsite
+ meta_request (0.2.1)
rack-contrib
- railties
+ rails
meta_search (1.1.3)
actionpack (~> 3.1)
activerecord (~> 3.1)
@@ -371,7 +371,7 @@ GEM
mongoid-locker (0.2.1)
mongoid (>= 2.4, <= 3.1)
moped (1.4.2)
- multi_json (1.7.4)
+ multi_json (1.7.3)
multi_xml (0.5.1)
nested_form (0.3.1)
net-scp (1.0.4)
@@ -419,17 +419,17 @@ GEM
rack
rack-test (0.6.2)
rack (>= 1.0)
- rails (3.2.13)
- actionmailer (= 3.2.13)
- actionpack (= 3.2.13)
- activerecord (= 3.2.13)
- activeresource (= 3.2.13)
- activesupport (= 3.2.13)
+ rails (3.2.11)
+ actionmailer (= 3.2.11)
+ actionpack (= 3.2.11)
+ activerecord (= 3.2.11)
+ activeresource (= 3.2.11)
+ activesupport (= 3.2.11)
bundler (~> 1.0)
- railties (= 3.2.13)
- railties (3.2.13)
- actionpack (= 3.2.13)
- activesupport (= 3.2.13)
+ railties (= 3.2.11)
+ railties (3.2.11)
+ actionpack (= 3.2.11)
+ activesupport (= 3.2.11)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
@@ -449,17 +449,19 @@ GEM
ref (1.0.4)
responders (0.9.3)
railties (~> 3.1)
- rspec-core (2.13.1)
- rspec-expectations (2.13.0)
- diff-lcs (>= 1.1.3, < 2.0)
- rspec-mocks (2.13.1)
- rspec-rails (2.13.2)
+ rspec (2.11.0)
+ rspec-core (~> 2.11.0)
+ rspec-expectations (~> 2.11.0)
+ rspec-mocks (~> 2.11.0)
+ rspec-core (2.11.0)
+ rspec-expectations (2.11.1)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.11.1)
+ rspec-rails (2.11.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
- rspec-core (~> 2.13.0)
- rspec-expectations (~> 2.13.0)
- rspec-mocks (~> 2.13.0)
+ rspec (~> 2.11.0)
rubyzip (0.9.9)
rvm-capistrano (1.2.5)
capistrano (>= 2.0.0)
@@ -472,7 +474,7 @@ GEM
select2-rails (3.3.1)
sass-rails (>= 3.2)
thor (~> 0.14)
- selenium-webdriver (2.33.0)
+ selenium-webdriver (2.32.1)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
@@ -513,7 +515,7 @@ GEM
trinidad_daemon_extension (0.4.0)
trinidad (>= 1.3.5)
trinidad_jars (1.2.3)
- tzinfo (0.3.37)
+ tzinfo (0.3.35)
uglifier (1.2.5)
execjs (>= 0.3.0)
multi_json (~> 1.3)
@@ -539,7 +541,7 @@ PLATFORMS
DEPENDENCIES
activeadmin-mongoid!
andand (~> 1.3.3)
- better_errors (~> 0.9.0)
+ better_errors
binding_of_caller
bootstrap-sass (~> 2.0.3)
brahma (~> 2.3.25)
@@ -547,9 +549,9 @@ DEPENDENCIES
capistrano (~> 2.5.19)
capybara (~> 2.1.0)
coffee-rails (~> 3.2.1)
- cucumber-rails (~> 1.3.1)
+ cucumber-rails (~> 1.3.0)
data_mapper
- database_cleaner (~> 1.0.1)
+ database_cleaner (~> 0.8.0)
devise (~> 2.1.2)
dm-aggregates!
dm-core!
@@ -562,10 +564,10 @@ DEPENDENCIES
dm-transactions!
dm-types!
dm-validations!
- factory_girl_rails (~> 4.2.1)
+ factory_girl_rails (~> 4.1.0)
forgery (~> 0.5.0)
guard (~> 1.8.0)
- guard-jasmine (~> 1.16.0)
+ guard-jasmine (~> 1.15.1)
haml (~> 4.0.2)
haml-rails (~> 0.4)
honey_badger!
@@ -575,9 +577,9 @@ DEPENDENCIES
jquery-rails (~> 2.2.1)
jquery-ui-themes (~> 0.0.5)
kramdown (~> 1.0.1)
- letter_opener (~> 1.1.1)
+ letter_opener (~> 1.1.0)
libnotify (~> 0.8.0)
- meta_request (~> 0.2.6)
+ meta_request (= 0.2.1)
money-rails (~> 0.8.0)
mongoid (~> 3.1.0)
mongoid-locker (~> 0.2)
@@ -598,7 +600,7 @@ DEPENDENCIES
rspec-rails (~> 2.0)
sass-rails (~> 3.2.3)
select2-rails
- selenium-webdriver (~> 2.33.0)
+ selenium-webdriver (~> 2.32.1)
simple_form (~> 2.0.4)
sinon-rails (~> 1.4.2.1)
state_machine (~> 1.2.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment