The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
2k views

Nokogiri gem fails to install in OS X Mavericks

Install fails showing: checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... no checking for iconv_open() in -liconv... no checking for libiconv_open() in iconv.h... no ...
6
votes
1answer
288 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
0answers
73 views

Installing Ruby 1.9.2 and having trouble

I'm trying to install Ruby 1.9.2 and receiving the following error. "Warning! Requested ruby installation which requires another ruby available - installing ruby-2 first. Checking requirements for ...
0
votes
0answers
13 views

Empty files been generated under user root directory

I have noticed today that 8 weird files appear under my user root (~/) directory. When I did a ls command these file names appears to be in time format (hh:mm:ss) followed by a comma, some numbers and ...
-2
votes
1answer
31 views

Nothing happens on calling ruby

If I type in terminal ruby it just gets stuck, nothing happens. When I type which ruby it outputs /usr/bin/ruby. How do I restore ruby on my mac?
0
votes
0answers
17 views

Rails install error - Mavericks 10.9

Rails installation not working on 10.9 Mavericks -- Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. ...
0
votes
0answers
28 views

Recover Ruby original state

I accidentally messed up with my Ruby files, both in the Ruby.framework and library/ruby/ (trying to install foundation) and now, it is causing conflict; I am unable to create foundation because SASS ...
0
votes
0answers
29 views

Want to Update OpenSSL with Ruby 2.0.0 Already Installed

I have Ruby 2.0.0-p451 installed via RVM. From what I have read online the newer versions of openssl need Ruby 2 installed. I'm running RVM 1.25.25. I currently host Ruby on Rails websites on my Mac ...
1
vote
1answer
21 views

Installing ruby to specific directory/usb

I am trying to install ruby to a specific directory, a USB stick, so I can move the usb back and forth without having to install ruby on each machine I get to (I need ruby 2.0+). How can I do this? I ...
1
vote
1answer
40 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
181 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
169 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
1k 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 ...
2
votes
2answers
886 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
64 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 ...
1
vote
0answers
41 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
178 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
834 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 ...
6
votes
2answers
2k 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 ...
7
votes
1answer
10k 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
3k 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
996 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
819 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) ...
0
votes
2answers
719 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
637 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
293 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
519 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 ...