This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david@code:~/cloudfoundry/vcap/services/mysql/config$ vi mysql_node.yml | |
david@code:~/cloudfoundry/vcap/services/mysql/config$ cd ~/cloudfoundry/vcap | |
david@code:~/cloudfoundry/vcap$ sudo cp setup/simple.nginx.conf /etc/nginx/nginx.conf | |
david@code:~/cloudfoundry/vcap$ sudo /etc/init.d/nginx restart | |
Restarting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |
configuration file /etc/nginx/nginx.conf test is successful | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldconfig deferred processing now taking place | |
~/cloudfoundry/vcap ~/cloudfoundry/vcap | |
--2011-05-16 09:34:46-- http://nodejs.org/dist/node-v0.4.7.tar.gz | |
Resolving nodejs.org... 8.12.44.238 | |
Connecting to nodejs.org|8.12.44.238|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 5011520 (4.8M) [application/octet-stream] | |
Saving to: `node-v0.4.7.tar.gz' | |
100%[=============================================================>] 5,011,520 4.19M/s in 1.1s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david$ env ARCHFLAGS="-arch x86_64" gem install mysql2 | |
ERROR: While executing gem ... (Errno::EACCES) | |
Permission denied - /Users/david/.rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/.gitignore | |
SilverBullet:ror david$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing mysql2: | |
ERROR: Failed to build gem native extension. | |
/Users/david/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ make | |
gcc -shared -o readline.so readline.o -L. -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/usr/lib -Wl,-R/home/david/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -lruby -lreadline -lncurses -lpthread -lrt -ldl -lcrypt -lm -lc | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ sudo make install | |
[sudo] password for david: | |
/usr/bin/install -c -m 0755 readline.so /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-linux | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ cd /var/www/ror | |
david@code:/var/www/ror$ rails console | |
Loading development environment (Rails 3.1.0.beta1) | |
1.9.2 :001 > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /home/david/.rvm/rubies/ruby-1.9.2-p180/gems/passenger-3.0.7/ext/apache2/mod_passenger.so | |
<IfModule passenger_module> | |
PassengerRoot /home/david/.rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7 | |
PassengerRuby /home/david/.rvm/wrappers/ruby-1.9.2-p180/ruby | |
</IfModule> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 | |
PassengerRuby /usr/bin/ruby1.8 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking for required software... | |
* GNU C++ compiler... found at /usr/bin/g++ | |
* Curl development headers with SSL support... found | |
* OpenSSL development headers... found | |
* Zlib development headers... found | |
* Ruby development headers... found | |
* OpenSSL support for Ruby... found | |
* RubyGems... found | |
* Rake... found at /home/david/.rvm/wrappers/ruby-1.9.2-p180@ror31/rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r31: | |
system: | |
uname: "Linux code.davidawindham.com 2.6.18-028stab089.1 #1 SMP Thu Apr 14 13:46:04 MSD 2011 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)" | |
zsh: "/usr/bin/zsh => zsh 4.3.10 (x86_64-unknown-linux-gnu)" | |
rvm: | |
version: "rvm 1.6.9 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]" |
NewerOlder