RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem"), a tool designed to easily manage the installation of gems, and a server for distributing them.

learn more… | top users | synonyms

6
votes
8answers
749 views

gem vs apt-get in a server environment

Where should I draw the line between using apt-get and gem when setting up a server to host ruby on rails with passenger + apache? Does it even matter? It feels wrong to mix package management ...
6
votes
2answers
4k views

How does `sudo` search the path for executables?

I am using rubygems (1.3.7) with gems that require root privileges on Ubuntu 10.10. When I compare my setup to an ubuntu 9.10 with rubygems 1.3.6 installation, I see the following difference in gem ...
5
votes
2answers
12k 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
5
votes
2answers
220 views

maintenance/installation of ruby gems/ruby on rails on Linux in general and Gentoo

I am currently looking into Ruby/Ruby on Rails as an alternative to Python/Django. My main problem is that it is rather unclear what the best practices are when it comes to installing Ruby gems and/or ...
5
votes
3answers
5k views

How do you uninstall the rubygem application?

We have installed the rubygem application (version 1.3.6) on a Debian system by downloading the rubygems tar.gz archive and running the setup.rb command. What is the best way to uninstall this ...
4
votes
2answers
12k views

check which version of rubygems installed on ubuntu?

How do I check which version of rubygems i have installed on my ubuntu box?
4
votes
5answers
2k views

RVM not picking up /etc/gemrc

in a system wide RVM .... heres my /etc/gemrc --- gem:--no-ri --no-rdoc heres the system gem env GEM PATHS: - /usr/lib/ruby/gems/1.9.1 - /home/${USER}/.gem/ruby/1.9.1 GEM ...
3
votes
2answers
711 views

How to make Chef-Server use Ruby 1.9 on Ubuntu?

I've installed Chef Server on Ubuntu 12.04 using the official instructions, which uses the "omnibus installer" that has embedded ruby 1.8.7. I'm trying to install knife-windows, but when I run gem ...
2
votes
1answer
65 views

Is there more than one provisioning technology named fog? [closed]

I have a puppet installation in which I tried to check the fog version (for cloud provisioning), but I got no response so I assumed it was not installed. I need fog in order to utilize the vmware ...
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 ...
2
votes
4answers
3k views

ruby on rails gitorious setup on ubuntu

Ive been trying to install gitorious for a while now which required ruby and rails etc. Ive finally got rails pages serving but cant finish the installation of gitorious because the gem version is too ...
2
votes
1answer
492 views

Memcache on ubuntu server lucid and ruby 1.9.1

I'm trying to set up a memcache server on the above setup. I'm getting the following error: /var/lib/gems/1.9.1/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:443:in ...
2
votes
2answers
518 views

Is removing ~/.rvm/ all I needed to perform a clean re-install

I have installed ruby and gems under ~/.rvm/, now I want to re-install all the stuffs agaain. Are there any modifications/links live outside of this folder? So, by just removing the folder ~/.rvm/ is ...
1
vote
5answers
5k views

Installing Mysql Ruby gem on 64-bit CentOS

I have a problem installing mysql ruby gem on 64bit CentOS machine. [jacekb@vitaidealn ~]$ uname -a Linux vitaidealn.local 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 ...
1
vote
2answers
743 views

Puppet fails to install Rubygem that installs fine normally

I'm using the following to try and install a Rubygem with Puppet. package { 'reaper': ensure => 'installed', provider => 'gem', source => ...
1
vote
1answer
574 views

segfault in timeout.rb using gem with ruby enterprise edition (ree-1.8.7) [closed]

I'm attempting to install a gem on my new Ubuntu 12.10 (GNU/Linux 3.6.5-x86_64-linode28 x86_64) server, and I'm getting a segfault in timeout.rb . I've installed rvm, and ree, and getting this error ...
1
vote
2answers
3k views

How to verify PostgreSQL 9 has installed correctly on a CentOS server?

I'm trying to install the PG (postgres) gem on a CentoOS server, but it keeps saying Postgres is too old, even though I have upgraded it to 9.1.3 (as per the instructions here ...
1
vote
3answers
1k 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 ...
1
vote
1answer
363 views

Error 302 when installing rake gem

i try to install rake on my clean lenny server, i get the following error: Updating installed gems ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Found 302 ...
1
vote
1answer
91 views

Ruby gems issue on Openshift origin on fedora 20

I meet some problem when checking bundle dependency on cd /var/www/openshift/broker bundle --local This is the error message, Bundler could not find compatible versions for gem "activesupport": ...
1
vote
1answer
105 views

Reload Puppet gem provider source

So I've got Puppet Enterprise 2.7 on a "master" node, puppetentmaster. While working to craft new recipes for installing Ruby 2.0 on a "client" node, I noticed if I forced the client to begin using ...
1
vote
1answer
199 views

RPM Package a ruby project

I want to package a ruby program that I get from git into a RPM package. I have at my disposition a build server and a production server (Same OS / Same Arch). As most ruby project, mine does have ...
1
vote
2answers
259 views

How do I completely remove all Ruby gems?

I am trying to completely remove my Ruby and Rails installation. After uninstalling Ruby with apt-get remove ruby1.9.1 I see that all the Ruby stuff like ruby, rake and irb from "/usr/bin" was ...
1
vote
1answer
362 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. ...
1
vote
1answer
253 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 ...
1
vote
1answer
270 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
1answer
541 views

How to install mysql gem under OS X

When installing the ruby mysql gem by doing: sudo gem install mysql Subsequent rails migrations still fail, with a message like: $ rake db:migrate (in /Users/guy/code/project) rake aborted! ...
1
vote
1answer
430 views

Why won't ruby recognize Haml under ubuntu64 while using jekyll static blog generator?

I have been trying, quite unsuccessfully, to run henrik's fork of the jekyll static blog generator on Ubuntu 64-bit. I just can't seem to figure this out and I've tried a bunch of different things. ...
1
vote
3answers
2k views

How can I uninstall software from an RHEL 5 system?

I installed Rubygems 1.3.4 on an RHEL 5 system. The way you install that is to download source and run setup.rb. I did not find a package for it through yum list available. Now I'd like to uninstall ...
1
vote
0answers
262 views

Chef, installation of nokogiri with system libraries fails on Centos 6.5

I'm trying to fix a recipe that needs the gems nokogiri and savon on Centos 6.5. Since the simple chef_gem 'nokogiri' require 'nokogiri' chef_gem 'savon' require 'savon' does not work (chef says ...
1
vote
0answers
152 views

GitLab, error while installing Gems, libmysqlclient-dev probabily missing but unistallable

So, while I was installing GitLab following the official tutorial I got an error on the Gems installation. Gem files will remain installed in ...
1
vote
0answers
117 views

Sensu gem installation in Windows. How to use it? [closed]

I need to install the sensu 0.12 version on some windows 2008r2 servers over here. The problem is that the latest available .msi is for the 0.10.x version and that causes me some compatibility problem ...
1
vote
0answers
512 views

bundler: command not found: unicorn_rails

While restarting gitlab I get this: Starting both the GitLab Unicorn and Sidekiqbundler: command not found: unicorn_rails Install missing gem executables with `bundle install I installed gitlab ...
1
vote
0answers
41 views

Install gems of ruby 1.9 bins without suffix in openSuSE

I got issue on my openSuSE instances. By default in openSuSE after installation by gem utility (gem install some_app) you will got something like that: # some_app1.9 # chef-solo1.9 etc. That a ...
1
vote
1answer
92 views

require a gem in a ruby script fails at boot time

I am booting using a machine using chef. I need it to install a init.d script which it does and when the script is invoked at the end of chef run the script fails on the require 'daemons' line (shown ...
1
vote
0answers
118 views

ArgumentError (invalid date) on redmine

Have installed redmine on ubuntu 10.04 LTS but when I add quotes or comments to an issue I get this error: ArgumentError (invalid date): /usr/local/lib/ruby/1.8/date.rb:752:in `civil' ...
1
vote
1answer
52 views

When you have a server and don't use RVM, do you sudo gem install or just gem install?

When you set up a Linux server with Ruby on Rails on it, and you're not using RVM, is the best practice to sudo gem install [gem] or gem install [gem]. I'm using the second approach, and storing my ...
1
vote
0answers
195 views

gem mirror segfaulting

I'm trying to create rubygems mirror on my VDS doing the following: $ gem mirror $ gem generate_index -d /home/rubygems/mirror The problem that each time I run first command ruby segfaults with ...
1
vote
1answer
173 views

How best to automatically deal with multiple site_ruby locations?

Is there a way to automatically append to $: variable in ruby to account for additional site_ruby locations? Ruby is installed in /usr/local/ and using gem_install will properly install the new ruby ...
0
votes
3answers
2k views

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' ...
0
votes
3answers
780 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
237 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 ...
0
votes
2answers
640 views

Installing gem MySQL failed

I'm installing mysql gem on Amazon AMI 2010.11.1 and I'm having the next problem: # gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ...
0
votes
1answer
16 views

What's the current, “correct” way to bundle gems for a Rails app with system-wide RVM-installed Ruby?

I got ruby installed system-wide by doing: \curl -sSL https://get.rvm.io | sudo bash -s stable and then: sudo /usr/local/rvm/bin/rvm install 2.0.0 I'm still not positive that was actually ...
0
votes
1answer
402 views

How to update curl version on ubuntu 8.04?

On my system 8.04, curl 7.18.0 is installed: curl --version shows: curl 7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 Protocols: tftp ftp telnet dict ldap ldaps ...
0
votes
1answer
142 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 ...
0
votes
1answer
815 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. ...
0
votes
1answer
251 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 ...
0
votes
1answer
75 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 ...
0
votes
1answer
130 views

Phusion Passenger without RVM

Usually I use RVM + Passenger for my rails applications. Recently, however, I needed to use Passenger without RVM. And I'm confused about gem location. What's the location of gems that Passenger ...