Skip to content

Instantly share code, notes, and snippets.

@jpablobr
Created August 30, 2008 07:47
Show Gist options
  • Save jpablobr/8099 to your computer and use it in GitHub Desktop.
Save jpablobr/8099 to your computer and use it in GitHub Desktop.
A master programmer passed a novice programmer one day. The master
noted the novice's preoccupation with a hand-held computer game. "Excuse me",
he said, "may I examine it?"
The novice bolted to attention and handed the device to the master.
"I see that the device claims to have three levels of play: Easy, Medium,
and Hard", said the master. "Yet every such device has another level of play,
where the device seeks not to conquer the human, nor to be conquered by the
human."
"Pray, great master," implored the novice, "how does one find this
mysterious setting?"
The master dropped the device to the ground and crushed it under foot.
And suddenly the novice was enlightened.
-- Geoffrey James, "The Tao of Programming"
root@pablo:~# gem update
Updating installed gems
Nothing to update
root@pablo:~# sprinkle -c -t -s sprinkle.rb
/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin/sprinkle:79: Sprinkle script is not readable: sprinkle.rb (RuntimeError)
from /usr/bin/sprinkle:19:in `load'
from /usr/bin/sprinkle:19
root@pablo:~# ssh root@209.20.83.95
root@209.20.83.95's password:
Last login: Fri Aug 29 09:45:37 2008 from 190.10.5.3
Linux decodedbits 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
root@decodedbits:~# apt-get update
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Hit http://security.ubuntu.com hardy-security Release.gpg
Hit http://archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/main Sources
Hit http://archive.ubuntu.com hardy/restricted Sources
Hit http://archive.ubuntu.com hardy/universe Sources
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Packages
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://archive.ubuntu.com hardy-updates/main Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Sources
Hit http://archive.ubuntu.com hardy-updates/universe Sources
Reading package lists... Done
root@decodedbits:~# apt-get update
Hit http://security.ubuntu.com hardy-security Release.gpg
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Hit http://security.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/main Sources
Hit http://archive.ubuntu.com hardy/restricted Sources
Hit http://archive.ubuntu.com hardy/universe Sources
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Packages
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://archive.ubuntu.com hardy-updates/main Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Sources
Hit http://archive.ubuntu.com hardy-updates/universe Sources
Reading package lists... Done
root@decodedbits:~# exit
logout
Connection to 209.20.83.95 closed.
root@pablo:~# ssh root@209.20.83.95
root@209.20.83.95's password:
Last login: Sat Aug 30 05:55:05 2008 from 190.10.5.3
Linux decodedbits 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
root@decodedbits:~# apt-get update
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Hit http://security.ubuntu.com hardy-security Release.gpg
Hit http://archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://archive.ubuntu.com hardy/restricted Sources
Hit http://archive.ubuntu.com hardy/universe Sources
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://archive.ubuntu.com hardy-updates/restricted Packages
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://archive.ubuntu.com hardy-updates/main Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Sources
Hit http://archive.ubuntu.com hardy-updates/universe Sources
Reading package lists... Done
root@decodedbits:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@decodedbits:~# exit
logout
Connection to 209.20.83.95 closed.
root@pablo:~# sprinkle -c -t -s sprinkle.rb
/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin/sprinkle:79: Sprinkle script is not readable: sprinkle.rb (RuntimeError)
from /usr/bin/sprinkle:19:in `load'
from /usr/bin/sprinkle:19
root@pablo:~# cd /usr/lib/ruby/gems/1.8/gems
root@pablo:/usr/lib/ruby/gems/1.8/gems# ls
actionmailer-2.1.0/ fastthread-1.0.1/ net-ssh-2.0.4/
actionpack-2.1.0/ gem_plugin-0.2.3/ net-ssh-gateway-1.0.0/
activerecord-2.1.0/ highline-1.4.0/ rails-2.1.0/
activeresource-2.1.0/ hoe-1.7.0/ rake-0.8.1/
activesupport-2.1.0/ mongrel-1.1.5/ rubyforge-1.0.0/
capistrano-2.5.0/ mysql-2.7/ sprinkle-0.1.5/
cgi_multipart_eof_fix-2.5.0/ net-scp-1.0.1/ sprinkle-0.1.6/
daemons-1.0.10/ net-sftp-2.0.1/
root@pablo:/usr/lib/ruby/gems/1.8/gems# cd sprinkle-0.1.6
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6# ls
CREDITS Manifest.txt bin/ lib/ sprinkle.gemspec
History.txt README.txt config/ script/ tasks/
MIT-LICENSE Rakefile examples/ spec/
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6# cd bin/
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin# ls
sprinkle*
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin# vim sprinkle
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin# sprinkle -c -t -s sprinkle.rb
/usr/bin/sprinkle:19:in `load': no such file to load -- Sprinkle (LoadError)
from /usr/bin/sprinkle:19
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin# sprinkle -c -t -s sprinkle.rb
/usr/bin/sprinkle:19: uninitialized constant Sprinkle (NameError)
root@pablo:/usr/lib/ruby/gems/1.8/gems/sprinkle-0.1.6/bin# cd
root@pablo:~# cd Desktop/
root@pablo:~/Desktop# cd downloads/
root@pablo:~/Desktop/downloads# ls
RealPlayer11GOLD.bin* ruby-gtk2-0.15.0-i486-1ivan.tgz
drivers/ rubygems-1.2.0/
install/ rubygems-1.2.0.tgz
install_flash_player_9_linux/ updates/
install_flash_player_9_linux.tar.gz usr/
package/ vlc-0.8.5-i686-3.tgz
root@pablo:~/Desktop/downloads# cd package/
root@pablo:~/Desktop/downloads/package# cd package/
root@pablo:~/Desktop/downloads/package/package# ls
README.txt screencast/ scripts/ sprinkle-0.1.5.gem
root@pablo:~/Desktop/downloads/package/package# cd scripts/
root@pablo:~/Desktop/downloads/package/package/scripts# sprinkle -c -t -s sprinkle.rb
/usr/bin/sprinkle:19: uninitialized constant Sprinkle (NameError)
root@pablo:~/Desktop/downloads/package/package/scripts# sprinkle -c -t -s sprinkle.rb
/usr/bin/sprinkle:19:in `load': no such file to load -- Sprinkle (LoadError)
from /usr/bin/sprinkle:19
root@pablo:~/Desktop/downloads/package/package/scripts# gem remove sprinkle
ERROR: While executing gem ... (RuntimeError)
Unknown command remove
root@pablo:~/Desktop/downloads/package/package/scripts# gem uninstall sprinkle
Select gem to uninstall:
1. sprinkle-0.1.5
2. sprinkle-0.1.6
3. All versions
> 3
Successfully uninstalled sprinkle-0.1.5
Successfully uninstalled sprinkle-0.1.6
root@pablo:~/Desktop/downloads/package/package/scripts# gem install --local sprinkle-0.1.5.gem
ERROR: could not find gem sprinkle-0.1.5.gem locally or in a repository
root@pablo:~/Desktop/downloads/package/package/scripts# cd ..
root@pablo:~/Desktop/downloads/package/package# gem install --local sprinkle-0.1.5.gem
Successfully installed sprinkle-0.1.5
1 gem installed
Installing ri documentation for sprinkle-0.1.5...
Installing RDoc documentation for sprinkle-0.1.5...
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
Could not find main page README.txt
root@pablo:~/Desktop/downloads/package/package# cd scripts/
root@pablo:~/Desktop/downloads/package/package/scripts# sprinkle -c -t -s sprinkle.rb
--> Cloud hierarchy for policy scootypuff
Policy scootypuff requires package sqlite3
Policy scootypuff requires package sqlite3_driver
Package sqlite3_driver requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Policy scootypuff requires package rails
Package rails requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Policy scootypuff requires package webserver
Selecting apache for virtual package webserver
Policy scootypuff requires package appserver
Selecting passenger for virtual package appserver
Package passenger requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Package passenger requires apache
Package passenger requires apache2_prefork_dev
Policy scootypuff requires package ruby_enterprise
Package ruby_enterprise requires build_essential
Package ruby_enterprise requires apache
--> Normalized installation order for all packages: sqlite3, build_essential, ruby, rubygems, sqlite3_driver, rails, apache, apache2_prefork_dev, passenger, ruby_enterprise
--> Verifying sqlite3 was properly installed for roles: app
--> Verifying build_essential was properly installed for roles: app
--> Checking if ruby is already installed for roles: app
--> ruby already installed for roles: app
--> Checking if rubygems is already installed for roles: app
--> rubygems already installed for roles: app
--> Verifying sqlite3_driver was properly installed for roles: app
--> Verifying rails was properly installed for roles: app
--> Verifying apache was properly installed for roles: app
--> Verifying apache2_prefork_dev was properly installed for roles: app
--> Checking if passenger is already installed for roles: app
--> passenger already installed for roles: app
--> Checking if ruby_enterprise is already installed for roles: app
--> ruby_enterprise already installed for roles: app
root@pablo:~/Desktop/downloads/package/package/scripts# sprinkle -c -s sprinkle.rb
--> Cloud hierarchy for policy scootypuff
Policy scootypuff requires package sqlite3
Policy scootypuff requires package sqlite3_driver
Package sqlite3_driver requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Policy scootypuff requires package rails
Package rails requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Policy scootypuff requires package webserver
Selecting apache for virtual package webserver
Policy scootypuff requires package appserver
Selecting passenger for virtual package appserver
Package passenger requires rubygems
Package rubygems requires build_essential
Package rubygems requires ruby
Package passenger requires apache
Package passenger requires apache2_prefork_dev
Policy scootypuff requires package ruby_enterprise
Package ruby_enterprise requires build_essential
Package ruby_enterprise requires apache
--> Normalized installation order for all packages: sqlite3, build_essential, ruby, rubygems, sqlite3_driver, rails, apache, apache2_prefork_dev, passenger, ruby_enterprise
--> Installing sqlite3 for roles: app
--> Verifying sqlite3 was properly installed for roles: app
--> Installing build_essential for roles: app
--> Verifying build_essential was properly installed for roles: app
--> Checking if ruby is already installed for roles: app
--> Verifying binaries...
--> Installing ruby for roles: app
--> Verifying ruby was properly installed for roles: app
--> Verifying binaries...
--> Checking if rubygems is already installed for roles: app
--> Verifying binary...
--> Installing rubygems for roles: app
--> Verifying rubygems was properly installed for roles: app
--> Verifying binary...
--> Installing sqlite3_driver for roles: app
--> Verifying sqlite3_driver was properly installed for roles: app
--> Installing rails for roles: app
--> Verifying rails was properly installed for roles: app
--> Installing apache for roles: app
--> Verifying apache was properly installed for roles: app
--> Installing apache2_prefork_dev for roles: app
--> Verifying apache2_prefork_dev was properly installed for roles: app
--> Checking if passenger is already installed for roles: app
--> Verifying passenger...
--> Installing passenger for roles: app
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for dummy_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for dummy_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for rb_queue_marshal_load
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for rb_queue_marshal_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for dummy_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for dummy_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for rb_queue_marshal_load
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] No definition for rb_queue_marshal_dump
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] ./doc/template/horo.rb:17: warning: already initialized constant FONTS
*** [err :: 209.20.83.95] ./doc/template/horo.rb:19: warning: already initialized constant STYLE
*** [err :: 209.20.83.95] ./doc/template/horo.rb:213: warning: already initialized constant XHTML_PREAMBLE
*** [err :: 209.20.83.95] ./doc/template/horo.rb:221: warning: already initialized constant HEADER
*** [err :: 209.20.83.95] ./doc/template/horo.rb:272: warning: already initialized constant FILE_PAGE
*** [err :: 209.20.83.95] ./doc/template/horo.rb:300: warning: already initialized constant CLASS_PAGE
*** [err :: 209.20.83.95] ./doc/template/horo.rb:338: warning: already initialized constant METHOD_LIST
*** [err :: 209.20.83.95] ./doc/template/horo.rb:486: warning: already initialized constant FOOTER
*** [err :: 209.20.83.95] ./doc/template/horo.rb:491: warning: already initialized constant BODY
*** [err :: 209.20.83.95] ./doc/template/horo.rb:503: warning: already initialized constant SRC_PAGE
*** [err :: 209.20.83.95] ./doc/template/horo.rb:531: warning: already initialized constant FR_INDEX_BODY
*** [err :: 209.20.83.95] ./doc/template/horo.rb:535: warning: already initialized constant FILE_INDEX
*** [err :: 209.20.83.95] ./doc/template/horo.rb:583: warning: already initialized constant CLASS_INDEX
*** [err :: 209.20.83.95] ./doc/template/horo.rb:584: warning: already initialized constant METHOD_INDEX
*** [err :: 209.20.83.95] ./doc/template/horo.rb:586: warning: already initialized constant INDEX
*** [err :: 209.20.83.95] rm -rf Utils.o Bucket.o Logging.o System.o Configuration.o Hooks.o mod_passenger.o mod_passenger.so ApplicationPoolServerExecutable
*** [err :: 209.20.83.95] make clean
*** [err :: 209.20.83.95] rm -f Makefile
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] rm -f libboost_thread.a *.o
*** [err :: 209.20.83.95] rm -f Apache2ModuleTests *.o
*** [err :: 209.20.83.95] rm -f DummyRequestHandler ApplicationPool
*** [err :: 209.20.83.95] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c *.cpp
*** [err :: 209.20.83.95] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/exceptions.cpp
*** [err :: 209.20.83.95] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/once.cpp
*** [err :: 209.20.83.95] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/thread.cpp
*** [err :: 209.20.83.95] ar cru libboost_thread.a *.o
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] ranlib libboost_thread.a
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c mod_passenger.c
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Utils.cpp
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Bucket.cpp
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Logging.cpp
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c System.cpp
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Configuration.cpp
*** [err :: 209.20.83.95] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Hooks.cpp
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] Hooks.cpp: In member function 'boost::shared_ptr<Passenger::TempFile> Hooks::receiveRequestBody(request_rec*)':
*** [err :: 209.20.83.95] Hooks.cpp:520: warning: comparison between signed and unsigned integer expressions
*** [err :: 209.20.83.95]
*** [err :: 209.20.83.95] g++ -shared Utils.o Bucket.o Logging.o System.o Configuration.o Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -lstdc++ -lpthread ../boost/src/libboost_thread.a -L/usr/lib -lapr-1
*** [err :: 209.20.83.95] g++ ApplicationPoolServerExecutable.cpp System.o Utils.o Logging.o -o ApplicationPoolServerExecutable -I.. -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -DPASSENGER_DEBUG ../boost/src/libboost_thread.a -lpthread
*** [err :: 209.20.83.95] /usr/bin/ruby1.8 extconf.rb
*** [err :: 209.20.83.95] make
*** [err :: 209.20.83.95] apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
*** [err :: 209.20.83.95] apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
--> Verifying passenger was properly installed for roles: app
--> Verifying passenger...
--> Checking if ruby_enterprise is already installed for roles: app
--> Verifying ruby_enterprise...
--> Installing ruby_enterprise for roles: app
--> Verifying ruby_enterprise was properly installed for roles: app
--> Verifying ruby_enterprise...
root@pablo:~/Desktop/downloads/package/package/scripts# gem install rails mongrel capistrano mysql
Successfully installed rails-2.1.0
Building native extensions. This could take a while...
Successfully installed mongrel-1.1.5
Successfully installed capistrano-2.5.0
Building native extensions. This could take a while...
Successfully installed mysql-2.7
4 gems installed
Installing ri documentation for mongrel-1.1.5...
Installing ri documentation for capistrano-2.5.0...
Installing RDoc documentation for mongrel-1.1.5...
Installing RDoc documentation for capistrano-2.5.0...
root@pablo:~/Desktop/downloads/package/package/scripts# sprinkle
Sprinkle
========
http://github.com/crafterm/sprinkle
Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to
install a Rails or Merb stack on a brand new slice directly after its been created. It uses
a Ruby based domain specific language to describe packages and policies to determine what
should be installed on particular systems.
Please see http://github.com/crafterm/sprinkle/tree/master/README.txt for more information.
Usage
=====
$> sprinkle [options]
Options are:
-s, --script=PATH Path to a sprinkle script to run
-t, --test Process but don't perform any actions
-v, --verbose Verbose output
-c, --cloud Show powder cloud, ie. package hierarchy and installation order
-f, --force Force installation of all packages even if it is detected that it has been previously installed
-h, --help Show this help message.
root@pablo:~/Desktop/downloads/package/package/scripts#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment