-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
Dev setup instructions missing RAILS_ENV=development and bundle exec #1016
Comments
I know there's a big documentation update pending as #991, but I've checked that pull request and it does not change these instructions. |
i have not personally tried a from-source dev environment setup yet, but my feedback based on what i know currently is:
|
@trwnh I might be wrong on My understanding is that if you use the binstub from It's worth that |
For https://github.com/mastodon/documentation/blob/31a159d456a245efe1514b29a6694aa9fb115eb4/content/en/dev/setup.md, both the
rails db:setup
andforeman start
commands needed me to set theRAILS_ENV
environment variable to development. Theforeman
command in particular was confusing, because whilst therails db:setup
command clearly told me theRAILS_ENV
environment variable was unset, I thinkforeman
defaulted to production, as it complained I hadn't compiled assets.In additional, as Rails is managed via bundler, should we not be using
bundle exec
?So I think these command lines should be
and
The text was updated successfully, but these errors were encountered: