Skip to content

Instantly share code, notes, and snippets.

Avatar
💪
never stop coding

Phlegx Systems OG phlegx

💪
never stop coding
View GitHub Profile
View gist:822119
deployer@hostname:~$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
-sh: syntax error near unexpected token `
View gist:836201
can't convert nil into String
Extracted source (around line #47):
44: </p>
45:
46: <p>
47: <%= image_tag(@customer_setting.image_url(:thumb)) if @customer_setting.image?%><br/>
48: <p/>
49: </fieldset>
View gist:836239
# Error
can't convert nil into String
Extracted source (around line 47 </a>):
44: </p>
45:
46: <p>
47: <%= image_tag(@customer_setting.image_url(:thumb)) if @customer_setting.image?%><br/>
48: <p/>
View gist:898572
/home/user/.rvm/gems/ruby-1.9.2-p136@freerelictest/bundler/gems/FreeRelic-c474d8287bac/app/controllers/free_relic/metrics_controller.rb:4:in `index'
actionpack (3.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.0.4) lib/abstract_controller/base.rb:150:in `process_action'
actionpack (3.0.4) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.0.4) lib/active_support/callbacks.rb:441:in `block in _run__624935462__process_action__607643079__callbacks'
activesupport (3.0.4) lib/active_support/callbacks.rb:220:in `block in _conditional_callback_around_27'
/home/user/.rvm/gems/ruby-1.9.2-p136@freerelictest/bundler/gems/FreeRelic-c474d8287bac/app/controllers/free_relic/base_controller.rb:24:in `block in mute_notifications'
/home/user/.rvm/gems/ruby-1.9.2-p136@freerelictest/bundler/gems/FreeRelic-c474d8287bac/lib/free_relic/mute_middleware.rb:7:in `mute!'
/home/user/
View gist:919768
/usr/local/bin/rvm: line 59: /home/projects/.rvm/scripts/rvm: No such file or directory
/usr/local/bin/rvm: line 59: /home/projects/.rvm/scripts/rvm: No such file or directory
/usr/local/bin/rvm: line 59: /home/projects/.rvm/scripts/rvm: No such file or directory
/usr/local/bin/rvm: line 47: 29274 Broken pipe echo "$rvm_prefix"
29275 Killed | grep -vq '\(\/\|\.\)$'
/usr/local/bin/rvm: line 59: /home/projects/.rvm/scripts/rvm: No such file or directory
/usr/local/bin/rvm: line 5: 29277 Killed grep '^\s*rvm .*$' "$rvmrc" > /dev/null 2>&1
/usr/local/bin/rvm: fork: Cannot allocate memory
View gist:935529
Resque.enqueue(CustomerMailer.customer_disabled(customer, nil, receiver).deliver)
## within the class:
class CustomerMailer < ActionMailer::Base
@queue = :mailer_queue
....
View gist:936643
Worker
username:8714 on mailer at 2011/04/22 15:18:00just now
Retry or Remove
Class
CustomerMailer
Arguments
"customer_enabled"
{"customer"=>{"created_at"=>"2011-04-22T02:50:44+02:00", "disable"=>false, "id"=>10, "name"=>"M", "restored_at"=>nil, "token"=>"kommer", "updated_at"=>"2011-04-22T15:17:57+02:00"}}
nil
@phlegx
phlegx / gist:937973
Created Apr 22, 2011
resque mailer error
View gist:937973
username:14741 on mailer at 2011/04/23 01:52:26just now
Retry or Remove
Class
CustomerMailer
Arguments
"customer_enabled"
{"customer"=>{"created_at"=>"2011-04-22T02:50:44+02:00", "disable"=>false, "id"=>10, "name"=>"M", "restored_at"=>nil, "token"=>"kommer", "updated_at"=>"2011-04-23T01:52:22+02:00"}}
nil
nil
@phlegx
phlegx / gist:1348316
Created Nov 8, 2011
sudo mulituser install fails with error
View gist:1348316
$rvm_path (/usr/local/rvm/scripts/rvm) does not exist.-bash: __rvm_teardown: command not found
#################################################################
ls -l /usr/local/rvm/scripts/rvm
-rwxrwxr-x 1 root rvm 3737 2011-11-08 17:20 /usr/local/rvm/scripts/rvm
#################################################################
ls -l /usr/local/rvm/ $HOME/.rvm
View gist:1355345
hudson@packaging:~$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
mkdir: cannot create directory `/usr/local/rvm': Permission denied