The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
14 views

Ruby and osx, clipboard status detection

My question: is it possible to detect when clipboard was pasted into other app ? With use of RubyMotion, Macruby, or Apple Scripts maybe ?
1
vote
1answer
60 views

Least intrusive way to install Ruby 1.9 on a borrowed MacBook?

I need to use Ruby 1.9 for a programming test, and I'll be borrowing my dad's MacBook Air to do so. He's running OSX 10.7.5 and has Ruby 1.8.7 What's the least "invasive" way to install a newer ...
0
votes
1answer
21 views

How to get “Subl” to work in my terminal?

Whenever I enter "subl" in the command line of iTerm it tells me that the command is not found. I have seen many message boards pertaining to this and nothing seems to work. I have tried entering "ln ...
3
votes
2answers
505 views

where is Ruby looking for SSL_CERT_FILE?

I am trying to find out where Ruby expects to find its openssl CA list. My environment is: Mac OS 10.7.5 OpenSSL from homebrew Rbenv from homebrew Ruby 1.9.3, installed using rbenv and ...
9
votes
2answers
2k views

Problems installing Ruby versions via RVM in Mountain Lion

So I recently joined the Mac world and bought a MacBook - which I love, by the way. I'm having some trouble getting all my dev tools up setup properly and am not quite 100% familiar with the ...
4
votes
1answer
4k views

Ruby 2.0.0 install via RVM: errors surrounding openssl

Using: Mountain Lion 10.8.2, RVM 1.18.15 Having trouble with, apparently, openssl when trying to install Ruby 2.0.0 via RVM: $ rvm install 2.0.0 ... Extracting openssl to ...
1
vote
2answers
807 views

Ruby 2.0.0 fails to install because of openssl

I can't install ruby from source, on configuration (./configure) it states Ignore OpenSSL broken by Apple. Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl') ...
1
vote
2answers
142 views

How to Run Shell Script upon Application Launch?

Not sure if this belongs here or on SuperUser, but it's Mac specific, so I'll go with here. I wrote a Ruby script that edits TextMate's global properties file and changes the theme based on the time ...
3
votes
1answer
581 views

Ruby 1.9.3's infamous OS X OpenSSL segfault in http.rb:799

[Post shortened and updated with an answer.] Ruby 1.9.3 compiled on OS X 10.7.4 with MacPorts crashes in my Rails apps when using SSL in http.rb, e.g. when authenticating to Facebook: (facebook) ...
3
votes
0answers
76 views

How to build last version of Ruby for jailbroken iOS?

I jailbrake my iPad and want to run Ruby in the console. I installed OpenSSH & Ruby from Saurik. But it is too old (1.9.2) & buggy. I would like to compile and install the latest version of ...
0
votes
2answers
343 views

Installing ruby 1.9 on Mac OS X 10.7

I'm trying to install Kitabu on Mac OS X 10.7.4. When I tried to use gem install kitabu --pre to install kitabu, I got an error ERROR: Error installing kitabu: kitabu requires Ruby ...
0
votes
1answer
160 views

Position windows via command line

I've got a little bit of ruby that sizes and repositions windows to a saved layout. It uses a snippet of AppleScript to actually do the positioning: osascript -e 'tell application "Twitter" to set ...
5
votes
1answer
204 views

What version of Ruby ships with OS X 10.8 (Mountain Lion)?

I have the default Ruby 1.8.7 on 10.7 (Lion), and I'm wondering if Mountain Lion upgrades this to the 1.9.x series.
0
votes
0answers
277 views

Bad CPU in Executable Trying to Install Ruby

I'm running Mountain Lion, and I'm trying to install Ruby; however, I get "bad CPU in executable" error. Not sure how to fix this . . . ideas? Sorry for the bad formatting - "code" doesn't really ...