Skip to content

Instantly share code, notes, and snippets.

@deiga
Created February 14, 2013 23:46
Show Gist options
  • Save deiga/4957445 to your computer and use it in GitHub Desktop.
Save deiga/4957445 to your computer and use it in GitHub Desktop.
SublimeXiki error
docs
/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst [bundler-1.2.3, gem-ctags-1.0.5, rake-10.0.3, rubygems-update-1.8.25, rvm-1.11.3.6] (Gem::LoadError)
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/xiki:18:in `<main>'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `<main>'
$ pwd
/Users/timosand/Dropbox/Sublime Text 2/Packages
$ rvm info
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
system:
system:
uname: "Darwin 138-38-223-171.resnet.bath.ac.uk 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64"
system: "osx/10.8/x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)"
zsh: "/usr/local/bin/zsh => zsh 5.0.2 (x86_64-apple-darwin12.2.0)"
rvm:
version: "rvm 1.18.3 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]"
updated: "19 days 3 hours 48 minutes 21 seconds ago"
homes:
gem: "not set"
ruby: "not set"
binaries:
ruby: "/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin/ruby"
irb: "/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin/irb"
gem: "/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin/gem"
rake: "/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/rake"
environment:
PATH: "/usr/local/bin:/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin:/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin:/Users/timosand/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/sbin:/usr/local/share/npm/bin:/Users/timosand/bin:/usr"
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
RUBYOPT: ""
gemset: ""
$ which xiki
/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/xiki
$ xiki docs
/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst [bundler-1.2.3, gem-ctags-1.0.5, rake-10.0.3, rubygems-update-1.8.25, rvm-1.11.3.6] (Gem::LoadError)
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/xiki:18:in `<main>'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `<main>'
$ rvm current
system
$ which ruby
/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin/ruby
$ ruby --version
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.0]
$ rvm list
rvm rubies
ruby-1.9.3-p327 [ x86_64 ]
* ruby-1.9.3-p374 [ x86_64 ]
# => - current
# =* - current && default
# * - default
ip
/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst [bundler-1.2.3, gem-ctags-1.0.5, rake-10.0.3, rubygems-update-1.8.25, rvm-1.11.3.6] (Gem::LoadError)
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/xiki:18:in `<main>'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `<main>'
$$ xiki ip
/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst [bundler-1.2.3, gem-ctags-1.0.5, rake-10.0.3, rubygems-update-1.8.25, rvm-1.11.3.6] (Gem::LoadError)
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/timosand/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/xiki:18:in `<main>'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin/ruby_noexec_wrapper:14:in `<main>'
$$ echo $SHELL
/usr/local/bin/zsh
$ zsh --login -c 'xiki ip'
138.38.223.171
$$ rvm current
system
$$ print $SHELL
/usr/local/bin/zsh
$$ $SHELL --login -c 'echo $PATH'
/usr/local/bin:/usr/local/bin:/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin:/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin:/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin:/Users/timosand/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/Users/timosand/.rvm/gems/ruby-1.9.3-p374@global/bin:/Users/timosand/.rvm/rubies/ruby-1.9.3-p374/bin:/Users/timosand/.rvm/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/sbin:/usr/local/share/npm/bin:/Users/timosand/bin:/usr
$$ set
!=0
'#'=0
'$'=14860
'*'=()
-=569X
0=zsh
'?'=0
@=()
ARGC=0
Apple_PubSub_Socket_Render=/tmp/launch-hExvYF/Render
Apple_Ubiquity_Message=/tmp/launch-XMJJgi/Apple_Ubiquity_Message
CDPATH=''
COLUMNS=0
COMMAND_MODE=unix2003
CPUTYPE=x86_64
DISPLAY=/tmp/launch-mKaQF0/org.macosforge.xquartz:0
EGID=20
ERRNO=2
EUID=501
FIGNORE=''
FPATH=/usr/local/share/zsh/site-functions:/usr/local/Cellar/zsh/5.0.2/share/zsh/functions
GID=20
HISTCHARS='!^#'
HISTCMD=0
HISTSIZE=30
HOME=/Users/timosand
HOST=138-38-223-171.resnet.bath.ac.uk
IFS='
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment