A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [gem]

RubyGems is a package manager for the Ruby programming language. Ruby packages, known as gems, are managed via the 'gem' command-line tool. This tag is for all questions related to managing the Ruby packaging system: gem installation, updates, removal, troubleshooting, etc.

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

How to analyze output in gem5 simulation

How can we check the data sharing and parallelism for a benchmark in gem5 simulator. I have run for 4 cores with 4 threads with 2 level cache where size of L1=4MB and L2=4MB respectively. I was told ...
1
vote
0answers
20 views

How can I manage all my Ruby gems as Ubuntu packages?

Whenever I have to install Ruby software on our Ubuntu based webserver, I run into a new gem package manager problem that I never saw with Ubuntu packages. By now I really hate it, and got the idea ...
0
votes
0answers
25 views

Uninstalling old xenial Ruby gems after bionic upgrade

When I upgraded to Bionic, Ruby was upgraded from its default Xenial version 2.3 to its default Bionic version 2.5. That means that Ruby gem-provided programs that I installed via gem install no ...
0
votes
1answer
93 views

Why Vagrant fails after OS upgrade?

Multiple packages upgraded like gem, ruby and its plugins. Now when I run vagrant up I get: Vagrant failed to initialize at a very early stage: The plugins failed to initialize correctly. This may ...
0
votes
1answer
1k views

gem install failure

I am trying to install an instagram-crawler by using the gem command: gem install instagram-crawler But I am receiving the following error: Building native extensions. This could take a while... ...
0
votes
1answer
943 views

Failed to build gem native extension - Mastodon

I'm trying to install Mastodon (joinmastodon.org) on a Ubuntu 16.04 server. Firs I get this rbenv: version `2.5.3' is not installed (set by /home/mastodon/live/.ruby-version) I installed the 2.5.3 ...
0
votes
0answers
266 views

colorls not available on some terminal emulators?

running into a weird issue that I have absolutely no idea how to troubleshoot (and didn't find anything useful on google) so figured I could ask for some guidance. I have colorls installed and ...
3
votes
1answer
642 views

Is ruby a pre-requisite to install gem?

I need to install gem on my Ubuntu 16.04 in order to install Travis CI CLI. Is it necessary to install ruby before installing gem? I literally have no idea about ruby and gem.
1
vote
1answer
153 views

How can I fix these errors when trying to run a ruby-based project on NetBeans 6.9.1?

I am trying to run a ruby-based project on NetBeans 6.9.1 but nothing happens and Mongrel shows an error message. ruby -v => 1.8.7 rails -v => 2.3.8 gem -v => 1.5.0 Error message: /var/...
2
votes
1answer
2k views

Error while trying to install zsteg

While trying to install zsteg on Ubuntu Server (Linux 4.8.0-49-generic x86_64) I encounter the following error: $ sudo gem install zsteg Building native extensions. This could take a while... ERROR: ...
13
votes
3answers
15k views

Error: Failed to build gem native extension when trying to download Rubocop

when I try "sudo gem install rubocop", I get... Building native extensions. This could take a while... ERROR: Error installing rubocop: ERROR: Failed to build gem native extension. ...
0
votes
1answer
2k views

The program 'gem' is currently not installed, but I installed it with \curl -L https://get.rvm.io | bash -s stable --ruby

I'm running Ubuntu 16.04, and trying to set up my environment for Ruby on Rails 5 using this guide: http://railsapps.github.io/installrubyonrails-ubuntu.html. As far as I can tell, the program 'gem' ...
0
votes
2answers
2k views

Error occurred while installing bundle

Following error occurred while trying to configure githubpage from my local machine: Error Displayed: An error occurred while installing ffi (1.9.14), and Bundler cannot continue. Make sure that `...
2
votes
1answer
1k views

Failing to install ruby gems required by vagrant plugin install vagrant-proxyconf

I have an Ubuntu 16.04 machine behind a proxy. From this machine I am able to use the proxy as expected using the http_proxy and https_proxy environment variables. However, when a new vagrant box is ...
5
votes
1answer
5k views

Can't install json 1.8.1

I'm trying to install json gem using ruby 2.2.3 (I've tried with other oversions), and I always get the same error: Fetching: json-1.8.1.gem (100%) Building native extensions. This could take a ...
0
votes
1answer
512 views

Just installed Ubuntu/Ruby, cant create rails project

so I've just started using Ubuntu a few days ago, started trying to get an IDE working for Ruby on Rails developement, downloaded/installed everything from scratch. I found out the first version of ...
3
votes
1answer
340 views

Unable to install Github-Pages with gem?

I've been trying to install github-pages using gem. I have Ruby v. 2.1.2: ✦ ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] I installed Ruby using RVM and I've set 2.1.2 as my ...
0
votes
1answer
1k views

Ubuntu 14.04 LTS:error parsing `Gemfile`: Undefined local variable or method `urce' for Gemfile. Bundler cannot continue

I'm new to Web App Development beginning with Ruby On Rails. To get started I followed this. I'm in the final steps where it asks to create a Database (I'm using mysql) by running rake db:create but ...
1
vote
1answer
268 views

could not get gem5 running

kept having this message on my command console "scons: *** No SConstruct file found. File "/usr/local/lib/scons-2.4.1/SCons/Script/Main.py", line 923, in _main" when i type this command scons build/...
1
vote
1answer
2k views

Gem Debugger won't install with bundle install

I have installed ruby on rails using rvm. I am using 2.2.0 ruby and 4.2.0 Rails. I tried running bundle install on an older project that I developed on a former pc but I get : Gem::Ext::BuildError: ...
3
votes
1answer
5k views

can't bundle install json gem in ubuntu

I have installed ruby on rails using rvm . I am trying to bundle install an older project that I had on a former pc but I get the following error when I run the bundle install command: Installing ...
0
votes
1answer
780 views

gem install bundler error [closed]

I am newbie here. When I tried to install gem install bundler, it gave me ERROR: Could not find a valid gem 'bundler' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::...
1
vote
0answers
2k views

Problems Installing Metasploit Framework on Ubuntu

I have encountered 3 problems while following this guide to installing Metasploit Framework on Ubuntu and Debian: 1) After installing proper version of ruby, there is a command given for installing ...
3
votes
1answer
701 views

Why did lolcat stop working after installing rvm?

After recently doing something that involved installing rvm, this error occurs when I try using lolcat. /home/max/.rvm/rubies/ruby- 2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:...
0
votes
1answer
602 views

I cant install Spree gem

Please help me to solve this problem. I have ubuntu 14.04. A new version of ruby. roman@Salomon:~/shopcart$ spree install --auto-accept gemfile spree gemfile spree_gateway gemfile ...
1
vote
1answer
2k views

Why can't I install bcrypt?

I've a problem: when I try to install some Gem with the command "bundle install", I recive this output: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby2.1 -r ./...
1
vote
1answer
782 views

Bundle install fatal error

I am migrating my project over to a new machine and I am having trouble running bundle install on the machine I am trying to use. When I run: bundle install I get this error: Unfortunately, a ...
0
votes
1answer
630 views

gem install eventmachine fails, using rvm

Ubuntu 13.10 64bit, ruby 2.1.1 rvm 1.25.24 gem 2.2.2 from log file: compiling pipe.cpp ...
1
vote
2answers
1k views

Ruby - no such file to load [gems]

This is error: [ERROR] no such file to load -- readline [TIP] Try to run 'gem install readline' or 'gem install --user-install readline'. If you still get an error, Please see README file or https://...
2
votes
1answer
3k views

puppet rspec no such file to load — rspec-puppet (LoadError)

I have no prior experience at all of ruby. I am not interested in ruby (and so have no knowledge of rails etc) as such but am using puppet to manage a group of servers. I have written some modules ...
1
vote
1answer
228 views

Gsl ruby gem on Ubuntu Saucy (13.10)

I'm trying to install the gsl gem on Ubuntu Saucy I installed the relevant gsl packages with sudo apt-get install gsl-bin libgsl0-dev But then installing the gem fails In file included from /usr/...
3
votes
2answers
2k views

Unable to Install Guard

I've seen Guard and it's usefulness in web development and would like to install it. Naturally, I expected to be able to use sudo gem install guard to do so (yes, it is a Ruby Gem). However the ...
0
votes
1answer
2k views

why sudo gem install fails but gem install succeeds?

I simply do sudo gem install sqlite3 and have response: sudo: gem: command not found Then I do gem install sqlite3 and it works. Where is the problem with sudo ?
0
votes
1answer
887 views

gssapi requires Ruby version >= 1.9.1. on gem install

I'm trying to install knife-cloudstack plugin using gem install on Ubuntu 12.04 with chef-client configured and got error as said in title. >gem install knife-cloudstack ERROR: Error installing ...
2
votes
2answers
642 views

pdfbeads will only output a single page

Following the instructions from this page I take a djvu document, check it for any sign of corruption by opening it in djvulibre and it checks out fine. Copy it to my testing folder and rename it ...
1
vote
1answer
823 views

error: alternative gem can't be master: it is a slave of ruby

I am struggling to get ruby up and running, and i get this message in many installations update-alternatives: error: alternative gem can't be master: it is a slave of ruby The full message: ...
1
vote
1answer
2k views

can't rake, missing gem but it's available

I'm trying to rake but I keep getting this As you can see, i18n (0.6.4) is installed and alive, so what's going on? what am I missing? I have tried to uninstall and install again, all went well but ...
48
votes
5answers
109k views

Determine which version of a gem is installed?

Is there a way via CLI to determine which version number of a gem is installed on my machine? Similar to yolk -l for python? I'm trying to see if I have the latest version of compass / sass / zurb ...
3
votes
2answers
2k views

Installing Jekyll with gem

I'm using Ubuntu 12.04. I am trying to install Jekyll through gem with sudo gem install jekyll but I get this error at some point of the installation: ERROR: While generating documentation for ...
3
votes
0answers
3k views

Failed to install a ruby gem, eventmachine

I attempts to run a script that prompt Could not find gem 'eventmachine (= 0.12.10) ruby' in the gems available on this machine. Run bundle install to install missing gems. Then I runs sudo ...
1
vote
1answer
14k views

Could not find a valid gem 'rails' (>= 0) in any repository

I am trying to install rails using the following command: sudo gem install rails and get the following error: ERROR: Could not find a valid gem 'rails' (>= 0) in any repository ERROR: Possible ...
0
votes
1answer
43 views

Can I submit a ruby gem I'm working on for ubuntu app showdown?

I've been working on a ruby project, can I submit this for app showdown? Basically its a sinatra app, runs a site on localhost, which plays songs in browser
5
votes
1answer
8k views

Can't install gems from behind proxy

I'm running 12.04 in a VM, and I am behind a corporate proxy. I've got the environment variables set (tried both all lower and all upper case for [http|https|ftp]_proxy, as well as not specifying the ...
3
votes
1answer
5k views

How do I start a ruby/gem program?

I have installed taskjuggler (gem install taskjuggler), but now I have no idea how to start it... $ taskjuggler taskjuggler: command not found $ gem taskjuggler ERROR: While executing gem ... (...
3
votes
3answers
4k views

Can't run a program installed through gem install

I have installed Ruby using RVM. I did a gem install rspec command and it seemed to install rspec correctly. If I do a rspec I get a "The program 'rspec' is not currently installed" and I am ...
2
votes
1answer
1k views

Successfully installed SASS, but the terminal insists it isn't

I wanted to install sass version 3.2.0 alpha. I first ran sudo apt-get install libhaml-ruby1.8, which is what the console recommended It successfully installed, but it installed an older version ...
2
votes
2answers
380 views

Error while installing rails

Following this tutorial here, to install ruby on rails on ubuntu 11.10 with sqlite3 when I run the following command sudo gem install rails I get the following error : ERROR: Could not find a ...
9
votes
3answers
26k views

How do I update to the latest version of SASS?

This is really stupid but I've been Googling for an hour now and can't find the answer. I'm on Ubuntu 10.10, and I'm trying to update to the latest version of SASS so that I can use an @import rule ...