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

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in /home/web/sites/app1 /home/web/sites/app2 /home/web/sites/app3 app1…
0
votes
2 answers

Missing these required gems: mongrel (but installed)

i am trying to install new plugins for redmine 1.4.4. Having copied folder and run rake db:migrate_plugins RAILS_ENV=production rake wrote: Missing these required gems: mongrel >= 0 You're running: ruby 1.8.7.370 at C:/Ruby187/bin/ruby.exe …
WISEMAN
  • 3
  • 1
0
votes
2 answers

Skipping a "Press certain key to continue" in a bash script

I'm installing RVM for Ruby with the following command: curl -L https://get.rvm.io | sudo su myuser -c "bash -s stable --rails" I specifically need it to be installed under that user - and it will work, but it requires the user to intervene by…
TJ Biddle
  • 161
  • 1
  • 6
0
votes
1 answer

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 our ruby on rails server. but I wonder if this…
perler
  • 531
  • 2
  • 6
  • 10
0
votes
1 answer

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 ProxyPassReverse that the page load slowed down to…
Stefan Midjich
  • 177
  • 1
  • 3
  • 12
0
votes
2 answers

MCollective cannot load the Stomp library?

CentOS 5.5 I'm facing with this problem when restarting mcollective: # service mcollective restart Shutting down mcollective: Starting mcollective: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to…
quanta
  • 51,413
  • 19
  • 159
  • 217
0
votes
1 answer

Running application from a different directory

I currently have Redmine setup in /usr/share/redmine and I would like to keep /usr read only. I want to be able to run the application out of /srv/redmine. I am using the debian package. The location where the redmine source is located,…
wonbyte
  • 115
  • 6
0
votes
1 answer

Nginx - Passenger - Rails 3.2 not responding

I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup. here is what I already did: installed passenger gem installed rvmsudo passenger-install-nginx-module I added this to my nginx conf at…
alex
  • 93
  • 1
  • 6
0
votes
2 answers

How to install Phusion Passenger using RVM on Rackspace server?

I am getting ready to start hosting my own Ruby applications. I already have RVM installed on my production server. Now I would like to install Passenger. I have Ruby 1.9.2 set as the default. I installed the passenger gem and ran…
Andrew
  • 3,453
  • 9
  • 33
  • 36
0
votes
1 answer

Rails on Dreamhost dedicated alongside existing PHP apps

I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites (all have the same IP). I'm fine to go with…
0
votes
1 answer

How do I connect to MSSQL server from Linux

I need a read-only access to a MSSQL server from a Linux box (more precisely, from a Heroku Cedar stack via Rails). Is it doable?
Alexei Averchenko
  • 261
  • 1
  • 2
  • 7
0
votes
1 answer

memory tuning with rails/unicorn running on ubuntu

I am running unicorn on Ubuntu 11, Rails 3.0, and Ruby 1.8.7. It is an 8 core ec2 box, and I am running 15 workers. CPU never seems to get pinned, and I seem to be handling requests pretty nicely. My question concerns memory usage, and what concerns…
Geremy
  • 103
  • 4
0
votes
1 answer

Ruby Passeger + Nginx or lighthttpi + fgci for shared hosting

I have set up a passenger + nginx setup and I plan to offer a free non-commercial hosting (or in fact on the fly deployment) for rack-based frameworks (e.g. camping, sinatra). I am facing an "issue" with passenger. For each application you need to…
devnull
  • 188
  • 1
  • 8
0
votes
1 answer

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... [ OK ] $ sudo service…
Keating
  • 101
  • 3
0
votes
3 answers

cannot load such file -- OpenSSL (LoadError)

I'm having an issue with an uncooperative EC2 Ubuntu 10.04 4 LTS instance. I'm trying to install a few prerequisites for a Ruby web app which has the following dependencies: require 'rubygems' require 'webrick/https' require 'OpenSSL' require…
upbeat.linux
  • 275
  • 4
  • 12