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
2
votes
1 answer

How to fetch Linkedin user data?

I am using Linkedin API to fetch user content in RoR project. I am following this blog. Here is controller code: Basic profile (which works fine) client = get_client profile = client.profile(:fields => ["first-name", "last-name", "maiden-name",…
Amit Pal
  • 10,604
  • 26
  • 80
  • 160
2
votes
1 answer

Gem installed in @global gemset is not available in other gemsets

I installed rvm and then installed bropages in @global gemset. $ rvm install 2.2.3 $ rvm use ruby-2.2.3@global $ gem install bropages When I run $ gem list | grep bro bropages (0.1.0) I can see bropages is installed. But when I move to default…
Andrew-Dufresne
  • 5,464
  • 7
  • 46
  • 68
2
votes
1 answer

Ruby on Rails - Bad interpreter

I'm facing a weird issue here. When I create a gemset using rvm, the path of which rails changes. Following are commands I'm running on terminal. I referred related question on SO, but didn't help me much. someuser@ubuntu-laptop:~/sandbox/some_app$…
Bongs
  • 5,502
  • 4
  • 30
  • 50
2
votes
2 answers

ERROR: While executing gem ... (Gem::FilePermissionError)

I have install rbev rbenv version 2.0.0-p247 (set by /Users/amritdeepdhungana/.rbenv/version) , ruby ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]\ and rails rails -v Rails 4.0.1 I have create new project and…
Amrit Dhungana
  • 4,371
  • 5
  • 31
  • 36
2
votes
1 answer

Why do I have duplicated gemsets after installing rvm and ruby ?

I just installed RVM on my laptop with : \curl -sSL https://get.rvm.io | bash It automatically installed ruby version 1.9.3. ruby -v ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux] It automatically created the following gemsets : rvm…
Douglas
  • 5,229
  • 3
  • 43
  • 54
2
votes
1 answer

Capistrano cannot find gem in production

Hi I think I am missing something basic here. I am using Capistrano to deploy to 'integration' and then to 'testing'. I cannot seem to add a gem and then deploy successfully with Capistrano to one of the websites ('testing'). However I can deploy it…
ryan2johnson9
  • 724
  • 6
  • 21
2
votes
1 answer

Rails Bundle Install failing on bootstrap-sass

I just did a fresh install of mavricks, Postgres.app, RVM, Git. I created a standard new rails app and everything worked fine. However when I tried to grab a project from github and can not get bundle install to run. d3 git:(master) bundle…
Tyler
  • 678
  • 7
  • 22
2
votes
2 answers

How to undo bundle install?

I am working on an Octopress blog, so I set up a separate gemset and did rvm use gemset octopress. It all worked fine. However, I opened a new ZSH tab (I'm on OS X Mountain Lion, if that's relevant) and it fell back to the previous gemset I was…
Alexander Popov
  • 23,073
  • 19
  • 91
  • 130
2
votes
3 answers

Ruby On Rails 3.2.13 - Using Different Gemsets For Rails Applications

I currently have several Rails applications running version 3.2.13 that use Ruby 1.9.3. I plan to eventually upgrade my current applications to Rails 4.0 then upgrade Ruby to 2.0. I need to time the conversion to Ruby 2.0 carefully since from my…
2
votes
2 answers

Two versions of gems in production rails deployment

I think i have some issues with my gemfile in production, as it differs from my development, which i believe is causing my deployment (Capistrano) to fail, well at bundle install time at least Development actionmailer (3.2.3) actionpack…
Richlewis
  • 15,070
  • 37
  • 122
  • 283
2
votes
1 answer

Gemset: Rails is not currently installed on this system.

macbook$ rvm gemset list_all gemsets for ruby-1.9.2-p320 (found in /Users/macbook/.rvm/gems/ruby-1.9.2-p320) global gemsets for ruby-1.9.3-p194 (found in /Users/macbook/.rvm/gems/ruby-1.9.3-p194) nice global macbook$ rvm use…
Bruno
  • 6,211
  • 16
  • 69
  • 104
2
votes
1 answer

What's the difference between ruby-1.9.3-p194 and ruby-1.9.3-p194@global gemsets?

I am currently running the following on OSX 10.6.8 and am trying to understand gemsets and gems. Ruby 1.9.3-p194 Rails 3.2.8 RVM 1.15.6 When I look in .rvm/gems/ I see several gemset directories. Inside each one there is a gems directory. Now, whats…
rjd
  • 1,786
  • 2
  • 16
  • 19
2
votes
1 answer

Can't create gemset on system-wide rvm installation

I am trying to create a gemset. First, I did $ rvm gemset create rails-1.3.7 mkdir: /usr/local/rvm/gems/ruby-1.9.2-p320@rails-1.3.7: Permission denied Gemset 'rails-1.3.7' does not exist, 'rvm gemset create rails-1.3.7' first, or append…
highBandWidth
  • 16,751
  • 20
  • 84
  • 131
1
vote
2 answers

how to set bundler version with rvm?

I have a project that uses RVM, and it have .ruby-gemset and .ruby-version files, but I want set the bundler vession too. I tried .ruby-bundler but not worked. When enter in the folder this set the gemset and ruby version correctly but not install…
Jeriel
  • 117
  • 3
  • 8
1
vote
1 answer

Cannot change gemset by rvm

Cannot change any gemset by rvm on macOS Catalina 10.15.4 (19E287) Default gemset is always selected no matter what I change to other gemset rvm --version rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] rvm…