Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

learn more… | top users | synonyms

10
votes
5answers
18k views

Is it possible to reinstall/fix Mac OS X's system ruby without doing a complete OS reinstall?

Is it possible? I'm running into various issues at least once a week since it got corrupted or something, especially with homebrew. If it is possible, but would just be a better idea to start from a ...
2
votes
3answers
14k views

Why does the command window always disappear right away on Windows 7?

I hope I am missing something blindingly obvious here, but I can't get things I run from the command window to stay open. That is, 1. I open a new command prompt (windows key + r) + "cmd" 2. I try ...
11
votes
2answers
1k views

Install packages through apt-get or gem?

If a package is available both through apt-get and gem, which one should I choose? I'm on Ubuntu and I don't know if I should install rake through apt-get or gem. I use both apt-get and gem packages ...
1
vote
1answer
1k views

How to run script as a Windows XP service?

I want to run my ruby web server as a Windows XP service. Somebody can advice how to do that? I changed (removed the word ruby) the title so more people can find the answer. It will work for any ...
3
votes
1answer
204 views

what does STOP service do in Windows?

I start my web server as web service on Windows XP. How it was done is described here My web server is coded in ruby/sinatra and I start it C:\Ruby187\bin\ruby c:\web\web2.rb. That code the service ...
3
votes
1answer
19k views

How to completely remove Ruby, Ruby gems on Mac OS X 10.6.4

Most rubyists might be shocked when they'll read this, but I'd like to know if it's possible to completely remove the Ruby framework as well as all the tools and gems that ship with Mac OS X 10.6.4. ...
2
votes
1answer
911 views

install gem for older ruby 1.8 on Mac OS X 10.9 Maverics

I installed osx-trash using the answer here but got the error: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot ...
2
votes
1answer
295 views

Can't find sqlite3 in this ruby/rails version using rvm

I installed rvm and am using 1.9.2 with rails 3.05. I was able to create a new application but once I moved into the directory and tried to start the server ("rails s"), I got this error message ...
2
votes
2answers
891 views

Create a local DNS TLD for development

I do a lot of web dev, mainly RoR and PHP, I've got a VMs which holds my dev environments and handling multiple clients on them is a pain. With PHP you just create a subdir, but with RoR it's a little ...
1
vote
1answer
1k views

OS X `gollum` install not working

I've tried many things to fix this, but i can't get get gollum as a cli utility. gem install gollum completes with ... Building native extensions. This could take a while... ERROR: Error ...
0
votes
1answer
626 views

Reinstall Ruby framework on OS X Yosemite

I installed home brew on Yosemite and it messed up the System built-in framework. I couldn't use the Ruby gems already installed or the new ones installed after Homebrew. Instead of fixing all the ...
0
votes
4answers
8k views

Can't run compass after install

This is a beginner mistake I am sure as I am new to terminal etc. I am trying to get compass working on my mac, I have already installed sass and got it working but when I try to install compass even ...