Reputation: 6180
I created project1 and ran the following code:
rvm use ruby-2.1.0@project-gemset
Then I moved out of the directory and created project2, running the same rvm code.
When I run rvm gemset list
I see that it is using the same gemset as project1.
Why aren't .ruby-version and .ruby-gemset being created for project2?
I can't see them when I run a ls -a
on project2's path.
Thank you in advance.
Upvotes: 0
Views: 150
Reputation: 53188
to create the files you need to add flag:
rvm use ruby-2.1.0@project-gemset --ruby-version
or explicitly create it:
rvm use ruby-2.1.0@project-gemset
rvm rvmrc create .ruby-version
Upvotes: 3