Questions tagged [rubygems]

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.

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.

It is analogous to EasyInstall for the Python programming language.

RubyGems is now part of the standard library from Ruby version 1.9.

89 questions
17
votes
2 answers

check which version of rubygems installed on ubuntu?

How do I check which version of rubygems i have installed on my ubuntu box?
John
  • 7,153
  • 22
  • 61
  • 86
12
votes
2 answers

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
macek
  • 315
  • 2
  • 4
  • 10
8
votes
2 answers

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 environment: 1.3.7 / 10.10 - EXECUTABLE DIRECTORY:…
Kamiel Wanrooij
  • 257
  • 4
  • 14
7
votes
5 answers

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 CONFIGURATION: - :update_sources => true -…
jtzero
  • 171
  • 1
  • 7
6
votes
8 answers

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 systems when considering software updates and so on. How…
6
votes
3 answers

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 application?
user35042
  • 2,601
  • 10
  • 32
  • 57
5
votes
2 answers

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 Ruby on Rails projects on a Linux with a general…
khaos
  • 213
  • 2
  • 8
4
votes
2 answers

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 install knife-windows I get this error: ERROR: …
Eric Lathrop
  • 673
  • 1
  • 5
  • 9
4
votes
1 answer

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 gem dependencies. I found two ways of doing what I…
Spredzy
  • 955
  • 8
  • 11
3
votes
1 answer

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 6.3.0 with ruby 1.9.3 on my centos 6.3 vm. I tried…
mirage
  • 221
  • 1
  • 3
  • 11
3
votes
1 answer

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 bad behaviour especially if you want automate stuff.
user111277
2
votes
2 answers

How to fix conflict between diferent gem dependencies

Let's see if someone can help me with this, I have no idea what I'm doing. The server is a debian 8.4 , fully updated. And I also updated gems with 'gem update', all the posible errors and warnings have been fixed. I'm installing…
Marc Riera
  • 1,587
  • 4
  • 21
  • 38
2
votes
1 answer

Is there more than one provisioning technology named fog?

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 cloning ability of puppet. In any case, it seems fog…
Carl Carlson
  • 169
  • 4
2
votes
2 answers

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 => 'http://192.168.1.101:9292/', install_options => ['--no-ri',…
Bryan
  • 205
  • 1
  • 4
  • 13
2
votes
2 answers

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 removed but the gems remain…
Slinky
  • 957
  • 3
  • 14
  • 25
1
2 3 4 5 6