This file contains hidden or 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
| sudo find /var/tmp/ -name "ruby_sess*" -cmin +60 -exec rm \{} \; |
This file contains hidden or 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
| sudo ps -axwwo pid,command | grep mongrel_rails |
This file contains hidden or 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
| add_recipe 'hugo_deploy', :hugo => { | |
| :apps => [ | |
| :app => { | |
| :name => 'jackhq.com', | |
| :url => 'www.jackhq.com', | |
| :branch => 'master', | |
| :migration_command => '', | |
| :migrate => false, | |
| :web => { | |
| :port => '8080', |
This file contains hidden or 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
| chmod 0600 ~/.ec2/ec2-keypair |
This file contains hidden or 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
| DEBUG: Ran cp -RPp /home/ubuntu/apps/example.com/shared/cached-copy/. /home/ubuntu/apps/example.com/releases/20100407215512 returned 0 | |
| INFO: ensuring proper ownership | |
| INFO: Making pre-migration symlinks: config/database.yml => config/database.yml | |
| ERROR: deploy[/home/ubuntu/apps/example.com] (/home/ubuntu/hugo-repos/site-cookbooks/hugo_deploy/recipes/default.rb line 41) had an error: | |
| No such file or directory - /home/ubuntu/apps/example.com/shared/config/database.yml or /home/ubuntu/apps/example.com/releases/20100407215512/config/database.yml | |
| /usr/lib/ruby/1.8/fileutils.rb:338:in `symlink' | |
| /usr/lib/ruby/1.8/fileutils.rb:338:in `ln_s' | |
| /usr/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' | |
| /usr/lib/ruby/1.8/fileutils.rb:336:in `ln_s' | |
| /usr/lib/ruby/1.8/fileutils.rb:359:in `ln_sf' |
This file contains hidden or 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
| find . -type f -exec grep -il "example text" {} \; |
This file contains hidden or 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
| ~/boxes $ vagrant init | |
| /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle: dlopen(/usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle, 9): no suitable image found. Did find: (LoadError) | |
| /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle: mach-o, but wrong architecture - /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle | |
| from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
| from /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi.rb:8 | |
| from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
| from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
| from /usr/local/lib/ruby/gems/1.8/gems/virtualbox-0.6.0/lib/virtualbox/com/ffi/interface.rb:1 | |
| from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
| from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' |
This file contains hidden or 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
| ~/boxes $ file /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMC.dylib | |
| /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMC.dylib: Mach-O universal binary with 2 architectures | |
| /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMC.dylib (for architecture i386): Mach-O dynamically linked shared library i386 | |
| /Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOMC.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 |
This file contains hidden or 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
| ~ $ sudo gem install vagrant --no-ri --no-rdoc | |
| Password: | |
| Building native extensions. This could take a while... | |
| Successfully installed ffi-0.6.3 | |
| Successfully installed virtualbox-0.6.0 | |
| Successfully installed net-ssh-2.0.21 | |
| Successfully installed net-scp-1.0.2 | |
| Successfully installed json_pure-1.2.4 | |
| Successfully installed archive-tar-minitar-0.5.2 | |
| Successfully installed mario-0.0.6 |
This file contains hidden or 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
| Vagrant::Config.run do |config| | |
| config.vm.box = "karmic" | |
| config.vm.provisioner = :chef_solo | |
| config.chef.cookbooks_path = [ | |
| "cookbooks", | |
| "~/code/hugo-cookbooks/site-cookbooks" | |
| ] | |
| config.chef.add_recipe("gems") |
OlderNewer