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

Recommended way to install rubygems

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) Compile from source Which one is better method?
Howard
  • 2,135
  • 13
  • 48
  • 72
0
votes
2 answers

Apache Passenger displaying my Rails application contents?

I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails. I have setup a site on dev.localhost, which is my ruby app. The app is called my_project which resides in…
0
votes
1 answer

RVM permission denied on Ubuntu 11.10

I've been through all tutorials and solved problems I can find about RVM. There's something wrong with permissions. There are no rubies installed, and when I try to install one: "permission denied". I can't even do rvm implode without "permission…
0
votes
2 answers

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 nil:NilClass # ruby -v ruby 1.8.7 (2010-08-16…
Ximik
  • 143
  • 1
  • 6
0
votes
2 answers

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 run so I installed it and when I execute ruby -v…
frietkot
  • 111
  • 2
0
votes
1 answer

Why won't rvm execute?

I installed RVM with gem install rvm. gem list shows rvm installed. But when i type the command rvm, I get command not found. Where is the rvm bin?
cat pants
  • 2,273
  • 10
  • 35
  • 46
0
votes
2 answers

Google Apps Mail & sendmail on web server

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. One of the things I least relish is setting up mail…
Frank R.
  • 103
  • 2
0
votes
1 answer

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. Is there a way to determine this unilaterally? At…
Abel
  • 103
  • 4
0
votes
1 answer

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, how exactly does rvm implement this…
omnilinguist
  • 121
  • 3
0
votes
1 answer

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 root:~# which…
omnilinguist
  • 121
  • 3
0
votes
1 answer

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

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 added cron using crontab -e command. Some…
rtdp
  • 167
  • 2
  • 8
0
votes
3 answers

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 (/usr/bin/ruby1.8), and all the commands I run on gem…
omnilinguist
  • 121
  • 3
0
votes
1 answer

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 application. Which Ruby server would be my best bet for…
robotmay
  • 115
  • 1
  • 5
0
votes
2 answers

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 ruby -v I get ruby 1.8.7 (2010-08-16 patchlevel 302)…
jonepatr
  • 405
  • 1
  • 4
  • 7
0
votes
1 answer

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 puppet-dashboard]# script/server -e production NOTE:…
TuxOtaku
  • 59
  • 7