Skip to content

Instantly share code, notes, and snippets.

View tal-moshayov's full-sized avatar

Tal Mor tal-moshayov

View GitHub Profile
File "/usr/dev/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/request_forgery_protection.rb" line 128 in handle_unverified_request
File "/usr/dev/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/request_forgery_protection.rb" line 209 in handle_unverified_request
File "/usr/dev/bundle/ruby/2.2.0/gems/devise-3.5.1/lib/devise/controllers/helpers.rb" line 251 in handle_unverified_request
File "/usr/dev/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/request_forgery_protection.rb" line 204 in verify_authenticity_token
File "/usr/dev/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb" line 430 in block in make_lambda
File "/usr/dev/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb" line 162 in call
File "/usr/dev/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb" line 162 in block in halting
File "/usr/dev/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb" l
workers Integer(ENV['PUMA_WORKERS'] || 2)
threads Integer(ENV['PUMA_MIN_THREADS'] || 1), Integer(ENV['PUMA_MAX_THREADS'] || 6)
preload_app!
port ENV['PUMA_PORT'] || 3000
environment ENV['RACK_ENV'] || 'development'
@tal-moshayov
tal-moshayov / wercker.yml
Created June 9, 2015 14:50
Error parsing your wercker.yml: yaml: line 44: mapping values are not allowed in this context
box:
id: siloco/rails-box
username: $DOCKERHUB_USR
password: $DOCKERHUB_PWD
tag: latest
build:
# services:
# - id: postgres
# env:
@tal-moshayov
tal-moshayov / gist:e4d05914f861eba7fbd7
Created June 9, 2015 08:33
oh-my-zsh error when running via Dockerfile
tep 5 : RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
---> Running in 3502f0a0f03a
converted 'https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh' (ANSI_X3.4-1968) -> 'https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh' (UTF-8)
--2015-06-09 08:28:40-- https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh
Resolving github.com (github.com)... 192.30.252.128
Connecting to github.com (github.com)|192.30.252.128|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh [following]
converted 'https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh' (UTF-8)
--2015-06-09 08:28:40-- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
@tal-moshayov
tal-moshayov / newrelic.yml
Created March 16, 2015 12:12
newrelic configuration file
common: &default_settings
license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>
app_name: Silo
monitor_mode: true
developer_mode: false
log_level: info
browser_monitoring:
auto_instrument: true