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

learn more… | top users | synonyms

1
vote
2answers
240 views

ruby or rvm ruby in Production web server

Currently our production server runs in system ruby. Passenger handles our rails apps. Should I move to handling my entire ruby stuff using rvm? What advantage can rvm give me in a production ...
2
votes
2answers
188 views

Whats better, Higher GHz and fewer cores or more cores with lower GHz for a ruby app [closed]

I just finished developing a web crawler that essentially allows users to crawl their site and it informs them on errors through out their site. However my app is very server resource intensive. it ...
0
votes
2answers
345 views

Google Apps Mail & sendmail on web server [duplicate]

Possible Duplicate: Outgoing mail from linux not being delivered I'm looking into simplifying my web server setup and migrating from a Verio MPS dedicated machine to a rackspace cloud ...
4
votes
3answers
4k views

Using Upstart to manage Unicorn w/ rbenv + bundler binstubs w/ ruby-local-exec shebang

Alright, this is melting my brain. It might have something to do with the fact that I don't understand Upstart as well as I should. Sorry in advance for the long question. I'm trying to use Upstart ...
1
vote
2answers
628 views

Simple DNS Server or Tool for Local Web App Development

When I develop web-apps I sometimes have to hard-code full URLs into my generated markup. Even though one can generally get by using relative URLs a la <a ...
0
votes
1answer
23 views

Determine flags used during 'configure' step of an installation after the fact

So in my case, I'm upgrading a Ruby install from a low patch level to a higher one. I wanted know exactly what flags, if any, were used in the previous ./configure step of the installation process. ...
0
votes
1answer
69 views

rvm “default” version implementation

According to the official site (http://beginrescueend.com/rubies/default/), the "default" setting of rvm controls the ruby version that is loaded "when you open a new terminal shell". I am wondering, ...
0
votes
1answer
62 views

rvm doesn't revert back to system ruby

I'll let the shell log explain itself: root:~# rvm current system root:~# which ruby /usr/bin/ruby root:~# rvm use 1.9.2 Using /root/.rvm/gems/ruby-1.9.2-p290 root:~# rvm current ruby-1.9.2-p290 ...
1
vote
1answer
429 views

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

Cron not able to find correct versions of ruby and bundler gem [duplicate]

I have cron running for rails application on EC2 instance, but it fails with error - /bin/bash: bundle: command not found if I run bundle command with ubuntu user or sudo user that works. I have ...
1
vote
1answer
641 views

How do I require a resource in a Puppet definition based on an array parameter?

I have a define that looks like this: define user::sys_user($fullname, $uid, $groups, $shell='/bin/bash', $authkey, $authkey_type=rsa) { $username = "sys_${name}" group { $username: ...
0
votes
3answers
865 views

how to point rubygems to use ruby 1.9.1?

[Debian squeeze] It has been surprisingly difficult to find an answer for this. I had ruby v1.9.1 installed (/usr/bin/ruby1.9.1), but after I then installed rubygems, it also installed ruby1.8 ...
0
votes
1answer
203 views

Which Ruby server for an app with lots of file uploads?

I'm currently building an application that will handle quite a lot of file uploads (images, so a few MB each). It'll also be handling mostly JSON requests on the frontend, behind a Javascript ...
2
votes
1answer
283 views

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, ...
1
vote
0answers
615 views

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 daemon: ...
2
votes
1answer
543 views

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 ...
2
votes
1answer
1k views

How do I get Apache's www-data to recognize RVm?

Problem: Apache/Passenger don't recognize RVM I have a multi-user install of RVM, per the canonical instructions: http://beginrescueend.com/rvm/install/ I then edited /etc/profile.d/rvm.sh to ...
0
votes
2answers
277 views

Install ruby 1.9.2 on debian production server

I have a problem install ruby 1.9.2 on debian using rvm. The install goes fine, and when i type rvm use 1.9.2 then it says: Using /usr/local/rvm/gems/ruby-1.9.2-p180 but when I type ...
0
votes
1answer
1k views

puppet dashboard fails to start

So here's the situation. I'm running Puppet on CentOS 5.7 64-bit, and on the puppet master I also have puppet-dashboard, however when I try to start it, I see the following: [root@puptest-master ...
1
vote
1answer
1k views

Cannot require 'rmagick' despite normal installation on Ubuntu (LoadError: no such file to load — rmagick)

I have installed all the dev files (sudo apt-get install libmagick++-dev libmagickcore-dev libmagickwand-dev) as well as the gem itself (gem install rmagick), and everything installed just fine, no ...
0
votes
1answer
553 views

Ruby/Passenger stops working after update to OpenSSL

Someone has run a yum update on the CentOS box (Linux 2.6.28.1-xxxx-std-ipv4-32 #2 SMP Fri Jan 30 09:55:02 UTC 2009 i686 i686 i386 GNU/Linux) that runs a Ruby on Rails app (Redmine) served with ...
1
vote
0answers
473 views

How are these AB Benchmarks for a ruby/unicorn/nginx/ app running on ec2?

I am preparing to go live with an app, and was wondering if someone can give me some insight on my benchmarks. How do they compare, what system level tweaks can I make to improve them etc. My setup ...
0
votes
1answer
506 views

Monitoring queue depth of resque/resque-scheduler

I'm looking for a way to monitor the "queue depth" of my resque and resque-scheduler redis instances. Currently I am using god to ensure the resque and resque-scheduler tasks are running, and I use ...
1
vote
1answer
204 views

Installed ruby from source on debian, apt-get no longer works due to failed dependencies, how do I fix it?

I installed ruby from source, and everything ruby related seems to work just fine. I can't install anything that depends on ruby using apt because I don't want 2 versions of ruby installed. After I ...
0
votes
2answers
801 views

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

Ruby via FastCGI and NGiNX?

I have NGiNX setup, and would like to be able to run sites I create in Ruby. However my server is pretty fail, only like 250mb memory, probably less, so instead of having to run each Ruby site with ...
1
vote
1answer
463 views

rvm fails to install any ruby

RVM gives me an error during installation of any version of ruby. Let's take for example ree-1.8.7-head rasfast@rasfast-home:~$ rvm install ree-1.8.7-head Installing Ruby from source to: ...
2
votes
2answers
2k views

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 ...
1
vote
2answers
276 views

error deploying app with Vlad, running a sudo command, to Ubuntu server

I'm a n00b when it comes to ssh, sudo and other unix things... so bear with me, here. i've got a rails website set up and deploying with vlad via ssh already. this works fine. now i need to have my ...
0
votes
1answer
62 views

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?
1
vote
1answer
259 views

Trouble installing Heroku taps gem using RVM

I tried to install the taps gem on my rvm, but got the following result: larson:~ larson$ rvm gem install taps Successfully installed taps-0.3.23 1 gem installed Installing ri documentation for ...
3
votes
2answers
2k views

Nginx redirect loop when using proxy_pass over SSL

We are using Nginx as a load balancer for our Rails app. Since we're are moving to a multicloud hosting solution, we want our load balancer to start using SSL for every connection when it's forwarding ...
0
votes
1answer
359 views

Installing latest stable ruby (1.9.2 p290) with apt-get

This is on a debian server. But is this possible?
2
votes
1answer
383 views

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

point domain to heroku app in cpanel

I have a cPanel server and my own nameservers and an app running at heroku. What I want is to use my cPanel account for mail and point my 'www' to APPNAME.heroku.com I've figured out that this can be ...
0
votes
2answers
814 views

Unicorn retains same PID when receives USR2?

So, I've been playing with a unicorn deployment on my personal server. There are a variety of reasons behind this - one of them being that I didn't particularly want to have to compile my own version ...
2
votes
2answers
173 views

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 ...
2
votes
1answer
2k views

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 ...
1
vote
2answers
218 views

Install debian package on ubuntu?

I want to install this on Ubuntu 10 or 11, any easy way to do that? http://packages.debian.org/sid/ruby1.9.1-full (related: I'm amazed that I can't find a third-party ubuntu package for ruby 1.9.2 ...
0
votes
1answer
122 views

Hosting for a Ruby on Rails application [closed]

I am a Ruby on Rails developer and I am planning to purchase an hosting space in order to publish my web application (I'm developing a small Social Network). This is my first time that I try to deploy ...
0
votes
1answer
241 views

Mac terminal unix questions. Trying to install showoff.io

I installed the gem according to the instructions at showoff.io, but when I try to run show 8888 it doesn't work and I get -bash: show: command not found In their faq, they mention running gem ...
1
vote
1answer
279 views

Ruby 1.8.7 on Plesk 9.5.4

I'm trying to get Ruby 1.8.7 installed on Plesk 9.5.4. I'm currently running 1.8.6 but gem requires a newer version of Ruby to be installed: /opt/ruby/bin/gem update --system Updating RubyGems ...
1
vote
2answers
494 views

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: ...
1
vote
1answer
882 views

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, ...
1
vote
4answers
1k views

How to install Ruby on a Linode server?

As the title says, what's the best way to install Ruby and then Ruby on Rails on a Linode server?
1
vote
3answers
2k views

Using gcc instead of SUNWspro cc in ruby mkmf for yajl on Solaris 10

How do I get mkmf to use gcc instead of /opt/SUNWspro/bin/cc on Solaris 10? I am trying to install chef using gem install chef. It is failing with: Building native extensions. This could take a ...
0
votes
1answer
2k views

/usr/bin/env: ruby1.8: No such file or directory

Problem Trying to setup CI Joe (https://github.com/defunkt/cijoe) and I get the following error: /usr/bin/env: ruby1.8: No such file or directory What I'm doing CI Joe is run as www-data, and the ...
0
votes
2answers
758 views

Unicorn installation error on Debian 5

I am running ruby1.9 on Debian 5, and did not manage to install 'unicorn' with rubygems. I got this error and do not really know how to solve it. Do you have any idea of the possible root cause ? ...
1
vote
1answer
444 views

How do I install Rake (Ruby on Rails)?

I want to install Ruby on Rails (I'm running a FreeBSD but don't want to use Ports for RoR) so this is a more generic unix/RoR question. Simply what is the best way to install Rake. ...
1
vote
0answers
117 views

Rails could not find gem

So if I try to start my server I get the error Could not find abstract-1.0.0 in any of the sources Try running bundle install. I run that and I get Using abstract (1.0.0) I also have the gem ...