Questions tagged [gem]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
214 views

Install libvirt-vagrant crash on MacOS ARM (Failed to build gem native extension)

I'm trying to install the plugn Vagrant-libvirt on my MacOS ARM (Monterey) but I can't install the plugin vagrant-libvirt I installed theses packages with brew before : brew install --cask vagrant &...
DamDam's user avatar
  • 11
0 votes
2 answers
444 views

Trying to install Dradis on Mac OS X Catalina gives me an error, “You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.”

I'm trying install Dradis in my Mac OS X Catalina git clone https://github.com/dradis/dradis-ce.git cd dradis-ce/ ./bin/setup I kept getting You don't have write permissions for the /Library/Ruby/...
code-8's user avatar
  • 444
0 votes
0 answers
282 views

How to solve error on Ruby Gems install Hiptest-publisher?

I am working to setup a Configuration around Robot-Testing Framework on Ubuntu 18.04 - 64bit architecture. In order to run some tests onto my server I need to run the following application. hiptest-...
Tchize Matias's user avatar
0 votes
0 answers
184 views

Why is the time to use RubyGems with the LoadError?

My PC (Gnu/Linux Fedora 30) was running a crawling program that was turned off because of the power outage, After that, my crawler and any other Ruby Gem did not work,and displays the following error ...
KavehRS's user avatar
1 vote
1 answer
230 views

I have ruby installed greater than 2.3.0 but it says requires greater than 2.3.0 for i18n to be installed

I have ruby version 2.5.1p57 when ran ruby -v command. While installing a cookbook which requires i18n, it throws error i18n requires Ruby version >= 2.3.0. Though the ruby version is greater ...
Amar Kumar's user avatar
2 votes
0 answers
2k views

Remove old versions of gems... gem cleanup is not doing it

This is the list of gems of my system after issuing a sudo gem cleanup command: activesupport (4.2.6) addressable (2.5.0) babosa (1.0.2) bigdecimal (1.3.1, default: 1.2.0) bundler (1.14.4) capybara (...
Duck's user avatar
  • 1,757
1 vote
1 answer
178 views

Difficulty installing Rspec on windows7

I have ruby 2.2.5p319, Bundler version 1.13.1 and gem -v tells me 2.4.5.1 after visiting http://rspec.info/ I made a Gemfile and tried their suggested bundle command: PS C:\Users\user\stuff\Ruby\...
MmmHmm's user avatar
  • 758
3 votes
1 answer
5k views

Effective difference between “gem install --bindir ~/path/to/folder” and “--user-install” in Ruby

I don't have a desire at the moment to learn Ruby, but I just want to know what the difference is between gem install --bindir ~/path/ and gem install --user-install as long as each of the paths are ...
jsejcksn's user avatar
  • 4,183
6 votes
4 answers
3k views

gem not working in Cygwin

On a freshly installed Windows 7 Professional 64 Bit I installed Cygwin (64) and some of its packages, including Ruby. I have also installed Ruby using the Ruby installer, because I'll likely need it ...
Neonit's user avatar
  • 182
2 votes
1 answer
863 views

Failed to install native Ruby Gem wdm 0.1.1 on Windows 7 x64 (Ruby 2.2.0)

Outdated Story (find the update below the next heading) I can't find out why wdm won't install on my computer. I have tried using the Cygwin bash, Windows cmd and GIT bash. Console output: $ gem ...
Neonit's user avatar
  • 182
4 votes
1 answer
9k views

Gem installation failling with "The compiler failed to generate an executable file" on cygwin

Trying to install multiple gems on cygwin, I keep getting this error: /usr/share/ruby/2.2.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) This error is ...
Camusensei's user avatar
0 votes
2 answers
338 views

ruby gem install to 1.9.1 instead of 1.8

I ran the following lines in linux gem install mysql And it installed the mysql gem to /var/lib/gems/1.8/gems. That's not where I want it. I wnat it at /var/lib/gems/1.9.1/gems. I could just copy ...
learningtech's user avatar
  • 1,141
1 vote
1 answer
9k views

Metasploit Install Fails. Requires >= Ruby 2.1 but I have 2.2

I’ve literally been trying to install metasploit for 2 days now and I think that's a ridiculous amount of time just to install some software. I have Arch linux and I am trying to install metasploit-...
user3408678's user avatar
0 votes
1 answer
612 views

How to run Node.js on Mac after successfully installing it with gem?

On Mac OSX Yosemite I have successfully installed node: # sudo gem install node Fetching: eventmachine-1.0.7.gem (100%) Building native extensions. This could take a while... Successfully installed ...
Alexander Farber's user avatar
0 votes
1 answer
244 views

Installing TaskJuggler results in timeout

I'm trying to install TaskJuggler. As far as I can tell, I have successfully installed Ruby and Gem. The command I'm trying to execute and the error message is: C:\...>gem install taskjuggler-3.5....
Thomas Weller's user avatar
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 ...
Alison's user avatar
  • 23
0 votes
0 answers
3k views

Gem: Could not find a valid gem in any repository

my problem is that I installed ruby and gem successfully with no errors, but when I go any further, trying to install any gem, it threw an error: ERROR: Could not find a valid gem '<name>' (&...
user2825648's user avatar
4 votes
2 answers
6k views

Cowsay doesn't say anything

Okay, I know this is kind of a stupid question to bring to the table here... but why not. I'm using OS X 10.9.2, Mavericks, and have installed cowsay in my terminal with $ sudo gem install cowsay and ...
Ev-'s user avatar
  • 479
-1 votes
1 answer
208 views

Do i need to install gems required by a Sublime Text plugin into rvm's global gemset or will default do?

If a Sublime Text 3 plugin asks me to install a gem for the plugin to work, do i need to tell rvm to install this gem into my global gemset for it to work properly or can I simply type 'gem install ...
Ribena's user avatar
  • 101
1 vote
1 answer
309 views

Issue installing gem

So I'm trying to install this gem but hitting an error. https://github.com/cgore/ruby-btce The actual README says to do a gem install, so I guess I didn't need to clone the git repo? Anyway, I had to ...
Peter's user avatar
  • 686
2 votes
2 answers
3k views

Can't install gems with Ruby: “invalid byte sequence in UTF-8”

I'm using Mountain Lion. I've installed Ruby first with RVM, then with rbenv. I can assure it's running the latest one with which ruby, it correctly points to the one installed with rbenv. gem won't ...
Cristian's user avatar
2 votes
1 answer
618 views

Can I install some ruby gem on a standard OS X user?

I have a Admin user for serious stuff and a Standard user for daily tasks, including front-end development. On the Admin user, I can install Brew, RVM, Middleman etc. But on the Stardard user, where I ...
Joel Cipriano's user avatar
5 votes
1 answer
5k views

How do I use Sublime Text as the OS editor in Mac OS X?

How do I set Sublime Text as the editor for git commits in Mac OS X? In my .zshrc I have: export EDITOR='subl -w' But, if I do: bundle open devise I get the error: Could not run 'subl -w /Users/...
Edward's user avatar
  • 153
2 votes
1 answer
2k views

Linux - Gem Error installing PG

I'm getting used to Linux, and currently making a switch to Backtrack 5 to start practicing for school in security. I'm running msfupdate, which installs a bunch of gem files. While installing PG from ...
Dustin's user avatar
  • 837
1 vote
2 answers
1k views

when trying to install the watir or watir-webdriver gem on Windows 7 via cygwin, getting long C stack trace with mentions of "W32 socket" issues

When running: $ gem install watir on Windows 7 (cygwin), I get this ERROR: Error installing watir: ERROR: Failed to build gem native extension. /usr/bin/ruby.exe extconf.rb checking for ffi.h... ...
coloradoblue's user avatar
1 vote
1 answer
265 views

RHEL json gem installation requires make?

When I try to install json gem (gem install json), at first it fails to do so, because of some dev package issue. After fixing it, it fails saying that "sh: make: command not found" and "ERROR: ...
Salahuddin559's user avatar
0 votes
1 answer
850 views

gem install won't do anything - Mountain Lion

I just got a recent installation of Mountain Lion. I installed homebrew and the gcc on dupes to compile proper rubies. Now, with new versions of ruby (1.9.2) I can create and install gemsets and gems. ...
brafales's user avatar
  • 393
0 votes
1 answer
1k views

Redmine installation - Ruby MySQL connector issue

I am trying to migrate from TRAC to Redmine, though i encountered a problem with the installation procedure. i follow the install guide at : http://www.redmine.org/projects/redmine/wiki/...
Tomer W's user avatar
  • 121
0 votes
1 answer
282 views

installing SQLite3 gem on remote FreeBSD server using RVM - root permissions needed?

I am trying to install ruby SQLite3 gem, on a remote freebsd server. I'm using RVM which in theory does not need 'root permission' to compile gems but I get a root error, here: [user ~]$ gem ...
atmosx's user avatar
  • 174
0 votes
1 answer
410 views

I cannot get pg-0.14.0 gem installed after Mountain Lion install

I have been trying for some time now to get my Rails development environment back up since I upgraded from Lion to Mountain Lion. The problem is specifically installing the pg-0.14.0 (postgresql) gem. ...
Nick's user avatar
  • 101
0 votes
1 answer
392 views

Cannot find Ruby on Rails installed

I've managed to install Ruby and the gems install (rvm?) but now I'm stuck actually installing Ruby on Rails. Every time I execute, gem install rails Terminal says that it's fetching each file and ...
James's user avatar
  • 101
1 vote
0 answers
517 views

can I remove imagemagick by deleting directories?

I posted this to StackOverflow, but probably belongs here. I'm on OSX Lion, trying to get back to basics so I can run RMagick in Rails 3.0, using rvm. When I tried to add the RMagick gem to Rails ...
Dan Donaldson's user avatar
2 votes
1 answer
2k views

Ruby Gem "mechanize" missing libxml2 on Mac OS X 10.7.2 (Lion)

I'm trying to run a Ruby script, so I installed Ruby together with Ruby gems on my Mac OS X 10.7 system. The script requires the Rubygem "mechanize" so I tried to install it by using: sudo gem ...
asdrubael's user avatar
  • 647
0 votes
1 answer
1k views

Process monitor service in Windows

I need something that runs in the background as a service (Windows), watches defined process and when it crosses thresholds it restarts/stop/starts the process again? (similar functionality of rubygem ...
Ahmed Al Hafoudh's user avatar
0 votes
1 answer
826 views

Install ruby-debug-ide on Snow Leopard running Ruby 1.9.2

I am trying to install ruby-debug-ide on Snow Leopard running Ruby 1.9 so that I can debug ruby code in Netbeans. I am using the following command sudo gem install ruby-debug-ide19 However I keep ...
Naatan's user avatar
  • 1,385
14 votes
2 answers
3k views

Install packages through apt-get or gem?

If a package is available both through apt-get and gem, which one should I choose? I'm on Ubuntu and I don't know if I should install rake through apt-get or gem. I use both apt-get and gem packages ...
ajsie's user avatar
  • 1,889
15 votes
4 answers
19k views

Passing PATH through sudo

In short: how to make sudo not to flush PATH everytime? I have some websites deployed on my server (Debian testing) written with Ruby on Rails. I use Mongrel+Nginx to host them, but there is one ...
Catherine's user avatar
  • 16.3k
10 votes
3 answers
17k views

How to install the MySQL Ruby Gem on Ubuntu 9.10?

I am having a problem installing the Ruby Gem for MySQL. This is the command that I am running: sudo gem install mysql and this is the output that I'm getting: Building native extensions. This ...
Andrew's user avatar
  • 14.9k