Skip to content

Instantly share code, notes, and snippets.

Vokhmin Aleksei V avokhmin

Block or report user

Report or block avokhmin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f2b500b7761d0387d280
$ BUNDLE_GEMFILE=gemfiles/rails3.gemfile bundle exec rake
/Users/avokhmin/.rvm/rubies/jruby-src-1.7.19/bin/jruby -w -I"lib:test" -I"/Users/avokhmin/.rvm/gems/jruby-src-1.7.19@dalli/gems/rake-10.4.2/lib" "/Users/avokhmin/.rvm/gems/jruby-src-1.7.19@dalli/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/**/test_*.rb"
Testing with Rails 3.2.21
Using standard socket IO (jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.6.0_51-b11-457 +jit [darwin-x86_64])
Run options: --seed 13597
# Running tests:
Found memcached 1.4.20 in PATH
............#<Errno::ECHILD: No child processes - No child processes>
@avokhmin
avokhmin / gist:5142138
Last active Dec 14, 2015
/etc/nginx/nginx.conf
View gist:5142138
user rosa;
worker_processes 2;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
@avokhmin
avokhmin / gist:5142123
Last active Dec 14, 2015
/etc/nginx/conf.d/rosa_build.conf
View gist:5142123
upstream rosa_build_backend {
# server 127.0.0.1:8080;
server unix:/tmp/rosa_build_unicorn.sock;
}
server {
listen 80;
server_name 127.0.0.1;
root /srv/rosa_build/current/public;
@avokhmin
avokhmin / gist:5110842
Last active Dec 14, 2015
Startup Redis server
View gist:5110842
#!/bin/bash
# From here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/
# Based on: https://github.com/saxenap/install-redis-amazon-linux-centos
# Thanks to https://raw.github.com/gist/2776679/b4f5f5ff85bddfa9e07664de4e8ccf0e115e7b83/install-redis.sh
# Uses redis-server init script from https://raw.github.com/saxenap/install-redis-amazon-linux-centos/master/redis-server
###############################################
# To use:
## wget https://raw.github.com/jorgerc/install-redis-amazon-linux-centos/master/redis-install-script.sh
## chmod 777 redis-install-script.sh
## ./redis-install-script.sh
You can’t perform that action at this time.