Skip to content

Instantly share code, notes, and snippets.

@ashleygwilliams
Last active August 29, 2015 14:21
Show Gist options
  • Save ashleygwilliams/460e6eb1a1b4f052e673 to your computer and use it in GitHub Desktop.
Save ashleygwilliams/460e6eb1a1b4f052e673 to your computer and use it in GitHub Desktop.
sinatra-contrib-1.8.7-rake-errors
Failures:
1) Sinatra::RespondWith Helpers#respond_with templates looks for templates with name.target.engine
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:194
2) Sinatra::RespondWith Helpers#respond_with templates looks for templates with name.engine for specific engines
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:200
3) Sinatra::RespondWith Helpers#respond_with templates does not use name.engine for engines producing other formats
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:206
4) Sinatra::RespondWith Helpers#respond_with templates falls back to #json if no template is found
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:213
5) Sinatra::RespondWith Helpers#respond_with templates favors templates over #json
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:219
6) Sinatra::RespondWith Helpers#respond_with templates falls back to to_EXT if no template is found
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:227
7) Sinatra::RespondWith Helpers#respond_with templates uses yajl for json
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:234
8) Sinatra::RespondWith Helpers#respond_with customizing falls back to default behavior if none matches
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } }
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:27:in `GET /'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:249
9) Sinatra::RespondWith Helpers#respond_with inherited registers RespondWith in an inherited app
Failure/Error: respond_with :json
LoadError:
no such file to load -- rdoc
# ./lib/sinatra/respond_with.rb:180:in `template_for'
# ./lib/sinatra/respond_with.rb:175:in `each'
# ./lib/sinatra/respond_with.rb:175:in `template_for'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:137:in `respond_with'
# ./lib/sinatra/respond_with.rb:113:in `call'
# ./lib/sinatra/respond_with.rb:113:in `finish'
# ./lib/sinatra/respond_with.rb:112:in `each'
# ./lib/sinatra/respond_with.rb:112:in `finish'
# ./lib/sinatra/respond_with.rb:157:in `respond_with'
# ./spec/respond_with_spec.rb:268:in `GET /a'
# ./spec/respond_with_spec.rb:33:in `req'
# ./spec/respond_with_spec.rb:273
source "https://rubygems.org" unless ENV['QUICK']
gemspec
gem 'sinatra', :github => 'sinatra/sinatra'
gem 'temple', :github => 'zzak/temple', :branch => '0-6-patched'
group :development, :test do
platform :ruby_18, :jruby do
gem 'json'
end
platform :ruby do
gem 'execjs', '2.0.0'
gem 'nokogiri', '1.5.10'
gem 'redcarpet', '2.3.0'
gem 'slim', '2.1.0'
gem 'liquid', '2.6.2'
gem 'yajl-ruby'
end
gem 'multi_json'
end
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
github = "git://github.com/%s.git"
repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
%w[tilt rack].each do |lib|
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
dep = nil if dep == 'stable'
dep = {:git => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
gem lib, dep unless dep
end
Finished in 9.95 seconds
829 examples, 9 failures
Failed examples:
rspec ./spec/respond_with_spec.rb:192 # Sinatra::RespondWith Helpers#respond_with templates looks for templates with name.target.engine
rspec ./spec/respond_with_spec.rb:198 # Sinatra::RespondWith Helpers#respond_with templates looks for templates with name.engine for specific engines
rspec ./spec/respond_with_spec.rb:204 # Sinatra::RespondWith Helpers#respond_with templates does not use name.engine for engines producing other formats
rspec ./spec/respond_with_spec.rb:211 # Sinatra::RespondWith Helpers#respond_with templates falls back to #json if no template is found
rspec ./spec/respond_with_spec.rb:217 # Sinatra::RespondWith Helpers#respond_with templates favors templates over #json
rspec ./spec/respond_with_spec.rb:223 # Sinatra::RespondWith Helpers#respond_with templates falls back to to_EXT if no template is found
rspec ./spec/respond_with_spec.rb:232 # Sinatra::RespondWith Helpers#respond_with templates uses yajl for json
rspec ./spec/respond_with_spec.rb:247 # Sinatra::RespondWith Helpers#respond_with customizing falls back to default behavior if none matches
rspec ./spec/respond_with_spec.rb:261 # Sinatra::RespondWith Helpers#respond_with inherited registers RespondWith in an inherited app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment