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
0
votes
1 answer

Could not find rake-10.1.0 in any of the sources

I've got a ruby on rails application (gitlab) which is installed via puppet. Everything on the test system runs fine, but production generates an error about rake Running /home/git/gitlab-shell/bin/check Could not find rake-10.1.0 in any of the…
spuder
  • 1,725
  • 3
  • 26
  • 42
0
votes
1 answer

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps on ruby 2.0, so I added 2.0 to rvm: …
rmagnum2002
  • 101
  • 4
0
votes
1 answer

When should Passenger, Unicorn, and Rack be used?

Reading about Puppet often Passenger, Unicorn, and Rack are mentioned, but I can't figure out what the purpose of these are. The website for Passenger says: Phusion Passenger is a web server and application server for Ruby (Rack) and Python…
Sandra
  • 10,303
  • 38
  • 112
  • 165
0
votes
1 answer

Monit & backgroundrb with custom gem paths

I'm trying to use monit to monitor a backgroundrb process (that gets killed occasionally), but I cant seem to seem the start or stop commands to work (i simply get 'execution failed') - though they do work fine from the command prompt. I'm not doing…
Vaughan Magnusson
0
votes
2 answers

Yum install libyaml has depsolving problems

Trying to get ruby up and running on a centos 5 box. yum install libyaml-devel Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository…
looneydoodle
  • 139
  • 2
  • 7
0
votes
1 answer

Ruby: hide WEBrick httpd version

I using OpenVZ Web Panel to manage my VPS servers and when I scanned my server with nmap I saw: PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 6.0p1 Debian 4 (protocol 2.0) 135/tcp filtered msrpc 139/tcp filtered netbios-ssn 445/tcp filtered…
Camorra
  • 11
  • 1
  • 1
0
votes
1 answer

How to use a common library of environment variables among different languages?

We have three main languages with which we perform system tasks: Bash, Ruby, and PHP, and Perl. Four, four main languages. We use managed environment variables to provide authorization info that automated scripts need. For example, a mysql user…
JDS
  • 2,598
  • 4
  • 30
  • 49
0
votes
1 answer

Passenger 4 preloader hangs

I set as usual a VM with a standard configuration of Apache + Passenger hosting a Rails 3.2 app. The app is working with Sphinxsearch 2.0.4 via the thinking sphinx gem. After the deploy, at first time the site is hit by an HTTP request, the typical…
fsoppelsa
  • 457
  • 1
  • 6
  • 12
0
votes
1 answer

Production redis server has 100% cpu usage

My production redis server has gone mad and has been hogging up 100% of CPU usage. I have done everything that I can from upgrading redis server to restarting the machine. I can't figure out what's causing it. Here's the redis.log > [851] 17 Jun…
zoras
  • 111
  • 1
  • 2
0
votes
1 answer

RVM autolibs for rubies in production environments

In production, once I was used to add some utility packages (like curl, ssl etc.) to the RVM distribution before installing rubies, just to be sure that no missing libs requirements warning or errors would be generated from the hosted…
fsoppelsa
  • 457
  • 1
  • 6
  • 12
0
votes
1 answer

RVM Not Finding Library

I am running CentOS 5.9 and installed RVM on it. However, whenever I run rvm requirements or rvm install 1.9.3, I get: --> Processing Dependency: libyaml-0.so.1()(64bit) for package: libyaml-devel --> Finished Dependency…
darksky
  • 135
  • 5
0
votes
1 answer

RubyGem installation can't find header files

I'm running Ruby 1.9.3 on CentOS 5.3. I installed it by compiling Ruby 1.9.3 from source, along with libyaml. I'm also using rbenv to manage versions, so I placed the compiled installation in ~/.rbenv/versions/1.9.3-p286, which is where rbenv keeps…
dsw88
  • 115
  • 4
0
votes
1 answer

How do I manage Ruby installations on production machines with sparse resources?

I have a virtual Debian host with about 256MB RAM running a little Rails application that won't need more. As Ruby 2.0 is coming along, it should be upgraded in the near future. The last time I upgraded Ruby, I had to stop the app and expand the…
pdu
  • 177
  • 15
0
votes
2 answers

mysql gem broken in debian testing?

I've been trying all night, and so far have been unable to compile the mysql gem for ruby on my Debian Testing 64Bit system. I believe it is because I have the openssl v1.0.0 library installed. Here is what I get when I try to install (using RVM…
Jarrett
  • 261
  • 1
  • 2
  • 7
0
votes
1 answer

Vagrant - Unable to up instance due to "librarian" not found (even though it's installed)

Quite a strange problem I'm having, basically I type "vagrant up" and I'm immediately presented with: Gem "Librarian" was not found. Try running `vagrant gem install librarian --no-ri --no-rdoc` Of course typing the above command (with or without…
Geesu
  • 235
  • 4
  • 10