Skip to content

Instantly share code, notes, and snippets.

View mixflame's full-sized avatar
🔊
Creating awesome audio software and things!

Jonathan Silverman mixflame

🔊
Creating awesome audio software and things!
View GitHub Profile
D/com/yourcompany/hello2( 9658): Loading payload
D/com/yourcompany/hello2( 9658): RubyVM 0x4806f300 created
D/com/yourcompany/hello2( 9658): Initializing RubyMotion runtime (environment: development)
W/dalvikvm( 9658): JNI WARNING: JNI method called with exception pending
W/dalvikvm( 9658): in Ljava/lang/Runtime;.nativeLoad:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String; (GetMethodID)
W/dalvikvm( 9658): Pending exception is:
I/dalvikvm( 9658): java.lang.NoClassDefFoundError: com/rubymotion/Hash
I/dalvikvm( 9658): at java.lang.Runtime.nativeLoad(Native Method)
I/dalvikvm( 9658): at java.lang.Runtime.nativeLoad(Native Method)
I/dalvikvm( 9658): at java.lang.Runtime.loadLibrary(Runtime.java:369)
@mixflame
mixflame / file1.txt
Created July 2, 2012 06:04
the description for this gist
String file contents
+ /scripts/cli : __rvm_parse_args() 638 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 640 > set -o errtrace
+ /scripts/cli : __rvm_parse_args() 641 > export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 641 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
+ /scripts/cli : __rvm_parse_args() 673 > [[ -z '' ]]
+ /scripts/cli : __rvm_parse_args() 673 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ error == '' ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ 0 -eq 1 ]]
+ /scripts/cli : __rvm_parse_args() 676 > [[ -n '' ]]
+ /scripts/cli : __rvm_parse_args() 15 > [[ -n install ]]
silverlight/bin/: ucsize 4096 <> csize 0 for STORED entry
continuing with "compressed" size value
Archive: /Users/jsilverman2/.rvm/archives/ironruby-1.0.zip
bin/: ucsize 4096 <> csize 0 for STORED entry
continuing with "compressed" size value
creating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/gem
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/igem.bat
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/iirb.bat
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/ir
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/ir.exe
inflating: /Users/jsilverman2/.rvm/src/ironruby-1.0/bin/ir.exe.config
[2012-10-23 13:18:51] PATH="/Users/jsilverman2/.rvm/gems/ironruby-1.0/bin:/Users/jsilverman2/.rvm/gems/ironruby-1.0@global/bin:/Users/jsilverman2/.rvm/rubies/ironruby-1.0/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/mysql/bin:/Library/Frameworks/JRuby.framework/Versions/Current/bin:/Users/jsilverman2/.rvm/bin" GEM_HOME="/Users/jsilverman2/.rvm/gems/ironruby-1.0" GEM_PATH="/Users/jsilverman2/.rvm/gems/ironruby-1.0:/Users/jsilverman2/.rvm/gems/ironruby-1.0@global" /Users/jsilverman2/.rvm/rubies/ironruby-1.0/bin/gem install --no-rdoc --no-ri rake
ERROR: While executing gem ... (ArgumentError)
Invalid path
Archive: /Users/jsilverman2/.rvm/archives/ironruby-1.0.zip
bin/: ucsize 4096 <> csize 0 for STORED entry
continuing with "compressed" size value
creating: /Users/jsilverman2/tmp/iron/bin/
inflating: /Users/jsilverman2/tmp/iron/bin/gem
inflating: /Users/jsilverman2/tmp/iron/bin/igem.bat
inflating: /Users/jsilverman2/tmp/iron/bin/iirb.bat
inflating: /Users/jsilverman2/tmp/iron/bin/ir
inflating: /Users/jsilverman2/tmp/iron/bin/ir.exe
inflating: /Users/jsilverman2/tmp/iron/bin/ir.exe.config
Error running '/Users/jsilverman2/.rvm/wrappers/ruby-1.8.7-p371/rake MERLIN_ROOT=/Users/jsilverman2/.rvm/src/ironruby-head/Merlin/Main compile mono=1 configuration=release --trace', please read /Users/jsilverman2/.rvm/log/ironruby-head/rake.log
Jonathans-MacBook-Pro:~ jsilverman2$ cat /Users/jsilverman2/.rvm/log/ironruby-head/rake.log
[2012-10-25 22:07:06] /Users/jsilverman2/.rvm/wrappers/ruby-1.8.7-p371/rake MERLIN_ROOT=/Users/jsilverman2/.rvm/src/ironruby-head/Merlin/Main compile mono=1 configuration=release --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/Users/jsilverman2/.rvm/gems/ruby-1.8.7-p371@global/gems/rake-0.9.2.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/Users/jsilverman2/.rvm/gems/ruby-1.8.7-p371@global/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/Users/jsilverman2/.rvm/gems/ruby-1.8.7-p371@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/jsilverman2/.rvm/gems/ruby-1.8.7-
@mixflame
mixflame / format-save.py
Created October 28, 2012 07:58
Sublime Text 2 Format Any Ruby File on Save Plugin by jsilver
# place in Packages/User/
# recommend with trim trailing whitespace and sublimelinter
import sublime_plugin, re
class rubyCheck(sublime_plugin.EventListener):
def on_pre_save(self, view):
if re.search("Ruby", view.settings().get('syntax')):
view.window().run_command("ruby_format")
@mixflame
mixflame / Rakefile
Created October 28, 2012 10:28
Useful Rakefile for Ruboto
# hope you're using HAXM
task :boot do
puts "booting"
`emulator -avd Android_4.1`
end
task :off do
puts "shutdown"
`taskkill /IM emulator-x86.exe`