Skip to content

Instantly share code, notes, and snippets.

user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
user blah;
worker_processes 6;
error_log logs/error.log debug;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include conf/mime.types;
default_type application/octet-stream;
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
user deploy;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
} #events
deploy@linode:~/src$ jruby -v
jruby 1.3.0RC2 (ruby 1.8.6p287) (2009-05-30 6586) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_07) [amd64-java]
deploy@linode:~/src$ sudo jruby -S gem install rip
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d rip`
/opt/jruby/lib/ruby/1.8/fileutils.rb:1374:in `check_have_lchown?': wrong # of arguments(2 for 3) (ArgumentError)
from /opt/jruby/lib/ruby/1.8/fileutils.rb:1367:in `have_lchown?'
from /opt/jruby/lib/ruby/1.8/fileutils.rb:1222:in `chown'
cd ~/src
sudo apt-get build-dep squeak
sudo apt-get install squeak squeak-plugins
sudo apt-get install bc
wget http://seaside.gemstone.com/scripts/installGemstone2.3-Linux.sh
sudo chmod +x installGemstone2.3-Linux.sh
./installGemstone2.3-Linux.sh
source /opt/gemstone/product/seaside/defSeaside
$ sudo unicorn
I, [2009-07-10T14:55:01.031306 #4471] INFO -- : listening on addr=0.0.0.0:8080 fd=3
I, [2009-07-10T14:55:01.031896 #4471] INFO -- : worker=0 spawning...
I, [2009-07-10T14:55:01.035914 #4473] INFO -- : worker=0 spawned pid=4473
I, [2009-07-10T14:55:01.036396 #4473] INFO -- : Refreshing Gem list
I, [2009-07-10T14:55:01.039678 #4471] INFO -- : master process ready
./vendor/rack-0.9.1/lib/rack.rb:17: warning: already initialized constant VERSION
I, [2009-07-10T14:55:01.708897 #4473] INFO -- : worker=0 ready
self.get_fucked(work)
cd ~/src
apt-get install g++-multilib gcc-multilib build-essential m4 scons gtk-doc-tools gperf libenchant-dev libgail-dev libsoup2.4-dev libglib-dev libgstreamer0.10-0 totem-gstreamer totem-mozilla
curl -O http://builds.nightly.webkit.org/files/trunk/src/WebKit-r47189.tar.bz2
tar jxvf WebKit-r47189.tar.bz2
cd WebKit-r47189
emacs configure.ac
find LIBSOUP_REQUIRED_VERSION and make it say: "LIBSOUP_REQUIRED_VERSION=2.4.1"