Questions tagged [rbenv-gemset]

rbenv-gemset is an extension for the rbenv ruby version manager that allows you to use sandboxed collections of gems

rbenv-gemset is an extension for the rbenv ruby version manager that allows you to use "gemsets", sandboxed collections of gems. This lets you have multiple collections of gems installed in different sandboxes, and specify (on a per-application basis) which sets of gems should be used.

You can also install gems into a sub-folder in your project directory for easy cleanup later (or easy customization, or testing).

15 questions
3
votes
2 answers

How to install ruby gem without sudo?

Configuring a new machine (Mac OS Mojave - Version 10.14.2). After installing ruby with rbenv. I'm trying to install some gem and running : gem install rake bundler rspec rubocop pry pry-byebug hub colored octoki But its give me the following…
3
votes
2 answers

Error running pod install for an update due to permissions

I am getting an error when running pod install on my project. The error is seen as a permission error: Errno::EACCES - Permission denied - /Users/**/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/fileutils.rb:1406:in…
StuartM
  • 6,743
  • 18
  • 84
  • 160
3
votes
1 answer

Failure to install ruby gems with rbenv

I can't install any Ruby gems. I am using rbenv and when I use gem install rails, I get a permission error: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory I…
Ray Fitzgerald
  • 740
  • 6
  • 9
3
votes
1 answer

Gems not in Local Gems after bundle install

New machine. New rbenv install. New rbenv-gemset install. New ruby-2.0.0 install. New rails 4.0.0 app. When I $ bundle install from the rails app directory, I get Your bundle is complete! It was installed into ./vendor/bundle But, if I then $ gem…
dpdawson
  • 488
  • 4
  • 9
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

Unable to install gems or RVM

I'm trying to install Foundation with Sass and Compass but am having a difficult time getting this, or any gem installed through terminal. I'm on a Macbook Pro running the latest version of OS X. running gem install zurb-foundation or gem install…
1
vote
0 answers

How to use gemset version of gem instead of default version?

I have set up rbenv and rbenv-gemset. I installed the Ruby and created the gemset. Using OSX, there is the default version 1.17.2: > gem list bundler *** LOCAL GEMS *** bundler (default: 1.17.2, 1.7.3) I installed 1.7.3 with > gem install bundler…
G SB
  • 47
  • 6
1
vote
2 answers

rbenv command not found on Mac OS

We are trying to run rbenv on El-Capitan 10.11.6. When we try to run rbenv command in the terminal we got the following error message: command not found We googled how to solve that issue and one possible solution is to add the "rbenv" to the…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
1
vote
1 answer

rbenv: how may I create a private bundle for an application?

I've never used rbenv, but now I need to know something about it and Google failed me. When I'm using rvm and I want to create a private bundle for an application (say myapp), with Ruby 2.3.1, for instance, I just issue the command rvm use…
Ed de Almeida
  • 3,675
  • 4
  • 25
  • 57
1
vote
1 answer

rbenv and gemsets mismatch (?) causing Cucumber failures

Last week, my Cucumber tests started failing. All of them. Here is the error: undefined method `split_stylesheet_link_tag' for #<#:0x007ff9a6a848f8> (ActionView::Template::Error) split_stylesheet_link_tag is a method I have…
nickcoxdotme
  • 6,567
  • 9
  • 46
  • 72
1
vote
1 answer

RubyMine with rbenv gemset

RubyMine deals with rvm gemset feature but after some research looks like it does not work with rbenv gemset plugin. Should I use the same ~/.gemrc file to specify the GEM PATH to indicate rbenv gemset? There is some other way to work with RubyMine…
wlads
  • 767
  • 7
  • 9
0
votes
1 answer

How to use gemset in rbenv?

I'm new to the concept of gemset and I'm trying to create a new gemset for my existing project. I've installed the plugin and followed the steps as mentioned here https://github.com/jf/rbenv-gemset Can anyone tell me what is the exact way to use…
Dynamo
  • 67
  • 11
0
votes
1 answer

Rails Server Error - Rails 4

I am trying to come back to create another application on Rail4 and When I try to start the application this is what happened: prompt$ rails server …
user3538384
  • 87
  • 2
  • 7
0
votes
2 answers

Rails 4: rbenv & rvm clash, following tutorial

When first started, I installed Rails with rbenv and, through time, created a few apps. I have not had to touch rbenv, never had a problem, yet never had a chance to get to know it. I recently decided to run through the "Learn Ruby on Rails"…
shroy
  • 918
  • 2
  • 10
  • 24
0
votes
1 answer

`rbenv rehash` not generating shims (using rbenv-gemset plugin)

I'm using rbenv and rbenv-gemset to manage the gems for a middleman project. Even though I've run the rbenv rehash command, the shim for middleman does not exist: → middleman git:(master) × rbenv which middleman rbenv: middleman: command not…
asgeo1
  • 9,028
  • 6
  • 63
  • 85