Questions tagged [rubygems]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
5 answers
7k views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: /usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/...
0 votes
1 answer
117 views

Can't use 'vagrant' after installling 'jekyll' with error: 'can't find gem vagrant'

After the install of jekyll with gem install jekyll, my vagrant commands fails with: $ vagrant up /usr/lib/ruby/vendor_ruby/rubygems.rb:265:in `find_spec_for_exe': can't find gem vagrant (>= 0.a) ...
3 votes
1 answer
1k views

Broken `/Library/Ruby/Site/2.6.0` on MacOS, cannot run `brew`

To start, I had these following annoying output when opening my terminal: Ignoring bigdecimal-2.0.0 because its extensions are not built. Try: gem pristine bigdecimal --version 2.0.0 Ignoring ...
0 votes
0 answers
405 views

How to create a .bashrc file when the user has a remote directory

I am trying to configure a custom prompt for RHEL 8 users. It works very nice when the users have local home directories. However, I'm mounting home directories via pam_mount (nfs4). When ssh'ing to ...
2 votes
0 answers
1k views

Could not fetch specs from https://rubygems.org/

I have gentoo linux where I run a gitlab instance. I'm stuck upgrading to dev-vcs/gitlab-gitaly-1.7.1 When the installation executes command bundle install --deployment The output is: Fetching ...
101 votes
5 answers
101k views

How to install rmagick on Ubuntu 10.04?

Here's what I've done so far: sudo apt-get install imagemagick libmagickcore-dev This did not throw any errors, so I think that ImageMagick is installed fine. Then I tried installing the gem: sudo ...
1 vote
0 answers
130 views

Trouble uninstalling gem bundler

I'm running the following software: Ruby 2.3.3 Rails 4.2.10 Gem bundle 1.17.3 & 1.12.5 Git keeps defaulting to 1.17.3 but rails is only compatible with 1.12.5. I cannot uninstall 1.17.3 to use 1....
0 votes
1 answer
39 views

Gem can't switch sources

What could be preventing me from switching gem sources?
2 votes
1 answer
2k views

Having trouble installing ruby gem for iStats

I am trying to install iStats via a ruby gem. First I ran the command: xcode-select --install and the output was: xcode-select: error: command line tools are already installed, use "Software Update"...
15 votes
2 answers
15k views

How to install the latest version of Ruby and Ruby on Rails in Ubuntu?

I installed Ruby with the command apt-get install ruby1.9.1, but when I enter ruby in the console, nothing happens. I have to use the command ruby1.9.1-v ruby 1.9.2p0 (2010-08-18 revision 29036) [...
16 votes
11 answers
28k views

I have compiled ImageMagick on my CentOS, and RMagick won't install

I installed ImageMagick through, (Using ImageMagick 6.7.3-7) ./configure --prefix=/usr && make && make install When I try to gem install imagemagick I get Building native ...
63 votes
4 answers
52k views

gem install rails doesn't do anything

I installed Ruby and RubyGems on Ubuntu 10.04. Ruby is version 1.8.7. Gems is version 1.3.7. When I try sudo gem install rails, nothing happens. It just hangs forever. What am I missing? Thanks!
1 vote
1 answer
636 views

Ruby version 2.3.3 Gemfile 2.3.0 (Sprockets Update)

I'm a newbie at Ruby on Rails. I'm trying to update the Gemfile but it keeps giving me this error: "Your Ruby version is 2.3.3, but your Gemfile specified 2.3.0" The reason I'm trying to update the ...
2 votes
3 answers
9k views

Installing vagrant plugin on the corporate network

I'm trying to install Vagrant plugin on corporate network with its own root certificate, but it fails with: $ vagrant plugin install vagrant-timezone --plugin-source http://rubygems.org Installing ...
0 votes
0 answers
97 views

Is the coderay syntax-highlighting plugin built into redmine, or does it have to be installed separately?

I have installed a recent version of redmine - 3.3.3 but there is no syntax highlighting plugin included in the default installation. Most redmine searches mention coderay. Is that something I have ...
0 votes
1 answer
166 views

RVM Installation Issues Linux

I have Elementary OS installed on my PC and have installed RVM through the terminal. However, when I type this type rvm | head -1, instead of "rvm is a function", I get rvm is hashed (/home/edson/....
1 vote
1 answer
3k views

OS X `gollum` install not working

I've tried many things to fix this, but i can't get get gollum as a cli utility. gem install gollum completes with ... Building native extensions. This could take a while... ERROR: Error ...
0 votes
1 answer
783 views

Why I obtain these error messages when I try to install gem bundler on Ubuntu? (Could not create Makefile)

I am not a Ruby developer and I am finding many difficult to install Redmine (that is developed in Ruby) on an Ububuntu 16.04 server. I am following this official tutorial: http://www.redmine.org/...
0 votes
1 answer
149 views

How to update the version of gems of a locally cloned heroku ruby on rails repository using bundle?

I wanted to know how to update the gems on a heroku ruby on rails repository that cloned in to a local machine.Can we use bundle to update the gems like puma.I've used bundle install after cloning the ...
2 votes
1 answer
209 views

What is the difference between ruby package and ruby gem as bellow?

I am using Ruby for sysadmin ops but I was wondering what is the difference between Fedora Ruby Package like : rubygem-thor-0.19.1-2.fc23.noarch Ruby Gems like : thor (0.19.1) >> using gem list --...
1 vote
1 answer
201 views

Installing ruby / gems / jekyll on mac

I tried to install newer version of ruby, because I needed it for install the Jekyll. Now when I try to use any gem command (i.e. gem install jekyll) I get a my little pony image in the Terminal and a ...
0 votes
1 answer
1k views

Install ruby >= 1.8.7 on CentOS release 5.11

I’m trying to install SASS, so I need GEMS, which requires Ruby 1.8.7 or higher. The Yum installer installs Ruby 1.8.5. Can’t seem to find a tutorial on the interwebs for successfully installing ruby >...
1 vote
1 answer
182 views

Error creating a Ruby launchd task with RVM in OS X

I want to periodically run a ruby gem based command. I am using RVM and following the tutorial set out here. My ruby task is called daily_checks.rb and is as follows: #!/usr/bin/env ruby puts 'in ...
6 votes
3 answers
8k views

Can't vagrant install a plugin: gem dependency fails despite being installed

I am attempting to install the vagrant-vbguest plugin in Windows 7 from within cygwin 64. $ vagrant plugin install vagrant-vbguest Installing the 'vagrant-vbguest' plugin. This can take a few minutes....
2 votes
1 answer
2k views

Remove all Ruby from Ubuntu

I’m trying to start a new project with RadiantCMS, but I’m having lots of problems, because in the server are 2 different Ruby installations. The first one, was installed following this tutorial and ...
0 votes
0 answers
240 views

Can't migrate ruby windows to ruby cygwin

On my windows 8.1+cygwin install, I had an windows ruby install. As I use mostly cygwin and cygwin and non-cygwin tools tend not to work well with each other, I wanted to move ruby to cygwin. ...
1 vote
2 answers
5k views

Reinstall Ruby framework on OS X Yosemite

I installed home brew on Yosemite and it messed up the System built-in framework. I couldn't use the Ruby gems already installed or the new ones installed after Homebrew. Instead of fixing all the ...
2 votes
3 answers
9k views

How install gem rails for all users in arch-linux

When install rails with sudo gem install rails or with root user, this install in $HOME/.gem and only works for actual user, how install for all users in the system ?
16 votes
1 answer
76k views

How to completely remove Ruby, Ruby gems on Mac OS X 10.6.4

Most rubyists might be shocked when they'll read this, but I'd like to know if it's possible to completely remove the Ruby framework as well as all the tools and gems that ship with Mac OS X 10.6.4. ...
1 vote
1 answer
156 views

NoMethodError with Ruby when installing SoundCloud 2000 client for CLI

I’m trying to install SoundCloud2000 on my MacBook running Mac OS X 10.8.5. I have Ruby 2.2.0, mpg123, and portaudio installed. Installing SoundCloud 2000 as a GEM seems to work fine: gem install ...
1 vote
0 answers
1k views

Gems installed with the --user-install option into the OS X home folder aren't working properly afterwards.

On previous OS X revisions i had installed my gems with sudo. With Yosemite i wanted to change that and install without sudo. To leave the default gems in /Library/Ruby/Gems/2.0.0 /System/Library/...
2 votes
4 answers
1k views

Rails - Installation Error

I had used below mentioned commands to install rails in ubuntu 12.10 sudo apt-get update sudo apt-get install curl \curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm ...
1 vote
0 answers
417 views

Ruby error on my Mac

I'm having issues with my Ruby on my iMac (early 2010). I have the preview of Mac OS X Yosemite installed, but I've had these issues like forever, so I can't imagine OS X being the error here. ...
0 votes
1 answer
37 views

Incorrect lookup as user, but correct at root

I have a new OSX machine running Mavericks and have an interesting situation getting to rubygems.org. As a normal user: $ curl http://rubygems.org|head curl: (7) Failed connect ...
1 vote
1 answer
1k views

Rails startup script runs twice

I'm having some difficulties with a new installation of Ruby on Rails. I want to use my application with MySQL. Here's the problem: The server starts without a problem when I use the default ...
0 votes
1 answer
1k views

What should I make out of this message?

I am trying to set up the Ruby on Rails on my Mac OS X Maverick just to check whether I have Rails installed I typed rails --version and I got this as response /System/Library/Frameworks/Ruby....
9 votes
1 answer
3k views

How to backup ruby gems?

How do you backup ruby gems? I am re-installing the Operating System so I would like to know how to back up ruby gems so that I can re-install it when I have installed the Operating System? Is it ...
2 votes
1 answer
2k views

Gem Binaries not found with oh-my-zsh

I'm using Oh-My-Zsh on Mountain Lion and have an issue with gem binaries not loading properly. For instance: If I load a new shell the binary still cannot be found. When using Bundler, I can load ...
2 votes
4 answers
6k views

Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare

Update #3: Starting over from scratch, shortened this post, decided to re-install a clean copy of Ubuntu 10.04 on a VM and go through the walk-through again. So, all the steps go without a hitch. As ...
1 vote
1 answer
215 views

ubuntu (setup using chef) - issues updating packages on the system (e.g php, rubygems plus others)

I would really appreciate some help with this as I've been trawling google for days now and coming up empty. Background, I'm using chef-solo/vagrant to build a development webserver, I have used a ...
0 votes
1 answer
345 views

Autotest can't find growl? (Ruby 1.9.3, Rails 3.2.11)

Haven't seen any other errors like this. Autotest is complaining it can't find Growl even though it's installed. Tried uninstalling/reinstalling everything with sudo. Everything is up-to-date. This is ...
5 votes
4 answers
17k views

Ruby RubyGems: Why do I always get error messages when trying to install gems?

So I always seem to get error messages when I'm installing new gems. I'm new to Ruby, Rails, and RubyGems so it makes it very frustrating. I'm not sure if I need to configure something, or if I ...
1 vote
2 answers
2k views

How to install rdiscount ruby gem in windows vista?

I have vista and trying to install ruby gem - 'rdiscount' and get following error...what's the answer for this? $ gem install rdiscount Building native extensions. This could take a while... ERROR: ...
1 vote
2 answers
9k views

Ruby/gem installation paths scattered all over, cause?

can you help me understand my ruby folder structure? I don't understand why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first: ...
0 votes
1 answer
55 views

How to avoid man-db

Processing triggers for man-db ... Whenever I install a gem, it seems to be processing man-db. I am assuming these are help files, how do I avoid installing them.
12 votes
1 answer
14k views

How to rebuild all my Ruby gems?

I ran into an apparently known issue with the native C compiler on OS X 10.8 not building Ruby gems correctly, so I installed GCC as suggested. How do I have rvm rebuild all of the already-installed ...
0 votes
0 answers
61 views

Ubuntu pervasive RubyGems

Hey guys I downloaded the Pagodabox gem via gem install pagoda which gives me the terminal command $ pagoda From here I can run all of my fun pagoda commands like $ pagoda -a app tunnel -c ...
9 votes
2 answers
10k views

How to configure installed Ruby and gems?

My current gem env returns: RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] - INSTALLATION DIRECTORY: /home/USERNAME/.gems - ...
1 vote
1 answer
2k views

libxslt is missing installing Nokogiri with RVM

It's been one month I'm trying to install the Nokogiri gem on Fedora 16 to run a friend's Rails project. I installed Ruby with RVM. Using gem install nokogiri returns libxslt is missing. please ...
1 vote
1 answer
1k views

SVN, SSL certificate negotiation failed. However we don't use SSL certificate on our SVN Server

Can you tell me please, at my workplace we don’t use SSL certificates for SVN, however while running RUby on Rails command that checks SVN ( = Churn) still expects it and gives back the following ...