Questions tagged [gemset]

Gemset refers to the RVM (Ruby Version Manager) feature that gives a self-contained environment for gems, i.e. a container one can use to keep gems separate from each other. Use this tag for questions related to the RVM feature.

Gemset refers to the RVM (Ruby Version Manager) feature that gives a self-contained environment for gems, i.e. a container one can use to keep gems separate from each other. Use this tag for questions related to the RVM feature.

70 questions
1
vote
1 answer

Cannot load ruby gems in irb

I'm pretty sure I screwed this up the other day attempting to create an individual gemset for a specific application, because everything was ok until I did that. But I believe it took place upon an rvm @gloabl gemset create I ran. I'm honestly not…
Jimmy Odom
  • 395
  • 1
  • 3
  • 5
0
votes
0 answers

RVM forgets settings across reboot (ubuntu 20.04)

Stuck. I thought I installed RVM on this fresh ubuntu 20.04 box using the same commands I used on my old 19.10 box: (from https://github.com/rvm/ubuntu_rvm) sudo apt-add-repository -y ppa:rael-gc/rvm sudo apt update sudo apt install rvm rvm install…
user2901351
  • 629
  • 8
  • 22
0
votes
3 answers

Gemset error when updating to Ruby 2.4.2

I'm updating from Ruby 2.0 to 2.4.2 using RVM, and receive the following error messages during an install using $ rvm install ruby-2.4.2: Making gemset ruby-2.4.2 pristine - please wait 'command gem pristine --extensions bigdecimal --version 1.3.0…
user2930327
0
votes
2 answers

Rails / Postgres: Error after changing pg gem version

I encounter this error message when running my specs after messing with gemsets and the pg gem version: # --- Caused by: --- # PG::UndefinedColumn: # ERROR: column "waiting" does not exist # LINE 1: ...me AS source, age(now(), xact_start)…
Flip
  • 6,233
  • 7
  • 46
  • 75
0
votes
3 answers

Why `bundle exec` is needed when using gemsets?

rvm current says I've switched to some particular gemset, gem list lists only one rake gem, so why do I need to prepend bundle exec? $ rvm current ruby-2.3.0@rm $ gem list rake *** LOCAL GEMS *** rake (10.4.2) $ rake rake…
x-yuri
  • 16,722
  • 15
  • 114
  • 161
0
votes
1 answer

rvm: gems remaining after emptying gemset

I find that even after emptying a gemset, I still have gems. Whats going on here? ~/gray/infrastructure (master)[]$ rvm-prompt ruby-2.3.0-preview1@infrastructure ~/gray/infrastructure (master)[]$ rvm gemset empty infrastucture Are you SURE you wish…
oystersauce8
  • 461
  • 5
  • 12
0
votes
0 answers

Rvm wrapper doesn't work when using another gemset

I am creating a rvm wrapper (ftg is the ruby program I wrote): $> rvm gemset create ftg_gemset ruby-2.2.3 - gemset created /Users/pinouchon/.rvm/gems/ruby-2.2.3@ftg_gemset $> rvm wrapper ruby-2.2.3@ftg_gemset ftg Regenerating ruby-2.2.3@ftg_gemset…
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236
0
votes
1 answer

How to remove single gem from all gemsets

I need to remove capybara-webkit gem from all gemsets, because I upgraded libqt and I need to rebuild native-extensions. Is there a simple method to remove a gem from all RVM gemsets to avoid running gem uninstall capybara-webkit for all of them…
mrzasa
  • 22,895
  • 11
  • 56
  • 94
0
votes
2 answers

Load Gems from a local Directory using JRuby Scripting Container

I'm trying to load gems to execute ruby code from a local directory. I don't want ScriptingContainer(JRuby) object to use the system's default gemsets. Emptied the Environment Variables using container.setEnvironment(env); an empty Map to change…
0
votes
1 answer

Rvmrc file not selecting the gemset

I am using rvm 1.26.2 & Ubuntu 14.0.4 I have to create separate gem sets and .rvmrc file for each project, but the .rvmrc file isn't selecting the gemset. can any one tell why the application ignore .rvmrc file ? Thanks in advance
Siva
  • 111
  • 4
0
votes
1 answer

Bundler could not find compatible versions for jquery-ui-rails

I've created a new gemset, then, when I try to bundle install, I get this error: Bundler could not find compatible versions for gem "jquery-ui-rails": In Gemfile: activeadmin (>= 0) ruby depends on jquery-ui-rails (~> 5.0) ruby …
simo
  • 23,342
  • 38
  • 121
  • 218
0
votes
1 answer

can I undo $rvm gemset use global?

I cannot get into my rails console anymore after issuing this in my (OSX) terminal: $gem install pry pry-doc $rvm gemset use global $gem install pry pry-doc I was following along with…
user3138341
  • 219
  • 2
  • 3
  • 12
0
votes
1 answer

$PATH issues with RVM and Ruby

having an annoying problem here. my $PATH is as…
Sherwyn Goh
  • 1,352
  • 1
  • 10
  • 19
0
votes
1 answer

Bundle install: permission denied

Context: Trying to learn rails/ruby. used the bitnami ubuntu ruby stack VM (2.1) as development environment. its a preinstalled VM that is detailed here. Problem: Making a new project: rails new tp Which will automatically run bundle install, which…
Punkie
  • 3
  • 1
  • 2
0
votes
2 answers

How to install a gem inside a gemset from Ruby code?

I'm trying to follow this exact workflow from within Ruby code: rvm use 2.0.0@some-name --create gem install some-gem I didn't find much documentation about using RVM in Ruby. Edit: I know these steps are correct from the shell but I would like…
Nico Schuele
  • 107
  • 9