Skip to content

Instantly share code, notes, and snippets.

@blaines
Last active August 29, 2015 14:21
Show Gist options
  • Save blaines/738beab38b8dcf02df15 to your computer and use it in GitHub Desktop.
Save blaines/738beab38b8dcf02df15 to your computer and use it in GitHub Desktop.
13317 bin/ldiff
13318 bin/protoc-gen-ruby
13319 bin/pry
13320 bin/rackup
13321 bin/rake
13322 bin/rpc_server
13323 bin/rspec
13324 bin/thor
# This seems ok
> $LOAD_PATH
=> ["/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/webservice-1.0.0-SNAPSHOT-all.jar!/gems/uat-runner-0.1.38/bin/..",
"build/libs/service-1.0.0-SNAPSHOT-all.jar",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/multipart-post-2.0.0/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/faraday-0.9.1/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/builder-3.2.2/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/ci_reporter-2.0.0/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/ci_reporter_rspec-1.0.0/lib",
"file:/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/service-1.0.0-SNAPSHOT-all.jar!/gems/uat-runner-0.1.38/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/coderay-1.1.0/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/slop-3.6.0/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/method_source-0.8.2/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/spoon-0.0.4/lib",
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/pry-0.10.1-java/lib",
"file:/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/service-1.0.0-SNAPSHOT-all.jar!/META-INF/jruby.home/lib/ruby/1.9/site_ruby",
"file:/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/service-1.0.0-SNAPSHOT-all.jar!/META-INF/jruby.home/lib/ruby/shared",
"file:/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/service-1.0.0-SNAPSHOT-all.jar!/META-INF/jruby.home/lib/ruby/1.9"]
# This is not what I'd expect
> Gem.bindir
=> "/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/bin"
# Instead I'd expect
> Gem.bindir
=> "/Users/blaines/Repos/lkt/services/webservice/uat/build/libs/webservice-1.0.0-SNAPSHOT-all.jar!/bin"
# Another example of not what I'd expect
> Gem.bin_path 'rspec-core', 'rspec'
=> "/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/gems/rspec-core-3.2.3/exe/rspec"
# All Gem paths...
> Gem.paths
=> #<Gem::PathSupport:0x03fc1abf
@env=
{"AUTOFEATURE"=>"true",
"Apple_PubSub_Socket_Render"=>"/tmp/launch-u6Fhj5/Render",
"BASH_IT"=>"/Users/blaines/.bash_it",
"BASH_IT_THEME"=>"blaines",
"COMMAND_MODE"=>"unix2003",
"COMP_WORDBREAKS"=>" \t\n\"'@><=;|&(",
"DESTINATION"=>"/var/folders/w9/5kx3qyys6_3gx8gnz20779bsj4pbmf/T/iTerm 2.0.0.20150412 Update",
"DISPLAY"=>"/tmp/launch-Aw2XmR/org.macosforge.xquartz:0",
"EDITOR"=>"/usr/bin/subl",
"GEM_HOME"=>"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice",
"GEM_PATH"=>"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice:/Users/blaines/.rvm/gems/jruby-1.7.13@global",
"GIT_EDITOR"=>"/usr/bin/vim",
"GIT_HOSTING"=>"git@git.domain.com",
"GREP_COLOR"=>"1;33",
"HISTCONTROL"=>"erasedups",
"HISTSIZE"=>"5000",
"HOME"=>"/Users/blaines",
"IRBRC"=>"/Users/blaines/.rvm/rubies/jruby-1.7.13/.irbrc",
"IRC_CLIENT"=>"irssi",
"ITERM_PROFILE"=>"Blaine High Contrast",
"ITERM_SESSION_ID"=>"w0t2p0",
"JAVA_ARCH"=>"x86_64",
"JAVA_MAIN_CLASS_37423"=>"com.github.jrubygradle.jar.bootstrap.JarMain",
"LANG"=>"en_US.UTF-8",
"LOGNAME"=>"blaines",
"LSCOLORS"=>"Gxfxcxdxdxegedabagacad",
"MYPS"=>
"$(echo -n \"${PWD/\#$HOME/~}\" | awk -F \"/\" '{\n if (length($0) > 16) {\n if (NF==4) print $1 \"/\" $2 \"/···/\" $NF;\n else if (NF==5) print $1 \"/···/\" $(NF-1) \"/\" $NF;\n else if (NF==6) print $1 \"/···/\" $(NF-1) \"/\" $NF;\n else if (NF==7) print $1 \"/·/\" $5 \"/\" $(NF-1) \"/\" $NF;\n else if (NF>7) print $1 \"/·/\" $5 \"/···/\" $(NF-1) \"/\" $NF;\n else if (NF>3) print $1 \"/\" $2 \"/.../\" $NF;\n else print $1 \"/.../\" $NF; }\n else print $0;}')",
"MY_RUBY_HOME"=>"/Users/blaines/.rvm/rubies/jruby-1.7.13",
"NGINX_PATH"=>"/opt/nginx",
"OLDPWD"=>"/Users/blaines",
"PATH"=>
"/Users/blaines/.rvm/gems/jruby-1.7.13@webservice/bin:/Users/blaines/.rvm/gems/jruby-1.7.13@global/bin:/Users/blaines/.rvm/rubies/jruby-1.7.13/bin:/Users/blaines/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/go/bin:/usr/X11/bin:/Users/blaines/.gem/ruby/1.8/bin:/opt/nginx/sbin",
"PWD"=>"/Users/blaines/Repos/Lookout/services/webservice/uat",
"RUBY_VERSION"=>"jruby-1.7.13",
"SCM_CHECK"=>"true",
"SECURITYSESSIONID"=>"186a5",
"SHELL"=>"/bin/bash",
"SHLVL"=>"1",
"SSH_AUTH_SOCK"=>"/tmp/launch-bYN7Tk/Listeners",
"TERM"=>"xterm",
"TERM_PROGRAM"=>"iTerm.app",
"TMPDIR"=>"/var/folders/w9/5kx3qyys6_3gx8gnz20779bsj4pbmf/T/",
"TODO"=>"t",
"USER"=>"blaines",
"_"=>"/usr/bin/java",
"__CF_USER_TEXT_ENCODING"=>"0x624B2E8E:0:0",
"__CHECKFIX1436934"=>"1",
"_system_arch"=>"x86_64",
"_system_name"=>"OSX",
"_system_type"=>"Darwin",
"_system_version"=>"10.9",
"com.apple.java.jvmTask"=>"CommandLine",
"rvm_bin_path"=>"/Users/blaines/.rvm/bin",
"rvm_path"=>"/Users/blaines/.rvm",
"rvm_prefix"=>"/Users/blaines",
"rvm_use_flag"=>"1",
"rvm_version"=>"1.26.9 (latest)"},
@home="/Users/blaines/.rvm/gems/jruby-1.7.13@webservice",
@path=["/Users/blaines/.rvm/gems/jruby-1.7.13@webservice", "/Users/blaines/.rvm/gems/jruby-1.7.13@global"],
@spec_cache_dir="/Users/blaines/.gem/specs">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment