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
| (gdb) thread apply all bt | |
| Thread 5 (process 20277): | |
| #0 0x00007fff8df08ce2 in __pthread_kill () | |
| #1 0x00007fff915517d2 in pthread_kill () | |
| #2 0x0000000100831b46 in abort () at state.cpp:219 | |
| #3 0x000000010001ccfb in bert::Decoder<bert::IOReader>::convert_term (this=0x111483b98, term=0x6) at bert.hpp:846 | |
| #4 0x000000010001a9d6 in bert::Decoder<bert::IOReader>::next_value () at /Users/james/.rvm/src/rbx-head/vm/util/bert.hpp:1087 | |
| #5 0x000000010001a9d6 in rubinius::QueryAgent::process_commands (this=0x11032f230, client=@0x6) at bert.hpp:368 | |
| #6 0x000000010001b28a in rubinius::QueryAgent::perform (this=0x111483ef0) at agent.cpp:572 |
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
| #0 0x00007fff8df08ce2 in __pthread_kill () | |
| #1 0x00007fff915517d2 in pthread_kill () | |
| #2 0x0000000100831b46 in abort () at state.cpp:219 | |
| #3 0x000000010001ccfb in bert::Decoder<bert::IOReader>::convert_term (this=0x111483b98, term=0x6) at bert.hpp:846 | |
| #4 0x000000010001a9d6 in bert::Decoder<bert::IOReader>::next_value () at /Users/james/.rvm/src/rbx-head/vm/util/bert.hpp:1087 | |
| #5 0x000000010001a9d6 in rubinius::QueryAgent::process_commands (this=0x11032f230, client=@0x6) at bert.hpp:368 | |
| #6 0x000000010001b28a in rubinius::QueryAgent::perform (this=0x111483ef0) at agent.cpp:572 | |
| #7 0x0000000100026e95 in thread::Thread::trampoline (arg=0x11032f230) at thread.hpp:76 | |
| #8 0x00007fff9154f8bf in _pthread_start () | |
| #9 0x00007fff91552b75 in thread_start () |
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
| % rbenv install 1.9.3-p194 | |
| Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz... | |
| Installing yaml-0.1.4... | |
| Installed yaml-0.1.4 to /home/deploy/.rbenv/versions/1.9.3-p194 | |
| Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz... | |
| Installing ruby-1.9.3-p194... | |
| Installed ruby-1.9.3-p194 to /home/deploy/.rbenv/versions/1.9.3-p194 | |
| ruby: no such file to load -- ubygems (LoadError) |
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
| % rbenv install 1.9.3-p194 | |
| Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz... | |
| Installing yaml-0.1.4... | |
| Installed yaml-0.1.4 to /home/deploy/.rbenv/versions/1.9.3-p194 | |
| Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz... | |
| Installing ruby-1.9.3-p194... | |
| Installed ruby-1.9.3-p194 to /home/deploy/.rbenv/versions/1.9.3-p194 | |
| ruby: no such file to load -- ubygems (LoadError) |
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
| gem 'ruby-debug19', '0.11.6', :require => 'ruby-debug' | |
| # FIXME: forcing rdebug to work on 1.9.3 | |
| gem 'linecache19', '0.5.13' | |
| gem 'ruby-debug-base19', '0.11.26' |
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
| remote: /data/github/current/lib/github/config/resque.rb:27: undefined method `constantize' for "GitHub::Jobs::CacheRef":String (NoMethodError) | |
| remote: from /data/github/current/lib/github/config/resque.rb:26:in `each' | |
| remote: from /data/github/current/lib/github/config/resque.rb:26 | |
| remote: from /data/github/current/lib/rock_queue.rb:9:in `require' | |
| remote: from /data/github/current/lib/rock_queue.rb:9 | |
| remote: from hooks/post-receive:27:in `require' | |
| remote: from hooks/post-receive:27 |
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
| function setNP(str) { | |
| window.nowPlaying = str; | |
| } | |
| function nowPlaying() { | |
| return window.nowPlaying; | |
| } | |
| setTimeout(updateGrowl, 1000); |
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
| RAILSPID=`ps -ef|grep rails|grep -v grep|awk '{ print $2 }'` | |
| if [ -n $RAILSPID ]; then | |
| kill -9 $RAILSPID | |
| fi |
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 | |
| has_one :image | |
| def process_stuff | |
| img = Image.first | |
| img.with_temp_file('/path/to/tmpfile') do |tf| | |
| tf.rotate |
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
| write(1, "ree-1.8.7-2011.03 :13422 > ", 29) = -1 EIO (Input/output error) | |
| rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 | |
| rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 | |
| select(2, [0], [], [], {16, 522108}) = 1 (in [0], left {16, 522108}) | |
| select(1, [0], NULL, [0], {0, 100000}) = 1 (in [0], left {0, 100000}) | |
| ioctl(0, FIONREAD, [0]) = -1 EIO (Input/output error) | |
| write(1, "\n", 1) = -1 EIO (Input/output error) | |
| rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 | |
| ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff8dd1d710) = -1 EIO (Input/output error) | |
| ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B9600 opost isig icanon echo ...}) = -1 EIO (Input/output error) |