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
| * executing `stage:restart_stage_rails' | |
| * executing "sudo /etc/init.d/httpd restart" | |
| servers: ["localhost"] | |
| [localhost] executing command | |
| ** [out :: localhost] Stopping httpd: [FAILED] | |
| ** [out :: localhost] | |
| ** [out :: localhost] Starting httpd: | |
| ** [out :: localhost] [Wed Oct 05 22:21:35 2011] [warn] NameVirtualHost *:80 has no VirtualHosts | |
| ** [out :: localhost] (98)Address already in use: make_sock: could not bind to address [::]:7004 | |
| ** [out :: localhost] (98)Address already in use: make_sock: could not bind to address 0.0.0.0:7004 |
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
| module Skype | |
| extend self | |
| GROUPS = { | |
| :city => '#bennygilt/$f5558ce446c1793f', | |
| :city_announcements => '#swimming_bird/$877f4e5a36f23a8d' | |
| } | |
| def invoke cmd, name | |
| oas = ['osascript'] | |
| oas << %q{-e 'tell application "Skype"'} |
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
| class Foo | |
| def t | |
| puts "Foo" | |
| end | |
| end | |
| module T | |
| def t | |
| puts "T" | |
| super |
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
| $ type $(which ruby) ; file $(which ruby) | |
| ruby: not found | |
| aliased not found | |
| to not found | |
| _run-with-bundler is a shell function | |
| ruby is an alias for _run-with-bundler ruby | |
| ruby:: cannot open `ruby:' (No such file or directory) | |
| aliased: cannot open `aliased' (No such file or directory) | |
| to: cannot open `to' (No such file or directory) | |
| _run-with-bundler: cannot open `_run-with-bundler' (No such file or directory) |
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
| service :cityswift do | |
| requires :stack, :city_service | |
| start 'ant && bin/dev.sh' | |
| group :city | |
| dir '/web/cityswift' | |
| proc_match 'com.gilt.swift.svc.SwiftServer' # need to change this |
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
| /web/blackbird (master)$ rvm --trace jruby exec rackup config.ru | |
| + [[ -n '' ]] | |
| + export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
| + PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
| + /scripts/cli : __rvm_parse_args() 709 > [[ -z '' ]] | |
| + /scripts/cli : __rvm_parse_args() 709 > [[ -n '' ]] | |
| + /scripts/cli : __rvm_parse_args() 711 > [[ 0 -eq 1 ]] | |
| + /scripts/cli : __rvm_parse_args() 711 > [[ -n '' ]] | |
| + /scripts/cli : __rvm_parse_args() 18 > [[ -n jruby ]] | |
| + /scripts/cli : __rvm_parse_args() 20 > rvm_token=jruby |
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
| /web/blackbird (master)$ rvm jruby exec rackup config.ru | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem rack (>= 0) (Gem::LoadError) | |
| from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:in `activate' | |
| from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem' | |
| from /usr/bin/rackup:18 | |
| /web/blackbird (master)$ rvm current | |
| jruby-1.6.3 | |
| /web/blackbird (master)$ gem install rack | |
| Warning: JRuby home "/Users/tatlas/.rvm/rubies/jruby-1.6.2" does not exist, using /var/folders/rx/rx4LWfIRGeGhnQFdIKPb3pzFZsc/-Tmp-/ | |
| LoadError: no such file to load -- rubygems |
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
| _ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_load_path rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_require rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_scripts_path rvm_sdk rvm_user_install_flag rvm_silent_flag rvm_src_path rvm_sticky_flag rvm_system_flag rvm_tmp_path rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_user_path rvm_usr_path rvm_verbose_flag rvm_wrapper_name rvm_wrappers_path rvm_ruby_repo_branch rvm_man_path | |
| ++ /scripts/base : 29 > case "rvm_base_except" in | |
| ++ /scripts/base : 34 > source /Users/tatlas/.rvm/scripts/selector | |
| ++ /scripts/base : 40 > scripts=(logging utility init cleanup env rvmrc install environment |
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
| class Abc | |
| def foo *args | |
| puts 'foo', args | |
| end | |
| def run | |
| load '2.rb' | |
| end | |
| end |
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
| [alias] | |
| co = checkout | |
| ci = commit | |
| s = status -sb | |
| revert-to = read-tree -u -m HEAD | |
| sd = svn dcommit | |
| sr = svn rebase | |
| br = branch | |
| df = diff | |
| ff = rebase --stat @{upstream} |