Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

gemset

RVM: List all gems in current gemset ignoring global & default

August 27, 2023 by Tarik

for global: rvm @global do gem list for other gemsets: GEM_PATH=$GEM_HOME gem list @global is a gemset that all other gemsets inherit for given ruby, it does not inherit for m itself so it’s safe to select it and run gem list in it’s context. For all other gemsets you can use the fact that … Read more

Categories rubygems Tags gemset, rubygems, rvm Leave a comment

Create .ruby-version and .ruby-gemset with rvm

March 31, 2023 by Tarik

I recently had the same problem. rvm –help led me to: rvm –create –ruby-version ruby-1.9.3@my-gemset It created both .ruby-gemset and .ruby-version.

Categories ruby-on-rails Tags gemset, ruby, ruby-on-rails, rvm Leave a comment

Where does bundler store gems?

January 16, 2023 by Tarik

If you want to find out where a particular gem is stored you can run bundle info <gem-name>. For example: user@host$ bundle info rake /var/bundle/ruby/2.1.0/gems/rake-10.4.2 For older versions of rake, the command could be bundle show <gem_name>.

Categories ruby Tags bundler, gem, gemset, ruby, rvm Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa