remear / jewelrybox

OS X RVM Manager
105 stars 5 forks source link

Incompatible with Mountain Lion? #128

Closed parkr closed 12 years ago

parkr commented 12 years ago

I keep getting this error upon launch and it just crashes.

*** Terminating app due to uncaught exception 'ArgumentError', reason: '//(eval):1:in `meetsMinimumVersion': Malformed version number string rvm (ArgumentError)
parkr commented 12 years ago

Take a look at the full trace.

remear commented 12 years ago

Can you gist the output of rvm version from your command-line.

parkr commented 12 years ago

It's actually as simple as:

rvm 1.14.7 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
remear commented 12 years ago

Where are you sourcing RVM?

parkr commented 12 years ago

Not sure what you mean. This is the results of rvm info:


ruby-1.9.3-p194:

  system:
    uname:       "Darwin rrsdhcp-10-32-139-37.redrover.cornell.edu 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64"
    bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)"
    zsh:         "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"

  rvm:
    version:      "rvm 1.14.7 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "4 days 5 hours 39 minutes 10 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.8.7"
    date:         "2012-02-08"
    platform:     "universal-darwin12.0"
    patchlevel:   "2012-02-08 patchlevel 358"
    full_version: "ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]"

  homes:
    gem:          "/Users/parkermoore/.rvm/gems/ruby-1.9.3-p194"
    ruby:         "/Users/parkermoore/.rvm/rubies/ruby-1.9.3-p194"

  binaries:
    ruby:         "/usr/bin/ruby"
    irb:          "/usr/bin/irb"
    gem:          "/usr/bin/gem"
    rake:         "/usr/bin/rake"

  environment:
    PATH:         "/Users/parkermoore/.venvburrito/bin:.:/usr/local/mysql/bin:/usr/local/Cellar/ruby/1.9.3-p194/bin:/usr/local/cakephp/lib/Cake/Console:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/parkermoore/.rvm/bin"
    GEM_HOME:     "/Users/parkermoore/.rvm/gems/ruby-1.9.3-p194"
    GEM_PATH:     "/Users/parkermoore/.rvm/gems/ruby-1.9.3-p194:/Users/parkermoore/.rvm/gems/ruby-1.9.3-p194@global"
    MY_RUBY_HOME: "/Users/parkermoore/.rvm/rubies/ruby-1.9.3-p194"
    IRBRC:        "/Users/parkermoore/.rvm/rubies/ruby-1.9.3-p194/.irbrc"
    RUBYOPT:      ""
    gemset:       ""
remear commented 12 years ago

From what shell file are you loading RVM? ~/.bashrc? ~/.bash_login? ~/.bash_profile? ~/.profile? ~/.zshrc?

Also, what command are you using to load RVM into your sessions?

parkr commented 12 years ago

I don't know. It's in a bunch of different files. I think Terminal.app on my Mac OS X 10.8 loads ~/.profile if it exists (that's where all my aliases, functions are).

And I'm using rvm use x.x.x to load in whichever version of ruby I want at the time.

remear commented 12 years ago

The meetsMinRVMVersion uses MacRuby code and I've seen it just decide not to work at tunes. I have no idea why, I've ripped out the MacRuby code and gone back to a strict Objective-C solution that should resolve this problem. Please comment on this if the issue persists after the next release.