This file contains 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
module WalterSobchak | |
class GoogleCustomSearch | |
def initialize | |
@client = Google::APIClient.new( | |
key: configatron.google.api_key, authorization: nil) | |
@search = @client.discovered_api('customsearch') | |
end | |
def execute(q) | |
[1, 11, 21].inject([]) do |result, num| |
This file contains 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
NoMethodError - undefined method `getutc' for #<DateTime:0x000001058832f8>: | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/web_helpers.rb:93:in `relative_time' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/web/views/_workers.erb:19:in `block (2 levels) in singleton class' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/api.rb:430:in `call' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/api.rb:430:in `block (2 levels) in each' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/api.rb:426:in `each' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/api.rb:426:in `block in each' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:55:in `with' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq.rb:67:in `redis' | |
/Users/ngw/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.17.7/lib/sidekiq/api.rb:424:in `each' |
This file contains 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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
activesupport (4.0.3) | |
i18n (~> 0.6, >= 0.6.4) | |
minitest (~> 4.2) | |
multi_json (~> 1.3) | |
thread_safe (~> 0.1) | |
tzinfo (~> 0.3.37) | |
addressable (2.3.5) |
This file contains 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
chienandalusialocal:EngagementConsole ngw$ bundle exec puma | |
Puma starting in single mode... | |
* Version 2.8.1 (ruby 2.1.0-p0), codename: Sir Edmund Percival Hillary | |
* Min threads: 0, max threads: 16 | |
* Environment: development | |
Faraday::Builder is now Faraday::RackBuilder. | |
! Unable to load application | |
Terminating 4 actors... | |
/Users/ngw/.rvm/gems/ruby-2.1.0@conversation_flow_v2_0/gems/sidekiq-failures-0.3.0/lib/sidekiq/failures/middleware.rb:5:in `<class:Middleware>': uninitialized constant Sidekiq::Util (NameError) | |
from /Users/ngw/.rvm/gems/ruby-2.1.0@conversation_flow_v2_0/gems/sidekiq-failures-0.3.0/lib/sidekiq/failures/middleware.rb:4:in `<module:Failures>' |
This file contains 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
chienandalusialocal:EngagementConsole ngw$ cat Gemfile.lock | |
GIT | |
remote: git://github.com/rweng/jquery-datatables-rails.git | |
revision: 788a7b24caf8fe58a5493aa3f6a065879a9f752a | |
specs: | |
jquery-datatables-rails (1.12.2) | |
jquery-rails | |
sass-rails | |
GIT |
This file contains 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
source "https://rubygems.org" | |
gem "rails", "3.2.17" | |
gem "mysql2" | |
group :assets do | |
gem "sass-rails", "~> 3.2.6" | |
gem "coffee-rails", "~> 3.2.2" | |
gem "uglifier", ">= 1.3.0" | |
gem "bootstrap-sass", "~> 2.3.0.1" |
This file contains 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
Connecting to database specified by database.yml | |
Started GET "/" for 127.0.0.1 at 2014-04-08 12:00:29 +0200 | |
SystemStackError (stack level too deep): | |
bullet (4.8.0) lib/bullet/active_record3x.rb:10 | |
Rendered /Users/ngw/.rvm/gems/ruby-2.1.1@conversation_flow_v2_0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) |
This file contains 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
GIT | |
remote: git://github.com/mhfs/sidekiq-failures.git | |
revision: 0d3192fa188647a1cf9de4762392016ff0dbf19c | |
specs: | |
sidekiq-failures (0.3.0) | |
sidekiq (>= 2.14.0) | |
GIT | |
remote: git://github.com/rweng/jquery-datatables-rails.git | |
revision: 788a7b24caf8fe58a5493aa3f6a065879a9f752a |
This file contains 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
GIT | |
remote: git://github.com/mhfs/sidekiq-failures.git | |
revision: 0d3192fa188647a1cf9de4762392016ff0dbf19c | |
specs: | |
sidekiq-failures (0.3.0) | |
sidekiq (>= 2.14.0) | |
GIT | |
remote: git://github.com/rweng/jquery-datatables-rails.git | |
revision: 788a7b24caf8fe58a5493aa3f6a065879a9f752a |
This file contains 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
chienandalusialocal:EngagementConsole ngw$ bundle exec puma | |
Puma starting in single mode... | |
* Version 2.8.1 (ruby 2.1.1-p76), codename: Sir Edmund Percival Hillary | |
* Min threads: 0, max threads: 16 | |
* Environment: development | |
! Unable to load application | |
Terminating 4 actors... | |
/Users/ngw/.rvm/gems/ruby-2.1.1@conversation_flow_v2_0/gems/sidetiq-0.5.0/lib/sidetiq/handler.rb:4:in `<class:Handler>': uninitialized constant Sidekiq::ExceptionHandler (NameError) | |
from /Users/ngw/.rvm/gems/ruby-2.1.1@conversation_flow_v2_0/gems/sidetiq-0.5.0/lib/sidetiq/handler.rb:2:in `<module:Sidetiq>' | |
from /Users/ngw/.rvm/gems/ruby-2.1.1@conversation_flow_v2_0/gems/sidetiq-0.5.0/lib/sidetiq/handler.rb:1:in `<top (required)>' |
OlderNewer