From f7f17a29081324fa3f7c9b02d17df636827642d1 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 7 Oct 2014 19:00:55 -0400 Subject: [PATCH] added sidekiq gem and a route to /sidekiq (commented) for devel --- Gemfile | 9 +++++++-- config/routes.rb | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index f720116a..01dee73b 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem 'rails', '3.2.17' # gem 'rails', :git => 'git://github.com/rails/rails.git' #gem 'watir' -#gem 'phantomjs' +gem 'phantomjs' gem 'devise' gem 'redis', '2.2.2' @@ -17,9 +17,13 @@ gem 'formula' gem 'formtastic' gem 'json' gem 'rails3-jquery-autocomplete' -gem 'best_in_place' +gem 'best_in_place' #in-place editing gem 'kaminari' # pagination +gem 'sidekiq' # worker processes +gem 'sinatra', require: false +gem 'slim' + gem 'paperclip' gem 'aws-sdk' @@ -58,3 +62,4 @@ gem 'jquery-rails', '2.1.2' # To use debugger # gem 'ruby-debug19', :require => 'ruby-debug' + diff --git a/config/routes.rb b/config/routes.rb index ef03d2e8..ee0bd224 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,10 @@ +require 'sidekiq/web' + Metamaps::Application.routes.draw do root to: 'main#home', via: :get + + mount Sidekiq::Web, at: '/sidekiq' devise_scope :user do get "join" => "devise/registrations#new"