New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Mastodon use its own gemset #17858
Make Mastodon use its own gemset #17858
Conversation
I'm not sure what the benefits of using RVM gemsets are since we're using bundler to install gems (which are managed locally in |
If you're using RVM, it by default won't go into
I'd like to not have to either mix all my gems together in one big pile or remove RVM just to tinker with this project. |
Does this occur even when following the installation instructions from the Mastodon documentation?
In any case, I don't think this change should be needed. But if it does not have any surprising or ill effect either, why not. |
I didn't use that because I wasn't trying to install it exactly, but develop on it. I'm normally a Pleroma user and wanted to tinker with this locally. I submitted this PR as a courtesy since I, personally, am going to use a gemset for this even if the people running this repo think that's wacky. I don't think it will have any ill effects; after running those installation commands, it did place the files in I would keep this change but it's also not my repository. Merge or close it, neither bothers me. Enjoy the rest of your day! |
Yes,
Thanks, I'll read up a little more on gemsets before I make up my mind, but it sounds like a good change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is that this would only ever affect people using RVM (not people using distribution-provided ruby, nor people following the documentation and using RBenv).
As for people using RVM, this would allow new users to not have gem clashes with other installs without having to configure bundler the recommended way. It might possibly cause an issue for users already making using Mastodon through RVM, although I haven't checked. Such issues would be solved just by re-installing bundler and re-running bundle install
.
I don't have a strong opinion either way, so I'll just refer to @Gargron
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Generally, having a gem environment that's specific to the app you're writing is a good idea. If merged, this will implement that.