As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
879 views

Libruby.so library not in default library location

I have installed rh-ruby26 on my machine as a root user and it got installed under /opt/rh/rh-ruby26/root/bin/ruby..when I have tried to execute a script , am getting "error while loading shared ...
Kishore Kumar's user avatar
2 votes
1 answer
378 views

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 ...
Taz's user avatar
  • 147
0 votes
1 answer
2k views

Is it possible to forward 127.0.0.1:port to publicip:4567?

I have a ruby server running , based on the following repository https://github.com/BuffaloWill/oxml_xxe I am running Ubuntu without vnc installed. I tried to access the server via my public ip and ...
Joel Deleep's user avatar
0 votes
0 answers
58 views

gitlab installation failing on debian 9.6

I'm having a issue on Debian 9.6. When installing gitlab an error is returned: Setting up gitlab (8.13.11+dfsg1-8+deb9u3) ... Creating/updating gitlab user account... Making gitlab owner of /var/lib/...
Fabrizio Mazzoni's user avatar
1 vote
1 answer
242 views

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 ...
Dodzi Dzakuma's user avatar
0 votes
2 answers
1k views

SOLVED - Unable to install foreman-proxy on CentOS 6.9

Puppet [root@ns1 ~]# puppet --version 4.10.1 Repositories (used Foreman 1.12 as the next versions are not supported in Centos 6) [root@ns1 ~]# yum repolist enabled Loaded plugins: fastestmirror ...
Oleksandr's user avatar
0 votes
1 answer
36 views

How to query against dashing dashboard

Is it possible to get the list of all dashboards defined in dashing. ie using curl or similar to query against specific endpoint. I can send request to a specific dashboard, but my script is an ...
Jay's user avatar
  • 1
-1 votes
2 answers
428 views

Passenger ruby on rails error

so i just finished my app and im uploading my projecto to my production server and when i run the command passenger-install-apache2-module im getting this error /usr/local/rvm/rubies/ruby-2.3.0/lib/...
mdiaz00147's user avatar
0 votes
1 answer
330 views

Elastic Beanstalk silently fails to install ruby gem

I'm trying to install the github-pages ruby gem in an AWS Elastic Beanstalk app. According to the docs, to do this you add an .ebextentions/somename.config file that declares the package as a ...
BonsaiOak's user avatar
  • 113
2 votes
2 answers
33k views

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 ...
Marc Riera's user avatar
  • 1,627
1 vote
1 answer
227 views

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....
Du3's user avatar
  • 111
1 vote
1 answer
40 views

:: 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 ...
KitakamiKyle's user avatar
0 votes
1 answer
3k views

After initial setup cannot sign in to Foreman web console with admin account

Edited post to show how I installed foreman I'm new to ruby and I am trying to install Foreman on CentOS 7. I followed the install guide for my distro to do this: sudo yum -y install epel-release ...
red888's user avatar
  • 4,151
1 vote
0 answers
56 views

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, ...
gtbono's user avatar
  • 237
0 votes
1 answer
359 views

www-data user cannot use ruby gems

I'm trying to get a virtual server running using Vagrant and VirtualBox. For the VirtualBox I'm using scotch/box which got all the basic stuff for running a ubuntu server with some components (apache, ...
Mark C.'s user avatar
  • 101
0 votes
1 answer
2k views

How to start passenger nginx, error : Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)

Application is broken in production mode and getting below error while restarting passenger and nginx. [ agents/LoggingAgent/Main.cpp:338 ]: Signal received. Gracefully shutting down... (send signal ...
Sumit Munot's user avatar
0 votes
1 answer
187 views

Puppet-Dashboard Doesn't Load With Ruby Gem Passenger 5

Has anyone encountered problem of running Puppet Dashboard on Ruby Passenger 5? If yes does it really work with that Passenger version? I've already setup and configured the necessary files required ...
Melvin Mah's user avatar
0 votes
1 answer
59 views

On ubuntu 12.04, what file has the systemwide list of gem sources for rubygems 1.9.1

I need to deploy a gem from a custom gem source to my ubuntu 12.04 servers that are managed by puppet. In the puppet class, I will put the command that adds our custom gem server to the gem sources, ...
Segfault's user avatar
  • 264
0 votes
1 answer
1k views

ruby complains about a package being not installed which actually is installed

This question might be very unprofessional but I'm very not into Ruby and I have no clue where to start.. I used to run Jekyll which runs asciidoctor to render html pages. After a Fedora update ...
frans's user avatar
  • 639
1 vote
1 answer
5k views

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] ...
Ralph's user avatar
  • 862
1 vote
2 answers
5k views

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 ...
Paul Chernoch's user avatar
0 votes
0 answers
1k views

Installed Ruby gems not in path on CentOS 7

After installing a gem via gem install --no-ri --no-rdoc gemname while sudo'ed via sudo -s it is not showing up in my path. If I drop privledges and go back to my user or if I sudo su - it shows up ...
GeneBean's user avatar
  • 323
0 votes
1 answer
206 views

How can I use a rubygem in a puppet provider on debian stable?

I'm trying to use a puppet provider which requires a ruby gem. It's being run on Debian stable (wheezy), but I get the following error: err: Could not run Puppet configuration client: no such file ...
lucas's user avatar
  • 200
0 votes
1 answer
897 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
Mayor of the Plattenbaus's user avatar
1 vote
1 answer
3k views

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 ...
Ernest Mueller's user avatar
0 votes
1 answer
445 views

Berkshelf Gemfile version conflict

I received the following error from the berks command when trying to init a new cookbook to use Berkshelf version 3 Could not find proper version of berkshelf (2.0.17) in any of the sources Run `...
Friedrich 'Fred' Clausen's user avatar
0 votes
1 answer
732 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 correct, ...
David Krider's user avatar
1 vote
0 answers
985 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 ...
Giovanni Di Milia's user avatar
0 votes
1 answer
236 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": ...
Khalid Adisendjaja's user avatar
1 vote
0 answers
555 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 /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/mysql2-0....
elect's user avatar
  • 203
1 vote
1 answer
549 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 ...
Joe's user avatar
  • 482
3 votes
1 answer
4k 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 6.3....
mirage's user avatar
  • 221
2 votes
1 answer
105 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 ...
Carl Carlson's user avatar
3 votes
1 answer
439 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 bad ...
user avatar
1 vote
1 answer
2k 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 ...
umar's user avatar
  • 135
1 vote
1 answer
356 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 ...
av501's user avatar
  • 113
2 votes
2 answers
5k 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 => 'http://192.168.1....
Bryan's user avatar
  • 205
4 votes
2 answers
2k 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 ...
Eric Lathrop's user avatar
0 votes
1 answer
2k views

RubyGem installation can't find header files

I'm running Ruby 1.9.3 on CentOS 5.3. I installed it by compiling Ruby 1.9.3 from source, along with libyaml. I'm also using rbenv to manage versions, so I placed the compiled installation in ~/.rbenv/...
dsw88's user avatar
  • 115
0 votes
1 answer
340 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 ...
Geesu's user avatar
  • 235
0 votes
1 answer
432 views

Nerdtree, Rake 'require' cannot load file error

Gents, When trying to install NERDTree, I get the following error, suggestions? Running from an AWS Amazon linux ami: drwxrwxr-x 2 ec2-user ec2-user 4096 Apr 2 10:33 autoload drwxrwxr-x 2 ec2-...
CMag's user avatar
  • 707
4 votes
1 answer
954 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 ...
Spredzy's user avatar
  • 955
2 votes
2 answers
4k 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 ...
Slinky's user avatar
  • 1,017
2 votes
1 answer
2k 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 ...
Bee's user avatar
  • 169
0 votes
1 answer
2k 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. ...
davidcmolina's user avatar
1 vote
3 answers
6k 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 http://www.davidghedini....
A4J's user avatar
  • 277
2 votes
1 answer
9k views

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 ...
Hosh Sadiq's user avatar
5 votes
2 answers
471 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 ...
khaos's user avatar
  • 213
0 votes
1 answer
309 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 Server.....
Keating's user avatar
  • 101
0 votes
3 answers
6k 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' ...
upbeat.linux's user avatar