The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
18 views

Open Ruby installed gems in editor

How to open installed gems in editor such Sublime Text or Text Mate or Atom? I would like to do it from command line like: open -a Sublime\ Text\ 2 something_here
1
vote
0answers
72 views

How to automatically add `brew update ruby` to `rbenv` versions?

I just did a brew update which updated a ruby version (brew ruby --version), but when I rbenv versions it isn't listed there because I didn't do ruby install <ruby version>. Is there a way to ...
0
votes
2answers
84 views

Upgrade RVM and now PATH is broken

My PATH no longer includes /usr/local/bin even though it is the first line of /etc/paths: #/etc/paths /usr/local/bin /usr/bin /bin /usr/sbin /sbin $PATH: $ echo $PATH ...
2
votes
2answers
420 views

Which version(s) of Mac OS X has Ruby installed on default?

I'm thinking to use Ruby to write installation script. But, not sure if all major version of Mac OS X installed it on default. Which version(s) of Mac OS X has Ruby interrupter installed on default?
1
vote
0answers
58 views

Rails Command Fails Because of Space in Path

I tried setting up a Ruby on Rails project on my nice safe volume called "Data RAID". The set up failed with some strange errors that I eventually tracked down to the space in the path name. It works ...
2
votes
2answers
866 views

Uninstalled zsh, terminal gone weird

I uninstalled zsh pretty soon after I installed it as I realised I had got used to the normal Terminal. The uninstall went successfully and I restarted Terminal, but now it displays my computer-name ...
0
votes
0answers
58 views

how to clean up ruined gems

I was using rvm to manage my Ruby gems, and decided to give rbenv a try. In the process of working with rbenv I was having trouble getting it to use the rbenv configured version of rails (as ...
1
vote
0answers
36 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 ?
2
votes
1answer
162 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
496 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 ...
7
votes
1answer
9k 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
2k 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
648 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 ...
4
votes
0answers
209 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 ...
6
votes
2answers
1k 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
4k 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 ...
0
votes
1answer
460 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 ...
3
votes
1answer
737 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) ...
5
votes
1answer
272 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
462 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 ...
0
votes
2answers
668 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 ...