[MacRuby] #1499: Can't install MacRuby in Lion
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Hello, I have a problem with MacRuby in my MacBook Pro (OS X 10.7.3). I tried to install the nightly build 0.12 because I read that there was a problem with 0.10 since xCode is installed in /Applications instead of /Developer (however, mine is installed in /Developer since I upgraded from Snow Leopard; but I wasn't able to install MacRuby 0.10 too before trying the latest build). So I got a folder called MacRuby.framework in /Library/Frameworks which also include executables for macruby, macirb, macri, ... but I can't use them from Terminal. Also, they're not found by 'which' command. Should MacRuby be installed in ~/Library/ instead of /Library/ ? I once (successfully) installed MacRuby in a Mac mini with Lion pre- installed so I guess that the problem is my MacBook. Am I missing something? What should I do? Thanks in advance -- Ticket URL: <http://www.macruby.org/trac/ticket/1499> MacRuby <http://macruby.org/>
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by joshua.ballanco@…): By default, the MacRuby installer will install binaries to /usr/local/bin. Do you have that directory in your PATH? -- Ticket URL: <http://www.macruby.org/trac/ticket/1499#comment:1> MacRuby <http://macruby.org/>
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by manfredigiordano@…): Replying to [comment:1 joshua.ballanco@…]:
By default, the MacRuby installer will install binaries to /usr/local/bin. Do you have that directory in your PATH?
Thank you for your answer. /usr/local/bin is already on my PATH, but I noticed that macruby, macri, macgem and the others (alias to) executables aren't usable because they're not linked with the original ones. So i tried to create symbolic links from the executables (found in /Library/Frameworks/MacRuby/bin/) to /usr/local/bin, where I supposed they should be. That was not enough because, also if 'macruby file.rb' worked, other thing such as macirb or macri seem not working. -- Ticket URL: <http://www.macruby.org/trac/ticket/1499#comment:2> MacRuby <http://macruby.org/>
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by joshua.ballanco@…): The layout of frameworks in OS X is slightly tricky. It's probably best not to try and fix the symlinks yourself. Your best bet would be to remove the "mac*" symlinks in /usr/local/bin and reinstall MacRuby using the installer. -- Ticket URL: <http://www.macruby.org/trac/ticket/1499#comment:3> MacRuby <http://macruby.org/>
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by manfredigiordano@…): Replying to [comment:3 joshua.ballanco@…]:
The layout of frameworks in OS X is slightly tricky. It's probably best not to try and fix the symlinks yourself. Your best bet would be to remove the "mac*" symlinks in /usr/local/bin and reinstall MacRuby using the installer. I did it and it worked. Thank you again!
-- Ticket URL: <http://www.macruby.org/trac/ticket/1499#comment:5> MacRuby <http://macruby.org/>
#1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: worksforme Keywords: macruby | -----------------------------------------+---------------------------------- Changes (by joshua.ballanco@…): * status: new => closed * resolution: => worksforme Comment: Great! Glad to hear that worked. -- Ticket URL: <http://www.macruby.org/trac/ticket/1499#comment:6> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby