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

Filter by
Sorted by
Tagged with
0 votes
1 answer
5k views

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 ...
zoras's user avatar
  • 111
0 votes
2 answers
483 views

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 ...
Jarrett's user avatar
  • 261
0 votes
1 answer
341 views

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 ...
Geesu's user avatar
  • 235
0 votes
1 answer
571 views

Trouble installing Redmine on CentOS 6.2 - undefined method db for main:object

I am trying to install RedMine on CentOS 6.2 but I am running into difficulties when I try to access the site. Using this guide, I have configured the following in environment.rb: # Load the rails ...
tacos_tacos_tacos's user avatar
0 votes
1 answer
2k views

Error installing new rails version. Failed to build gem native extension

I am trying to build my first ruby on rails app using the following guide (http://ruby.railstutorial.org/chapters/a-demo-app#code-demo_gemfile_sqlite_version_redux) and have run into a few obstacles. ...
davidcmolina's user avatar
0 votes
1 answer
139 views

securing a ruby on rails installation

I successfully used this tutorial: http://techbot.me/2010/08/deployment-recipes-deploying-monitoring-and-securing-your-rails-application-to-a-clean-ubuntu-10-04-install-using-nginx-and-unicorn/ for ...
perler's user avatar
  • 541
0 votes
1 answer
1k views

Rails app deployment challenge, not finding database table in production.log

I'm trying to setup PasswordPusher as my first ruby app ever. Building and running the webrick server as instructed in README works fine. It was only when I tried to add Apache ProxyPass and ...
Stefan Midjich's user avatar
0 votes
1 answer
309 views

sudo ./starling start works well but sudo service starling start fails

sudo ./starling start works well but sudo service starling start fails $ sudo ./starling start * Starting Starling Server... [ OK ] $ sudo ./starling stop * Stop Starling Server.....
Keating's user avatar
  • 101
0 votes
1 answer
82 views

Recommended way to install rubygems [closed]

There are server way to install rubygems Using apt-get: apt-get install rubygems1.8 Using rvm: bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)...
Howard's user avatar
  • 2,175
0 votes
2 answers
270 views

RubyGem on Debian

Hello I have this problem while installing many of the gems on my Debian 6 (upped to date). # gem install activemodel ERROR: While executing gem ... (NoMethodError) undefined method `call' for ...
Ximik's user avatar
  • 143
0 votes
2 answers
371 views

Cannot install ruby version on redhat

I have the following problem and whatever I try, nothing helps. I hope someone could help me with this. I have a redhat server and I'm trying to install redmine on it. Redmine needs Ruby >= 1.8.7 to ...
frietkot's user avatar
  • 111
0 votes
2 answers
441 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 server. ...
Frank R.'s user avatar
  • 103
0 votes
1 answer
45 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. ...
Abel's user avatar
  • 103
0 votes
2 answers
297 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 ...
jonepatr's user avatar
  • 405
0 votes
1 answer
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 ...
TuxOtaku's user avatar
0 votes
2 answers
1k 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 ruby-1....
Robert's user avatar
  • 261
0 votes
1 answer
455 views

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

This is on a debian server. But is this possible?
Jeremy Smith's user avatar
0 votes
1 answer
148 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 ...
Backo's user avatar
  • 101
0 votes
1 answer
3k 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 ...
sandstrom's user avatar
  • 498
0 votes
2 answers
1k 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 ? &...
Luc's user avatar
  • 518
0 votes
2 answers
240 views

Do I need to install nginx during the passenger installation

I am trying to install Passenger for Nginx: $ gem install passenger $ passenger-install-nginx-module During the installation Passenger want to compile and install Nginx. Is it necessary step? I ...
ceth's user avatar
  • 546
0 votes
3 answers
3k views

Is there a reliable RPM source for Redhat for Ruby 1.8.7?

I have looked but I am unable to locate a good RPM source for the latest 1.8.X release of Ruby. Is there one out there? This is going on a server to run some admin scripts and not to host Ruby based ...
Treffynnon's user avatar
0 votes
1 answer
4k views

"Options ExecCGI is off in this directory" When try to run Ruby code using mod_ruby

I am on Ubuntu, Apache 2.2 Installed the fcgi via apt-get then removed it via apt-get remove. Installed mod-ruby configuration I added to Apache: LoadModule ruby_module /usr/lib/apache2/modules/...
Itay Moav -Malimovka's user avatar
0 votes
2 answers
71 views

Setup Apache to run the same site, some parts with Django and some parts with RoR

I want to setup a website, say http://example.com so that requests to http://example.com/a/<...> would run on a RoR app and http://example.com/b/<...> would run in a Django app. Is it possible ...
donatello's user avatar
  • 746
0 votes
2 answers
409 views

Sqlite3-ruby installation issue

I'm trying to install sqlite3-ruby gem (or as it's now called, simply sqlite3) and whenever I run gem install sqlite3 it spits this out Building native extensions. This could take a while... ...
Patrick Gates's user avatar
0 votes
2 answers
205 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? ---...
jbcurtin's user avatar
  • 115
0 votes
2 answers
168 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, ...
Grav's user avatar
  • 115
0 votes
1 answer
154 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 ?
astropanic's user avatar
0 votes
2 answers
2k 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 ...
user41422's user avatar
  • 131
0 votes
1 answer
440 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 ...
BarsMonster's user avatar
0 votes
1 answer
107 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 ...
Joshua Enfield's user avatar
0 votes
1 answer
333 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 get ...
Phil's user avatar
  • 183
0 votes
1 answer
254 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 ...
Phil's user avatar
  • 183
0 votes
1 answer
258 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
roberto's user avatar
  • 76
0 votes
3 answers
1k 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
user avatar
0 votes
3 answers
2k 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. ?
thomasfedb's user avatar
0 votes
1 answer
769 views

Installing Redmine on bluehost [closed]

I'm installing redmine on a bluehost server, and thanks to scripts like this one, most of everything is covered (except the RAILS_ENV=production rake config/initializers/session_store.rb step). ...
jobu1324's user avatar
  • 495
0 votes
1 answer
1k views

Starting phusion passenger on working apache

I've got Apache (-v): Server version: Apache/2.0.63 Server built: Nov 29 2009 15:23:34 Cpanel::Easy::Apache v3.2.0 rev4899 I want to start new Sinatra application on passenger. I've just installed ...
fl00r's user avatar
  • 575
0 votes
3 answers
104 views

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. ...
Vidya's user avatar
  • 357
0 votes
5 answers
3k views

Multiple rack apps on nginx + passenger, one as root, the other not...config

So I've got two apps I want to run on a server. One app I would like to be the "default" app--that is, all URLs should be sent this app by default, except for a certain path, lets call it /foo: http:/...
user avatar
0 votes
3 answers
170 views

How to mark all packages under dev-ruby/ with keywords "~amd64" in portage?

I would like to use the ~amd64 test branch for dev-ruby/* packages.
Cheng's user avatar
  • 751
0 votes
1 answer
134 views

Capistrano deployment system, upgrade or migrate?

I'm using Capistrano to deploy a moderately complex web application built with Rails and some custom frameworks. There are about 15 roles and 30 hosts in the deploy list. For some unknown ...
lee's user avatar
  • 599
0 votes
1 answer
665 views

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 ...
user avatar
0 votes
0 answers
14 views

Openldap and ruby dont work with ruby command

Hi iam new in openldap and i have a problem know for 5 days iam searching for the fails but i cant find anything. Command is this here ruby publish.rb dev app100 password app101-x-requests its ...
cagi89's user avatar
  • 1
0 votes
0 answers
33 views

The way of logging at action of controller in Ruby on Rails for debug purpose

I am just trying to know if router is reaching to specific action of controller. In js, we are using console.log and var_dump in php. I tried with puts but it didn't work and I think it's because of ...
Alan Daniela's user avatar
0 votes
2 answers
257 views

rb_sys_fail_path_in(rb_file_s_rename, (filepath1, filepath2)- errno == 0 error when running a newly installed version of chef

I have 1 box that seems to not want to run chef, while I have 5 other identical boxes that are working just fine using the same rhel and chef versions. On the non-working box, Chef runs correctly when ...
Alexander Brehm's user avatar
0 votes
1 answer
1k views

AWS ElasticBeanstalk: Early termination of worker [puma] Loading development - gems?

I'm currently upgrading rails from 6 to 7 and so had to upgrade my eb platform-version as well (to run ruby-3.0). Now puma isn't able to start and always looping through: [13033] + Gemfile in context: ...
metafoo's user avatar
0 votes
0 answers
89 views

Extra trailing slash when re-directing www to non-www

This is my current configuration: server { if ($host = www.mywebsite.com) { return 301 https://mywebsite.com$request_uri; } # managed by Certbot if ($host = mywebsite.com) { ...
Dr.Kameleon's user avatar
0 votes
1 answer
2k views

Passenger not running (Ruby on Rails + Nginx)

My AWS instance was working fine with my app. But, today, the server was down without memory ram. Then I run: sync; echo 1 > /proc/sys/vm/drop_caches sudo service nginx start After that, ram ...
Diego Somar's user avatar
0 votes
0 answers
3k views

Getting 502 response upstream prematurely closed connection while reading response header from upstream on elastic beanstalk using Nginx + puma

I'm getting this error in log files. it happens when a person reloads page many times. other than that website is working fine. I'm using elastic beanstalk with Nginx + Puma. upstream prematurely ...
Muhammad Umair Raza's user avatar

1
6 7
8
9 10