Tagged Questions

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.

learn more… | top users | synonyms

-1
votes
0answers
31 views

systemd for executing a script automatically while reboot

First of all, I am a student on systemd (just started learning how it works) side in RHEL 7. My requirement: On a scenario of server reboot (OS-RHEL 7), a script should be executed automatically, ...
0
votes
1answer
47 views
+100

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 ...
0
votes
1answer
19 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 ...
0
votes
1answer
59 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 ...
1
vote
0answers
451 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 ...
1
vote
1answer
134 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": ...
1
vote
0answers
184 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 ...
1
vote
1answer
141 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 ...
0
votes
0answers
50 views

Installation of JavaScript runtime on old Red Hat server

I've been tasked with some infrastructure updates related to upgrading to Rails 3 on our development server, which is running: Red Hat Enterprise Linux AS release 4 (Nahant Update 5) RPM version ...
1
vote
0answers
655 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 ...
2
votes
1answer
68 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 ...
0
votes
0answers
42 views

rubygems unavailable after optional rpms enabled

I'm using RHEL6. This morning I had a machine registered with RHN, and now I'm moving forward with a Puppet installation. I've run yum-config-manager --enable rhel-6-server-optional-rpms however, ...
1
vote
0answers
61 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 ...
0
votes
0answers
214 views

How to fix rubygems.rb:1070:in `require': closed stream (IOError)?

I deployed a Rails app to a Red Hat server. It worked fine for over a week and then the server was automatically restarted during the weekend and now the app won't work. I was getting this error: ...
0
votes
1answer
507 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 ...
1
vote
1answer
131 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 ...
1
vote
2answers
904 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 => ...
3
votes
2answers
831 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 ...
0
votes
1answer
220 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 ...
0
votes
1answer
150 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 ...
0
votes
1answer
124 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 ...
1
vote
1answer
245 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 ...
1
vote
2answers
357 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 ...
1
vote
1answer
645 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 ...
0
votes
1answer
888 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. ...
1
vote
2answers
3k 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 ...
0
votes
1answer
2k 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 ...
5
votes
2answers
230 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 ...
0
votes
1answer
258 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 ...
0
votes
3answers
2k 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' ...
0
votes
1answer
75 views

Recommended way to install rubygems [closed]

There are server way to install rubygems Using apt-get: apt-get install rubygems1.8 Using rvm: bash -s stable < <(curl -s ...
2
votes
2answers
594 views

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

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 ...
1
vote
1answer
395 views

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. ...
0
votes
3answers
833 views

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 ...
1
vote
0answers
121 views

ArgumentError (invalid date) on redmine

Have installed redmine on ubuntu 10.04 LTS but when I add quotes or comments to an issue I get this error: ArgumentError (invalid date): /usr/local/lib/ruby/1.8/date.rb:752:in `civil' ...
1
vote
1answer
259 views

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

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

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 ...
1
vote
1answer
277 views

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 ...
1
vote
3answers
2k views

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 ...
0
votes
2answers
735 views

Unicorn installation error on Debian 5

I am running ruby1.9 on Debian 5, and did not manage to install 'unicorn' with rubygems. I got this error and do not really know how to solve it. Do you have any idea of the possible root cause ? ...
1
vote
1answer
52 views

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 ...
4
votes
5answers
2k views

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 ...
0
votes
2answers
305 views

Sqlite3-ruby installation issue

I'm trying to install sqlite3-ruby gem (or as it's now called, simply sqlite3) and whenever I run gem install sqlite3 it spits this out Building native extensions. This could take a ...
6
votes
2answers
4k views

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

-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 locations: ...
2
votes
4answers
3k views

ruby on rails gitorious setup on ubuntu

Ive been trying to install gitorious for a while now which required ruby and rails etc. Ive finally got rails pages serving but cant finish the installation of gitorious because the gem version is too ...
0
votes
2answers
134 views

RubyGems: sqlite3 too old, and no sudo

I have an account on a server that is not a super user. Because of this I've used RVM to install Ruby, and I've also installed a few gems. However, the sqlite3-ruby gem does not want to install, ...
1
vote
1answer
363 views

Error 302 when installing rake gem

i try to install rake on my clean lenny server, i get the following error: Updating installed gems ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Found 302 ...