-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
remove Foreman from Gemfile #330
remove Foreman from Gemfile #330
Conversation
👍 |
I'm sympathetic to that point of not letting what is mostly a local dev tool impact the app's more core dependencies, but a) we do already put the If we do remove it from the |
@mjankowski I like the idea of putting it in |
+1 to bin/setup You may even want to check out github.com/ddollar/forego which is a single |
Is there a simple, cross-system way to install foreman/forego in |
Other Go-based tools are using a technique like this to detect your OS and CPU architecture based on the User-Agent, then redirect you to the latest release for your platform.:
It doesn't look like |
I agree with moving this into
@ddollar Any thoughts on a hosted OS/CPU detector like |
What's wrong with just |
Let's keep it to Ruby. I don't feel comfortable running arbitrary binaries on my machine. @seamusabshere can you update the pull request? |
In |
It's not possible to install foreman using Maybe the first step to this should be to submit a PR to foreman for Debian and Homebrew packaging. |
You're supposed to install foreman as part of the Heroku Toolbelt, which we already install as part of laptop. |
Maybe I'm missing something but I think this is as simple as adding the following line to gem install foreman . . . which I'm sure @seamusabshere will add to this PR presently |
I do indeed have foreman installed into |
Bravo! |
Hmmm. I installed the Heroku toolbelt via homebrew, and I don't see foreman installed:
Homebrew installs the standalone version of the toolbelt, which is at this S3 URL (via their install.sh). When I untar and un-gzip that file, I see:
So at least for the standalone version, the toolbelt does not include Foreman. |
They actually note this on their page. You can see that the OSX native version promises to install foreman, while the standalone version does not. |
I think that a lot of people have probably installed the toolbelt via Heroku. Therefore, we cannot rely on foreman being installed in Therefore, my vote is that we should add |
I'm sort of torn on this. I guess the best thing to do for now is to add |
@mike-burns Can you elaborate on this? It seems like forego has advantages over foreman:
@ddollar How does Heroku the platform run the processes in I've personally been using forego instead of foreman for a few weeks and it's been working as expected, no problems. |
Heroku does not use foreman or forego but instead uses a custom piece of software that integrates into their dispatching service. |
I'm paranoid. I'll gladly use the forego binary when I download it from a trusted source and confirm the checksum against a known good value. In general I only trust binaries distributed by my OS. Also, we all know and enjoy Ruby. foreman is a nice common ground. Yes, I wish they had a distribution mechanism more like gitsh; Rubygems is a terrible way to distribute a program. But that's what they chose. |
Assuming forego would be easy to install on our supported systems, I think it would make sense to add that to our laptop script. |
It's worth noting that foreman is installed as part of the Heroku toolbelt. |
@mike-burns as @gabebw noted above, there are two versions of toolbelt: the standalone version, and the full install. The standalone version does not include foreman. |
Oh. Can we install the full version using our laptop script and then merge this PR? Is that the solution that will make everyone happy? |
I've opened thoughtbot/laptop#246. |
Personally, I've always installed If I'm in the minority, that's fine - I'll just keep using the gem, with nobody the wiser. |
The laptop script also uses Homebrew to install |
I looked and couldn't find a Homebrew tap for foreman. Looks like we can try to install the |
I've added a call to installer(1) to thoughtbot/laptop#246. Would love a couple more opinions on that. |
thoughtbot/laptop#246 is merged; foreman is now installed as part of the laptop script. Is this PR good to merge now? |
Made some edits to the documentation and merged as a1a322c. |
per @ddollar in ddollar/foreman#437 (comment)
later I told him I was using suspenders: