Skip to content

Instantly share code, notes, and snippets.

View jberkel's full-sized avatar

Jan Berkel jberkel

View GitHub Profile
I/dalvikvm( 937): Failed resolving Lorg/jruby/util/SunSignalFacade$JRubySignalHandler; interface 6015 'Lsun/misc/SignalHandler;'
W/dalvikvm( 937): Link of class 'Lorg/jruby/util/SunSignalFacade$JRubySignalHandler;' failed
E/dalvikvm( 937): Could not find class 'sun.misc.Signal', referenced from method org.jruby.util.SunSignalFacade.trap
W/dalvikvm( 937): VFY: unable to resolve new-instance 6014 (Lsun/misc/Signal;) in Lorg/jruby/util/SunSignalFacade;
W/dalvikvm( 937): VFY: rejecting opcode 0x22 at 0x0000
W/dalvikvm( 937): VFY: rejected Lorg/jruby/util/SunSignalFacade;.trap (Lorg/jruby/Ruby;Lorg/jruby/util/SunSignalFacade$JRubySignalHandler;)Lorg/jruby/runtime/builtin/IRubyObject;
W/dalvikvm( 937): Verifier rejected class Lorg/jruby/util/SunSignalFacade;
D/dalvikvm( 937): GC freed 4773 objects / 399016 bytes in 179ms
W/System.err( 937): java.lang.ArrayIndexOutOfBoundsException
W/System.err( 937): at java.util.HugeEnumSet$HugeEnumSetIterator.next(HugeEnumSet.java:102)
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
+ result=0
+ case "$rvm_action" in
+ [[ ! -z 1.8.6 ]]
+ /Users/jan/.rvm/scripts/manage install 1.8.6
install 1.8.6 --patch /tmp/ruby186gc.patch --trace
rvm 0.1.12 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
Index: gc.c
===================================================================
--- gc.c (revision 12920)
+++ gc.c (working copy)
@@ -22,8 +22,16 @@
#include <setjmp.h>
#include <sys/types.h>
+#ifdef _WIN32
+#include <string.h>
diff --git a/scripts/manage b/scripts/manage
index 604ded0..56c7505 100755
--- a/scripts/manage
+++ b/scripts/manage
@@ -69,7 +69,7 @@ __rvm_install_source() {
if [[ ! -z "$rvm_ruby_patch" ]] ; then
for patch in $(echo $rvm_ruby_patch | tr ',' ' ') ; do
- patch -p1 $patch
+ patch -p1 < $patch || exit $?
#!/usr/bin/env ruby
#
#
(ARGV.empty? ? Dir['**/*.haml'] : ARGV).each do |f|
lines = IO.readlines(f)
new_lines = []
lines.each_with_index do |l, i|
if l.match(/^\s*=\s*/) && lines[i-1] !~ /^\s*[\/%.=#-]/ && lines[i-1] && lines[i-1].strip.size > 0 && l !~ /\s*=\s*render/
%p#copyright
Copyright © 2007-2010 SoundCloud Ltd. All rights reserved.
~ link_to("Community Guidelines", community_guidelines_path)
|
%a{:href => terms_and_conditions_path}Terms of Use
|
%a{:href => imprint_path} Imprint
module ActionController
module Session
class CookieStore
def load_session_with_logging(env)
# require 'pp'
# pp caller
load_session_without_logging(env)
end
for i in *; do pushd .; echo $i; cd "$i" && ([ -d '.git' ] && git pull); popd; done
diff -ruN debian/control debian_new/control
--- debian/control 2010-02-27 23:32:15.000000000 +0000
+++ debian_new/control 2010-03-06 21:26:18.000000000 +0000
@@ -4,25 +4,15 @@
Maintainer: Leo Costela <[email protected]>
Uploaders: Philipp Benner <[email protected]>
DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7), autotools-dev, libgtk2.0-dev, libevent-dev
- (>= 1.4), libglib2.0-dev, libnotify-dev, libssl-dev, libcurl4-dev |
- libcurl-dev, chrpath, intltool (>= 0.40), qt4-qmake, libqt4-dev,