ohho
ohho

Reputation: 51941

rvm config: No such file or directory

When I run rvm list,it shows:

rvm rubies

=> /Users/ohho/.rvm/scripts/list: line 321: /Users/ohho/.rvm/rubies/ruby-1.8.7-p371/config: No such file or directory
ruby-1.8.7-p371 [  ]
 * ruby-1.9.3-p194 [ x86_64 ]

# => - current
# =* - current && default
#  * - default

Is it an error or can I just ignore it?

UPDATE

The error goes away after rvm get stable which updates rvm 1.16.16 to rvm 1.16.17. A config file shows up in ~/.rvm/rubies/ruby-1.8.7-p371/ after the rvm upgrade.

Upvotes: 3

Views: 1966

Answers (2)

mpapis
mpapis

Reputation: 53158

this was a bug in generating config files in rvm 1.16.16 - it was solved already and updating rvm should be enough to fix it:

rvm get stable #or:
rvm get head

Upvotes: 2

Prakash Murthy
Prakash Murthy

Reputation: 13067

It is not a critical error message; so you can ignore it.

However, the message is coming up most likely because the uninstall of ruby-1.8.7-p371 version wasn't completed successfully.

Try running rvm cleanup - it might remove the stale folders.

You could go into /Users/ohho/.rvm/rubies/ folder, and run rm -rf ruby-1.8.7-p371 to remove the folder completely

Or, try removing it, and reinstall as follows:

rvm remove ruby-1.8.7-p371
rvm install ruby-1.8.7-p371

Upvotes: -1

Related Questions