Skip to content

Improve development setup #143

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

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Improve development setup #143

merged 2 commits into from
Sep 6, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Sep 5, 2023

  1. We should use Ruby 3.2.2 for development.
  2. Instead of requiring rails/railtie, which is not a valid entry point, we should just require rails.
    • This is not an issue for our users, but it crashes tapioca gem because rails/railtie doesn't require sufficient dependencies.

Requiring just `rails/railtie` means we'd lose some essential dependencies
and cause error when requiring `ruby_lsp_rails` directly (e.g. in `tapioca gem`).

Therefore, we should require `rails` instead as recommended in
rails/rails#49162 (comment)
@st0012 st0012 added the bugfix This PR fixes an existing bug label Sep 5, 2023
@st0012 st0012 added this to the 2023-Q3 milestone Sep 5, 2023
@st0012 st0012 self-assigned this Sep 5, 2023
@st0012 st0012 requested a review from a team as a code owner September 5, 2023 21:44
@st0012 st0012 merged commit 187c626 into main Sep 6, 2023
@st0012 st0012 deleted the improve-development-setup branch September 6, 2023 15:04
@shopify-shipit shopify-shipit bot temporarily deployed to production September 12, 2023 15:20 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants