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.

498 questions
2
votes
1 answer

zlib error on gem install rails after rvm version switch

(Debian squeeze) rvm version: 1.10.0 I have just installed ruby 1.9.2-p290 using "rvm install 1.9.2" and made it default. However, I am getting this error when trying to install rails using rubygems. "gem install rails" worked fine on my system ruby…
omnilinguist
  • 121
  • 3
2
votes
1 answer

Unable to set nginx to serve my staging website

I'm having some troubles setting up nginx to serve my staging website. What I did is change the server_name but for some reasons it just doesn't work. The url scheme is "domain.foo" is production, "staging.domain.foo" is staging, "foobar.domain.foo"…
ngw
  • 21
  • 2
2
votes
1 answer

How do I get supervisord to use a user's rbenv environment?

I've daemon owned that I'd like to have system supervisor manage. The daemon has its own user and, being done up in ruby, it's own rbenv environment. The supervisord conf for the…
troutwine
  • 1,452
  • 5
  • 18
  • 33
2
votes
1 answer

How do I add a provider for the package type in Puppet?

The puppet-rvm FAQ mentions that they didn't extend the package type because "it becomes harder to manage multiple Ruby versions and nearly impossible to install gems for a specific Ruby version". I don't need multiple Ruby versions, nor gems for…
troutwine
  • 1,452
  • 5
  • 18
  • 33
2
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
  • 241
  • 1
  • 3
  • 10
2
votes
2 answers

How to install RVM for single user in Ubuntu without hosing permissions?

I'm trying to setup RVM to execute in single user mode on Ubuntu, but can't without opening up permissions make, configure etc. Any suggestions? RVM installed via bash < <(curl -s https://rvm.beginrescueend.com/install/rvm), all apt repository…
Allyl Isocyanate
  • 299
  • 1
  • 4
  • 9
2
votes
1 answer

Preferred way to install Ruby/Rake for all users

We have a few different servers setup to handle our flagship product. We have a development server, a demo/staging server, and a production server. All of these run on some variant of Debian or Ubuntu. In order to manage the creation of new clients,…
Topher Fangio
  • 279
  • 3
  • 13
2
votes
2 answers

Is Ubuntu natty likely to get newer versions of Ruby?

The current version of Ruby in natty is 1.9.2 p0. The current version is p290, which is the second release after p0. So if Ruby used normal versioning it would be 1.9.2.3 (or really, 2.2.3, but let's not get into that). Anyway -- is it likely that…
John Bachir
  • 2,364
  • 7
  • 29
  • 37
2
votes
1 answer

ActiveAdmin User management

I am new to Ruby on Rails. I am using ActiveAdmin for administration purposes. I have Googled a lot about "how to manage admin users" for example, changing default username password from admin@example.com and password to something else. Or how to…
Moon
  • 119
  • 1
  • 6
2
votes
2 answers

CentOS - Ruby - Executable host ruby is required

I am trying to compile ruby (v1.9.2) on a CentOS 5.6 system (kernel v2.6.18-238.12.1.el5), but keep getting a "executable host ruby is required" error message during make. Here are the steps: ./configure --prefix=/usr/local/ruby make I get the…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
2
votes
1 answer

Why does installing libapache2-mod-passenger require Ruby 1.8?

Ubuntu 10.04. I have installed Ruby 1.9.2 through rvm and want to serve rails applications with Passenger. However, if I sudo apt-get install libapache2-mod-passenger, it's telling me that ruby, ruby1.8, rubygems, rubygems1.8, irb1.8, rdoc1.8 is…
Artem Pakk
  • 147
  • 7
2
votes
1 answer

Monitoring slow nginx/unicorn requests

I'm currently using Nginx to proxy requests to a Unicorn server running a Sinatra application. The application only has a couple of routes defined, those of which make fairly simple (non costly) queries to a PostgreSQL database, and finally return…
injekt
  • 121
  • 1
  • 2
2
votes
1 answer

Can't compile CentOS 5, Ruby 1.9.2 and OpenSSL 1.0.0c

I'm trying to install Ruby 1.9.2 on CentOS 5.5. I get through most of the make process, but when it tries to compile OpenSSL I get an error. Below is the errror outputted: compiling openssl make[1]: Entering directory…
pstinnett
  • 21
  • 3
2
votes
3 answers

Is there a Ruby, Python or open source way to monitor uptime?

Is there a Ruby, Python or open source uptime monitor like PingDom, etc?
donald
  • 453
  • 2
  • 6
  • 17
2
votes
2 answers

How do I run Munin plugins written in Ruby, using RVM?

I try to run some Munin plugins written in Ruby. I would like to use RVM, so Munin needs to know where to find Ruby. I tried to change the line calling munin-cron in the cron file as follows: */5 * * * * munin bash -c 'source /usr/local/lib/rvm…
rausch
  • 302
  • 2
  • 10