Questions tagged [rubygems]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 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) ...
Gilles Quénot's user avatar
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 ...
Gordon Pham-Nguyen's user avatar
0 votes
0 answers
309 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 ...
francisaugusto's user avatar
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 ...
Dominik Skoda's user avatar
1 vote
0 answers
108 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....
C. Beth's user avatar
  • 11
0 votes
1 answer
35 views

Gem can't switch sources

What could be preventing me from switching gem sources?
Evan Zhao's user avatar
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"...
AkThao's user avatar
  • 143
1 vote
1 answer
624 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 ...
Mubin Maredia's user avatar
0 votes
0 answers
96 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 ...
vfclists's user avatar
  • 791
0 votes
1 answer
162 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/....
Edson's user avatar
  • 11
0 votes
1 answer
763 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/...
AndreaNobili's user avatar
  • 7,011
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 ...
kenorb's user avatar
  • 24.8k
2 votes
1 answer
177 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 --...
Hazem Hemied's user avatar
0 votes
1 answer
148 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 ...
Kaviranga's user avatar
  • 103
1 vote
1 answer
199 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 ...
Tomasz Hajduk's user avatar
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 >...
symlink's user avatar
  • 191
1 vote
1 answer
181 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 ...
Obromios's user avatar
  • 111
0 votes
0 answers
237 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. ...
Krzysztof Bociurko's user avatar
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 ...
rraallvv's user avatar
  • 355
1 vote
1 answer
155 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 ...
Alison's user avatar
  • 23
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/...
rkoller's user avatar
  • 125
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. ...
rebellion's user avatar
  • 121
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....
msanford's user avatar
  • 722
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 ...
MikeHoss's user avatar
  • 307
1 vote
1 answer
2k 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 ...
Kirk Strobeck's user avatar
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 ...
Jonathan Pellerin's user avatar
0 votes
1 answer
992 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....
John Doe's user avatar
  • 155
1 vote
1 answer
214 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 ...
SwiftD's user avatar
  • 528
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 ...
Locke's user avatar
  • 21
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 ...
Mothi rajha's user avatar
0 votes
1 answer
343 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 ...
dresdin's user avatar
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 ...
Ishan's user avatar
  • 3,402
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.
Joshua's user avatar
  • 671
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 ...
Neil Middleton's user avatar
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 ...
Ken's user avatar
  • 123
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 ?
richie-torres's user avatar
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 ...
ehime's user avatar
  • 241
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 ...
Cydonia7's user avatar
  • 245
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 ...
Jackie Chan's user avatar
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/...
Sridhar Ratnakumar's user avatar
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 ...
Ken Li's user avatar
  • 996
0 votes
1 answer
149 views

How to keep gems in sync for two ruby versions?

I use MacPorts to install and update two versions of ruby (1.8.7 and 1.9.2). How to make gems of both versions be in sync? Is it possible to use same directory for gems, but make native extensions to ...
tig's user avatar
  • 4,654
2 votes
1 answer
2k views

Bundle install not working for ubuntu [closed]

every time i run bundle install on my rails app i get the following errors. could it be because i just changed my os from windows to linux(ubuntu) Fetching source index for http://rubygems.org/ /...
user avatar
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) [...
BILL's user avatar
  • 265
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: ...
Blub's user avatar
  • 468
4 votes
3 answers
10k views

Pass cmd.exe arguments via a shortcut?

I'd like to create a shortcut to run cmd at a particular location with a few commands. I'm hoping from there I can work out how to make it a right click option to "Run my cmd commands here..." I've ...
firefusion's user avatar
  • 2,023
0 votes
1 answer
109 views

How do I make RubyGems install binaries to a different directory?

I'm on OS X (Snow Leopard) and all I want is for gem to put the binaries it installs into /usr/local/bin instead of /usr/bin. This doesn't seem like it should be hard, but my Google-Fu is failing me ...
Hank Gay's user avatar
  • 297
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. ...
just_a_dude's user avatar
63 votes
4 answers
51k 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!
bsamek's user avatar
  • 919
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 ...
Andrew's user avatar
  • 14.6k