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

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 to load -- zabbixapi The problem seems to be that…
lucas
  • 200
  • 3
  • 10
0
votes
1 answer

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 vagrant@vagrant-ubuntu-trusty-32:~/rj$ ruby -v ruby…
0
votes
1 answer

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 `bundle install` to install missing gems. I do not…
0
votes
1 answer

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, but it seems to have worked. It created an rvm…
David Krider
  • 164
  • 9
0
votes
1 answer

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": In Gemfile: openshift-origin-controller (>= 0)…
0
votes
1 answer

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/versions/1.9.3-p286, which is where rbenv keeps…
dsw88
  • 115
  • 4
0
votes
1 answer

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 course typing the above command (with or without…
Geesu
  • 235
  • 4
  • 9
0
votes
1 answer

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-user ec2-user 4096 Apr 2 10:23 doc drwxrwxr-x 2…
CMag
  • 687
  • 2
  • 11
  • 31
0
votes
1 answer

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. The first, receiving errors when upgrading to the…
0
votes
1 answer

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... [ OK ] $ sudo service…
Keating
  • 101
  • 3
0
votes
3 answers

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' require 'webrick/https' require 'OpenSSL' require…
upbeat.linux
  • 275
  • 4
  • 12
0
votes
1 answer

Recommended way to install rubygems

There are server way to install rubygems Using apt-get: apt-get install rubygems1.8 Using rvm: bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) Compile from source Which one is better method?
Howard
  • 2,005
  • 11
  • 47
  • 70
0
votes
1 answer

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 without RVM uses? The system gems or what? If I do…
Sam Kong
  • 833
  • 1
  • 6
  • 10
0
votes
3 answers

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 (/usr/bin/ruby1.8), and all the commands I run on gem…
omnilinguist
  • 121
  • 3
0
votes
1 answer

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 contents showoff-io if that happens, but I don't…
dot
  • 103
  • 2