Skip to content

Instantly share code, notes, and snippets.

@driv3r
Created September 24, 2012 19:00
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 driv3r/3777644 to your computer and use it in GitHub Desktop.
Save driv3r/3777644 to your computer and use it in GitHub Desktop.
sidekiq error
source 'http://rubygems.org'
gem 'rails'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
gem 'sidekiq'
gem 'sinatra'
gem 'slim'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails'
gem 'coffee-rails'
gem 'uglifier'
gem 'therubyracer'
end
gem 'jquery-rails'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
group :test do
# Pretty printed test output
gem 'turn', :require => false
end
require 'sidekiq/web'
Workling::Application.routes.draw do
mount Sidekiq::Web, at: "/sidekiq"
end
NoMethodError - undefined method `join' for #<String:0x000000044bf740>:
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/bundler/gems/sidekiq-729321b1fef0/web/views/index.slim:11:in `evaluate_source'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `instance_eval'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `evaluate_source'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3/lib/tilt/template.rb:144:in `cached_evaluate'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3/lib/tilt/template.rb:127:in `evaluate'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:686:in `render'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:640:in `slim'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/bundler/gems/sidekiq-729321b1fef0/lib/sidekiq/web.rb:134:in `block in <class:Web>'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `block in compile!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (3 levels) in route!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (2 levels) in route!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `block in process_route'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `process_route'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:834:in `block in route!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `each'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `route!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:936:in `dispatch!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `block in call!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `block in invoke'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `catch'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `invoke'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `call!'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:755:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/bundler/gems/sidekiq-729321b1fef0/lib/sidekiq/web.rb:26:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb:21:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `block in call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:1471:in `synchronize'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__3974146253505698351__call__1942178242478857637__callbacks'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
/home/driv3r/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
/home/driv3r/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/driv3r/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/driv3r/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Started GET "/sidekiq/" for 127.0.0.1 at 2012-09-24 20:55:52 +0200
Started GET "/sidekiq/__sinatra__/500.png" for 127.0.0.1 at 2012-09-24 20:55:52 +0200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment