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

Issue with creating a gemset via Chef - .ruby-gemset and .ruby-version not getting created

I have included rvm --create --ruby-version ruby-2.3.3@storesview in my recipe to create a gemset. Running the kitchen converge does not result in the creation of .ruby-gemset and .ruby-version. But when I run rvm --create --ruby-version…
Anjana
  • 45
  • 1
  • 6
1
vote
1 answer

Is RVM considered some kind of application virtualization scheme?

I've been reading about virtualization layers and this came up to me when I was getting into Application Virtualization. May I consider RVM use of Gemsets a form of Application Virtualization? Given that it allows several versions of gems coexist in…
Adrian Ferreyra
  • 140
  • 1
  • 7
1
vote
1 answer

rvm gemset with a specific ruby patch e.g. pNNN

I want to create a gemset with a specific patch version of ruby. Generally I use rvm use 2.0.0@billslim --create without issue, however i need to use 2.0.0p481, but specifying p481 doesn't work e.g. rvm use 2.0.0-481@billslim --create and if i…
Ben
  • 1,292
  • 1
  • 13
  • 21
1
vote
1 answer

How do I upgrade a rails 3.2 app from ruby 1.9.3 to ruby 2.1.5 using rvm

My Rails 3.2 / Ruby 1.9.3 app is using RVM. I want to upgrade to using ruby 2.1.5. I have used RVM to install Ruby 2.1.5 as well. So rvm list shows both 1.9.3 and 2.1.5 My project directory has a .rvmrc file…
jpw
  • 18,697
  • 25
  • 111
  • 187
1
vote
2 answers

Invalid spec cache file in .../latest-specs.rb

I have a similar problem to: Invalid spec cache file but it does not have an answer. Our rails app recently upgraded from ruby 2.1.2 to 2.1.5 When I downloaded this onto my laptop (desktop working fine) it required be to rvm install 2.1.5, then…
Taryn East
  • 27,486
  • 9
  • 86
  • 108
1
vote
1 answer

RVM gemset created wrong directory cannot remove

I did something a bit silly, when I was creating a new Rails app I accidentally created the gem set on the desktop before I changed into the app folder. Normally I create an app by doing the following, cd desktop mkdir officepro cd testapp rvm use…
Shane
  • 33
  • 5
1
vote
1 answer

Suddenly can't bundle install

I haven't changed the versions numbers on any of these since it was working, but suddenly when I run bundle update or bundle install I get: Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile: …
Choylton B. Higginbottom
  • 2,236
  • 3
  • 24
  • 34
1
vote
0 answers

Is generating ruby docs (ri, rdocs) via RVM gemset specific?

Using RVM I can generate docs using: rvm docs generate My question is do I have to do this for every gemset, or is it global? I frequently switch gemsets while working on different projects. I would like to have ri always available. Does the above…
MERM
  • 629
  • 7
  • 21
1
vote
1 answer

Prevent application from creating a gemset

I have Rails application that I've cloned from github: https://github.com/RailsApps/rails3-devise-rspec-cucumber When I run bundle, a new gemset rails3-devise-rspec-cucumber is created. Could you please explain, why that particular application…
Alex Smolov
  • 1,831
  • 4
  • 24
  • 43
1
vote
3 answers

Delete RVM Gemset with @ sign in it

Somehow, I have a gemset that has an @ sign in it and I can't figure out how to delete it. MacBook-Pro:project user$ rvm gemset list gemsets for ruby-1.9.3-p392 (found in /Users/user/.rvm/gems/ruby-1.9.3-p392) (default) => dalli …
Tyler DeWitt
  • 23,366
  • 38
  • 119
  • 196
1
vote
2 answers

Bundle is switchng my rails version but I have no gem file. How to stop this?

I create a gemset with $ rvm gemset create r3 $ rvm gemset use r3 $ gem install rails -v3.2.13 At this point $ rails -v now shows $ Rails 3.2.13 but every time I do bundle with a project I've forked, I find that rails -v shows Rails 4.0.1 -…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
1
vote
2 answers

ruby script specific gemset backick

We have a rails sidekiq setup to run jobs. I am trying to make a job as portable as possible by separating the actual script from the sidekiq call. So sidekiq calls a small stub job that backtick calls the actual script and captures the…
user145837
  • 111
  • 1
1
vote
1 answer

Bundle install, how to avoid using the library from source

I want to install a library to my rvm gemsets, but this library is not available using in the gem install. I have to install it from source I do bundle install and it went well, except that It does not install the lib to the gemset but only the…
w00d
  • 5,416
  • 12
  • 53
  • 85
1
vote
1 answer

Is there a trick to profiling memory usage w/ ruby-prof using an rvm gemset?

I've been trying to get ruby-prof working for memory usage on Mac OS X w/ Ruby 1.8.7 and so far I'm not having much luck. I understand from the documentation that RubyProf::MEMORY mode requires a patched version of Ruby. I've tried installing the…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
1
vote
0 answers

deploying a specific git version of a gem into passenger via rvm global gemset

We've a deploy issue I'm having with passenger using a specific github version of the handsoap gem, which is specified in the Gemfile. bundle states: Using handsoap (1.1.8) from git://github.com/unwire/handsoap.git (at e6f79ec) [ rubyapp]$ bundle…
oceanician
  • 399
  • 4
  • 14