Questions tagged [ruby]

Ruby is a general-purpose object-oriented open-source scripting language. It sees a high degree of use in the configuration management space, and is popular for web development due to the high adoption of Ruby On Rails

Ruby is an object oriented programming language that has programmer productivity as one of its design goals. Most people are familiar with it these days as part of Ruby On Rails, a web application framework.

499 questions
7
votes
5 answers

Ruby for Systems Administration

I've used Python, Perl and Shell for systems administration. Wondering if anyone uses Ruby for systems administration? Any pluses/negatives? I know that this question is subjective and am interested in experiences. Thanks.
Paul
  • 337
3
votes
1 answer

Why is the ruby install so slow

The recommended way to install ruby is through rvm and rbenv. Why are these methods so slow? I have seen packages 10x times larger installing in much quicker time.
Kimda K
  • 41
3
votes
1 answer

How do I install rake

sudo yum install ruby I did this on my Amazon EC2 AMI, but I still don't find the 'rake' command. Isn't it part of this installation?
user42891
  • 251
2
votes
1 answer

What is the most straightforward way to pass a commandline flag into RSpec?

I need to run RSpec examples in multiple environments. I want to pass a flag into RSpec that a case statement can key off so as to set the proper values. This is such a natural thing to want to do that I must be overlooking the obvious. Thank you…
Mike Jr
  • 197
2
votes
1 answer

Serving Ruby pages without Rails?

How would I go about displaying Ruby-generated dynamic pages without relying on a framework, such as Rails? My intention is to serve Ruby .erb pages just as I would with .php files. My server uses EngineX, which seems to play well together with…
Miko
  • 1,799
  • 4
  • 23
  • 28
0
votes
1 answer

Why won't rvm execute?

I installed RVM with gem install rvm. gem list shows rvm installed. But when i type the command rvm, I get command not found. Where is the rvm bin?
cat pants
  • 2,293
0
votes
2 answers

Compiling Error of Ruby 1.9.2 on CentOS

all. I downloaded the ruby source from the offical site http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz. But I got some compiling errors when I did as the README told me: tar -xzf ruby-1.9.2-p290.tar.gz cd…
Robert
  • 261
0
votes
3 answers

Installtion problems in ruby

I had ruby in my Red hat linux pc. I manually deleted the folders of ruby in /usr/lib and /usr/bin. Now when I try to install ruby again it says it conflicts with some files which does not exist. rpm -i ruby-libs-1.8.6.111-1.i386.rpm file…
Vidya
  • 357