method

user_dir

ruby latest stable - Class: Gem
user_dir()
public

Path for gems in the user’s home directory