Ruby is a programming language that is mostly used nowadays as part of Ruby On Rails

learn more… | top users | synonyms

0
votes
1answer
705 views

-bash: /usr/bin/ruby: No such file or directory

I have installed ruby 1.9.2 on my centos server as per this tutorial - http://blog.jeffcosta.com/2010/09/10/7-steps-to-rails-on-centos/ It says that it should be installed to the following locations: ...
0
votes
3answers
206 views

ruby 1.8.7 makes and installs on Centos 5.5 but won't run

I've downloaded ruby-1.8.7.p334 ruby-1.8.7.p334.tar.gz from ftp.ruby-lang.org, and decompressed it. When I did ./configure , it complained about no suitable c compiler, so I didyum install gcc. Then ...
1
vote
0answers
187 views

Ruby On Plesk 10

I am trying to run a Ruby (not Ruby On Rails) hello world page 'helloworld.rb' on my plesk server but am unable to get it to work (it just outputs the code). I know that ruby is installed on the ...
0
votes
1answer
360 views

Installing Redmine on Ubuntu 10.04

I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: sudo apt-get install redmine redmine-sqlite redmine-mysql It walked me through things and I configured ...
1
vote
1answer
321 views

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets ...
0
votes
1answer
544 views

Getting “Insecure world writable dir /home/chance ” in PATH, mode 040777 for Rails and Gem on Ubuntu 10.10

I've tried this but it didn't work and seemed to be for osx. I have a fresh Ubuntu 10.10 (x64) install with rvm, rails 3 and ruby 1.9.2. I have a new rails app but using either gem or rails results in ...
0
votes
2answers
126 views

Install ruby via MacPorts on 10.6.6 ( Checksum error )

I seem to be getting a checksum error, being new to macports and not that great with package mangers in general other then searching and installing. How would I go about getting past this issue? ...
1
vote
2answers
535 views

Installing sqlite gem fails on AWS Linux instance with sqlite-devel libraries installed

I'm running an instance built off ami-595a0a1c. I am trying to install the sqlite3 (or sqlite) gem and it's failing with the below error: $ sudo gem install sqlite3 Building native extensions. This ...
1
vote
1answer
680 views

Troubles installing/starting Redis via Resque

Trying to complete instructions for Resque/Redis installation here: https://github.com/defunkt/resque/blob/master/README.markdown Am stuck at where I'm trying to start up Redis via Resque at the ...
2
votes
2answers
1k views

Changing PATH Environment Variable for all Users. (Ubuntu)

I recently compiled Ruby Enterprise Edition (REE) on an Ubuntu 8.04 server. I would like to update my PATH to ensure this new version of Ruby (found in /opt/ruby_ee/bin) supersedes the older version ...
1
vote
1answer
1k views

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

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

Install Ruby gems via gems or using apt-get on Debian

I would like to install gitorious on my Debian squeeze server. For doing so I have to install some gems like the ruby database driver for MySQL. I have the choice of using a Debian package and ...
0
votes
2answers
132 views

RubyGems: sqlite3 too old, and no sudo

I have an account on a server that is not a super user. Because of this I've used RVM to install Ruby, and I've also installed a few gems. However, the sqlite3-ruby gem does not want to install, ...
0
votes
1answer
123 views

ruby-1.8.6-p144 on Ubuntu 10.04 [RVM]

wopi@wopi-desktop:~/.rvm/src$ cat /etc/issue Ubuntu 10.04.2 LTS rvm install ruby-1.8.6-p114 gives me errors: https://gist.github.com/814261 How I can install it ?
0
votes
2answers
1k views

Unicorn 3.3.1 and Rack 1.1.0 issues?

I'm upgrading from the Ruby Enterprise Edition 1.8.6 to the latest 1.8.7 version with Unicorn to facilitate an upgrade to Rails 2.3.10, and am running into some issues. Should I uninstall the older ...
6
votes
4answers
3k views

How can I execute Ruby scripts via Apache (not necessarily using Rails)?

I'm trying to get Apache to interpret my Ruby files but I don't understand how to do it. I'm not concerned with Rails right now, only Ruby. What I've found by Googling only confuses me. Any advice?
12
votes
4answers
4k views

Is it possible to skip .rvmrc confirmation?

We are using RVM for managing Ruby installations and environments. Usually we are using this .rvmrc script: #!/bin/bash if [ ! -e '.version' ]; then VERSION=`pwd | sed 's/[a-z/-]//g'` echo ...
0
votes
1answer
330 views

ROR + Passenger: Memory consumption

I am optimizing my VPS where I unfortunately have to run ROR under passenger. I've set it up so that it shutdown all application instances after 1 minute idle time, but there is still substancial ...
0
votes
1answer
332 views

Passenger on Debian failed with “only ET_DYN and ET_EXEC can be loaded”

I tried to install passenger using rvm and ruby 1.9.2 on my debian lenny/sid today, but i get this error: apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Syntax error on line 1 of ...
1
vote
3answers
858 views

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?
2
votes
2answers
943 views

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 * * ...
0
votes
2answers
669 views

Sending email with exim and external sender address

i have following problem: i want to send emails with an rails webapp. i set up an exim server and when looking into the logs, the sending works, but the emails aren't sent really. i had the same ...
0
votes
1answer
444 views

MySql gem installation failure

I'm attempting to install a mysql gem on my workstation with this command gem install mysql-2.8.1.gem output : > Building native extensions. This could take a while... ERROR: Error installing ...
3
votes
1answer
923 views

Is there a Ruby/ERB cheat sheet for puppet users not familiar with Ruby in general?

I'm still getting to grips with puppet and starting to mess around with templating, which is based on Ruby's ERB system. I am not familiar with Ruby in general, does anyone know of a cheat sheet for ...
1
vote
2answers
609 views

Ruby + ImageMagick = RMagick on CentOs

cat /etc/issue CentOS release 5.5 (Final) uname -r 2.6.18-194.11.1.el5 Can't install RMagick 2.13.0. Can't find Magick-config In the log I have found: Can't install RMagick 2.13.0. Can't find ...
1
vote
2answers
1k views

How can I edit puppet .pp files with Eclipse & DLTK

The puppet editor tips page seems to suggest that using eclipse & dltk (presumably the ruby tools) will assist with editing .pp files. http://projects.puppetlabs.com/projects/1/wiki/Editor_Tips ...
0
votes
1answer
74 views

Mongrel restarting just one port?

I have a mongrel cluster setup across six ports. I understand how to restart the cluster. It would be nice if I could do plugin testing for our Redmine install and not have to interrupt the teams ...
1
vote
1answer
103 views

Puppet keeps trying to install mongrel

I'm using Puppet to administrate my servers and one of the things I'm doing is installing Mongrel from the Gem: package { mongrel: provider => gem, ensure => latest, require => ...
2
votes
2answers
1k views

What is the best AMI to use in Amazon for a Ruby server?

I have previously installed instances of Amazon EC2 servers. I know that it takes a while to get MySQL, Postgres, Rubygems, Ruby, etc.. installed on the server. I'm wondering if there is a better ...
2
votes
1answer
1k views

Using Monit to monitor Resque

I'm trying to use resque as a job runner for Rails. I've tried this config, and many other ways of demonizing the rescue task (because running rake resque:work leaves the terminal tied to that ...
4
votes
4answers
1k views

Is it possible to install precompiled Ruby versions with RVM?

I'm using EC2 and sometimes launch servers that I want to use only for a short time. Usually I want to install some version or versions of Ruby on them, and for this RVM is very convenient -- if it ...
5
votes
2answers
8k views

How to setup Ruby and RubyGems on CentOS?

I have a CentOS 5.5 (64-bit server) I'd like to install Ruby 1.8.7 (current patch level) and RubyGems What's the best way to go about this? disclaimer: I'm a CentOS noob
0
votes
1answer
2k views

Installing redmine on ubuntu 10.10

I ditched my attempts to install redmine on a CentOS machine and instead wiped it and installed Ubuntu 10.10 on it as this seemed to work in a lot of attempts I've seen online. Not for me though.. I ...
0
votes
1answer
142 views

Change version of ruby does not work on CentOS

I'm trying to change version of the running ruby on a CentOs machine. -# rvm use ruby-1.9.1-p378 -# ruby -v -# ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] It is installed (by rvm) and I ...
0
votes
1answer
219 views

ruby on rails on CentOS?

I'm trying to install RedMine (www.redmine.org) which is an awesome project management tool. I have access to a CentOS machine which is supposed to host it. I found some guide specifying how to ...
1
vote
2answers
1k views

Puppet- ERB template- Question about defined classes

Puppet template files are erb rails files. I want the line: Include modsecurity.d/*.conf To be included in the final file if the class mod_security is included. From the puppet docs: ...
0
votes
1answer
181 views

Cannot get ruby bluepill gem to install on ubuntu

i install bluepill on ubuntu: Linux auto 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 GNU/Linux Actual Result: root@auto:/# gem install bluepill Successfully installed ...
0
votes
1answer
161 views

How can I debug these runaway ruby processes?

Seemingly out of nowhere (I didn't make any code changes or server changes), I've got dozens of ruby processes running my server into the ground: How can I track down what all of those processes ...
0
votes
1answer
533 views

Passenger 'premature end of script headers' error

I really need help debugging an error I'm getting with Passenger on Apache. I've just made a fresh install of Ubuntu 10.4 and have Apache, Ruby and Passenger installed. I'm trying to run a simple ...
0
votes
1answer
194 views

ruby script for jabber nagios alerts

I'm looking for a ruby script for have nagios jabber alerts. Someone knows some script or api ? thanks
8
votes
3answers
2k views

How to run Gollum using mod_rails and Apache in a shared hosting environment (e.g. Dreamhost)?

Gollum is GitHub's new wiki engine written in Ruby. Deployed locally it uses a Sinatra instance to provide a web interface. Is it possible to run it in a shared hosting environment such as Dreamhost ...
0
votes
3answers
214 views

Does restarting a mongrel web server instance linked to a Ruby Rails application have the effect of recompiling the Ruby code?

I know if I make a change to a Rails\Ruby application that restarting mongrel is required to see the changes take effect. I was just curious if mongrel actually uses a compiled version of the ...
2
votes
1answer
24 views

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

Mongrel cluster returning page source

I've setup a mongrel_rails cluster which worked correctly until I decided to reinstall ruby/rails/mongrel. I'm able to get an output when I visit the website, but I'm obtaining the page source ...
0
votes
1answer
610 views

Compiled ruby fails to find curses

I'm attempting to install the sup MUA but I'm having trouble. When I try to run it, it can't find curses: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no ...
0
votes
3answers
937 views

How to install Unicorn in ubuntu 10.04 [closed]

I want to know how to install the unicorn on ubuntu 10.04 and configure it and compile the source code and run the validation on console version
0
votes
3answers
2k views

Rails 3 shows 404 error instead of index.html (nginx + unicorn)

I have an index.html in public/ that should be loading by default but instead I get a 404 error when I try to access http://example.com/ The page you were looking for doesn't exist. You may ...
0
votes
1answer
149 views

How do you keep a ruby project running?

I currently have a Redmine installation on a local server for our office to use. The problem is that sometimes, when I run the redmine server using: ruby script/server webrick -e production it ...
1
vote
2answers
392 views

New to Ruby on Rails, having socket trouble with MySQL (on Mac OS X)

This is my first question on serverfault, although I have used stackoverflow before. I am in a Ruby on Rails class over this summer and need to get RoR running ASAP. I used MacPorts to install Ruby, ...
0
votes
3answers
471 views

Start ruby script at boot as particular user

wondering how I can have a ruby script started at boot, as a particular user. This is on centos, so I imagine i need to create a service. ?

1 3 4 5 6 7