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.

88 questions
1
vote
1 answer

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. Originally I posted this over at stackoverflow,…
user20018
1
vote
1 answer

Problems installing gems with native extensions on Amazon Linux

When I try to install gems like ohai and fpm on my Amazon Linux EC2 instance I get the error message: [ec2-user@ip-172-31-43-16 ~]$ sudo gem install ohai Building native extensions. This could take a while... ERROR: Error installing ohai: …
Ernest Mueller
  • 1,199
  • 2
  • 12
  • 25
1
vote
0 answers

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 that patching libxml2 2.8.0 returned an…
1
vote
0 answers

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 /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/mysql2-0.3.11 for inspection. Results logged to…
elect
  • 203
  • 4
  • 17
1
vote
1 answer

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 gem 2.0 I would run into errors like: err:…
Joe
  • 492
  • 4
  • 15
1
vote
5 answers

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 GNU/Linux Mysql and mysql-devel packages are…
Jacek
1
vote
1 answer

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 http file https ftps Features: GSS-Negotiate IDN…
umar
  • 135
  • 1
  • 10
1
vote
1 answer

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 below). I have a print before and after the…
av501
  • 113
  • 5
1
vote
3 answers

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 http://www.davidghedini.com/pg/entry/install_postgresql_9_on_centos). I…
A4J
  • 277
  • 2
  • 4
  • 10
1
vote
3 answers

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 it because I've decided to use a different version…
Agvorth
  • 2,459
  • 4
  • 29
  • 29
1
vote
1 answer

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 taps-0.3.23... Installing RDoc documentation for…
1
vote
1 answer

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 Updating rubygems-update ERROR: While executing gem ...…
Prisoner
  • 316
  • 1
  • 17
1
vote
3 answers

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 while... ERROR: Error installing chef: ERROR:…
Sarge
  • 189
  • 2
  • 8
1
vote
1 answer

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 gems in a user ~/.gems directory and just having…
dan
  • 847
  • 2
  • 9
  • 11
1
vote
1 answer

-bash: /usr/bin/ruby: No such file or directory

I have installed ruby 1.9.2 on my centos server as per this tutorial - http://blog.jeffcosta.com/2010/09/10/7-steps-to-rails-on-centos/ It says that it should be installed to the following…
jaz9090
  • 111
  • 1
  • 4