Skip to content

Instantly share code, notes, and snippets.

View prathamesh-sonpatki's full-sized avatar
🏠
Working from home

प्रथमेश Sonpatki prathamesh-sonpatki

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am prathamesh-sonpatki on github.
  • I am prathamesh (https://keybase.io/prathamesh) on keybase.
  • I have a public key whose fingerprint is 887C F911 F763 FB4F BFB4 47AE 8B90 F6B8 9E2B CB71

To claim this, I am signing this object:

# Action Cable uses Redis by default to administer connections, channels, and sending/receiving messages over the WebSocket.
production:
adapter: redis
url: redis://localhost:6379/1
development:
adapter: async
test:
adapter: async
$ rails s
=> Booting Thin
=> Rails 5.0.0.beta2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
I am getting reloaded
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on localhost:3000, CTRL+C to stop
prathamesh ~/Projects/reproductions/cache_key_app 2.3.0
$ rails s
=> Booting Thin
=> Rails 5.0.0.beta2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
I am getting reloaded
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on localhost:3000, CTRL+C to stop
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/vagrant/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20160124-17861-92m5je.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
.........rake aborted!
ActiveRecord::ConnectionNotEstablished: No connection pool for ActiveRecord::InternalMetadata
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:878:in `retrieve_connection'
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/connection_handling.rb:87:in `connection'
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/internal_metadata.rb:30:in `block in table_exists?'
/Users/prathamesh/Projects/sources/rails/activesupport/lib/active_support/deprecation/reporting.rb:34:in `silence'
/Users/prathamesh/Projects/sources/rails/activesupport/lib/active_support/deprecation/instance_delegator.rb:19:in `silence'
/Users/prathamesh/Projects/sources/rails/activerecord/lib/active_record/internal_metadata.rb:30:in `table_exists?'
/Users/prathamesh/Projects/sources/rails/a
require File.expand_path('../boot', __FILE__)
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
#<Arel::SelectManager:0x007fcc66365c88 @ctx=#<Arel::Nodes::SelectCore:0x007fcc66365be8 @source=#<Arel::Nodes::JoinSource:0x007fcc66365b70 @left=#<Arel::Table:0x007fcc663ff900 @name="profiles", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Map:0x007fcc663ffa18 @types=Profile (call 'Profile.connection' to establish a connection)>, @table_alias=nil>, @right=[]>, @top=nil, @set_quantifier=nil, @projections=[#<struct Arel::Attributes::Attribute relation=#<Arel::Table:0x007fcc663ff900 @name="profiles", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Map:0x007fcc663ffa18 @types=Profile (call 'Profile.connection' to establish a connection)>, @table_alias=nil>, name="*">], @wheres=[#<Arel::Nodes::And:0x007fcc663653c8 @children=[#<Arel::Nodes::Equality:0x007fcc66365e40 @left=#<struct Arel::Attributes::Attribute relation=#<Arel::Table:0x007fcc66366868 @name="settings", @columns=nil, @aliases=[], @type_caster=#<ActiveRecord::TypeCaster::Connection:0x007fcc663668b8 @klass=Profile
$ bin/rails t
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from block in <module:MultiFetchFragments> at /Users/prathamesh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/multi_fetch_fragments-0.0.17/lib/multi_fetch_fragments.rb:5)
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/prathamesh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/devise-a321282ccc93/lib/devise/orm/active_record.rb:3)
/Users/prathamesh/Projects/sources/codetriage/config/initializers/git_hub_bub.rb:2: warning: already initialized constant GitHubBub::Request::USER_AGENT
/Users/prathamesh/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/git_hub_bub-0.0.6/lib/git_hub_bub/request.rb:7: warning: previous definition of USER_AGENT was here
/Users/prathamesh/Projects/sources/codetriage/config/in
$ be rake
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /Users/prathamesh/Projects/sources/maildown/test/dummy/config/environments/test.rb:16)
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /Users/prathamesh/Projects/sources/maildown/test/dummy/config/environments/test.rb:16)
/Users/prathamesh/Projects/sources/m