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
2
votes
1 answer

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

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 when I attempt to use install…
Bee
  • 169
  • 6
2
votes
1 answer

Dependency issues while installing curl-devel

I'm trying to run the passenger-install-apache2-module so I can install Redmine on CentOS 5.8, but passenger-install-apache2-module tells me I need Curl development headers with SSL support, which it tells me I can install using yum install…
Hosh Sadiq
  • 106
  • 3
  • 15
2
votes
2 answers

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 okay for me to start over?
Howard
  • 2,135
  • 13
  • 48
  • 72
2
votes
1 answer

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. "gem install rails" worked fine on my system ruby…
omnilinguist
  • 121
  • 3
2
votes
1 answer

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 admin@example.com and password to something else. Or how to…
Moon
  • 119
  • 1
  • 6
2
votes
4 answers

ruby on rails gitorious setup on ubuntu

I've been trying to install gitorious for a while now which required ruby and rails etc. I've finally got rails pages serving but can't finish the installation of gitorious because the gem version is too new. The error logs say please run 'rake…
dogmatic69
  • 340
  • 1
  • 6
  • 18
2
votes
1 answer

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 `load_missing_constant': uninitialized constant MemCache…
Thiago
  • 287
  • 1
  • 2
  • 7
2
votes
1 answer

Puppetserver unable to locate gems

I'm trying to use a module which adds an AWS Secrets Manager hiera backend: https://forge.puppet.com/accenture/hiera_aws_sm This module requires the aws-sdk-secretsmanager gem, which I installed via puppetserver: $ sudo puppetserver gem install…
Taz
  • 147
  • 3
  • 16
1
vote
1 answer

Problems installing Ruby gem on Gandi VPS Debian 9 server

I have a Gandi Debian 9 server that I use for web page hosting. I am trying to install a Ruby gem on the system but it looks like I am either being blocked from installing gems or I need to setup my system to install gems. This is what I've done to…
Dodzi Dzakuma
  • 169
  • 2
  • 8
1
vote
1 answer

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! uninitialized constant MysqlCompat::MysqlRes (See full…
1
vote
1 answer

Saltstack Cannot Find Bundle

Maybe I don't understand how cmd is working, but here is some of the config I am using. This used to be a jruby install but we are moving to MRI, hence the jruby username: /home/jruby/tmp/rvm-install.tgz: file.managed: - source:…
Du3
  • 111
  • 1
1
vote
1 answer

:: gem list -remote :: iptables configuration

Once I locked down my VPS server with iptables meaning I only have a few selected ports opened for input access, my Gem command stopped working and I'm not sure what I'm doing wrong. This is a two fold question. 1st. This is the command run at the…
KitakamiKyle
  • 13
  • 1
  • 5
1
vote
0 answers

Ruby on Rails Debian best practice

I've seen in various places people using Ruby compiled from source through a cloned rbenv git repository, and then installing Rails through RubyGems to get the latest version. But, from what I know, this is not a best practice in Debian, and they…
gtbono
  • 237
  • 3
  • 8
1
vote
1 answer

Installing rubygems after manually installing ruby 1.8

I have successfully installed Ruby 1.8.7 on Ubuntu 14.04 by downloading the package, building locally and installing. The command ruby -v, outputs Ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-Linux] as expected, this is the same output on another…
Ralph
  • 862
  • 11
  • 26
1
vote
2 answers

On a Windows system, where should I put the gemrc file so that Puppet can find it?

Running Puppet Enterprise 3.7. The Agent machine is a Windows 2012 Server R2 box. Question: Where do I put the gemrc file so that Puppet's internal ruby can find it? On Linux, the place to put the file seems to be /opt/puppet/etc/gemrc. The goal:…