Skip to content
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

Update Parsec version (Enable Ruby 3.2 to work in MacOS) #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Victorcorcos
Copy link
Contributor

@Victorcorcos Victorcorcos commented Jul 24, 2023

Description ✍️

This fixes an incompatibility issue that happens with this combination: Parsec + MacOS + Ruby >= 3.2.

The following steps must also be done:

How to fix (locally) 🛠️

1. Add this to Gemfile

gem 'parsecs', github: 'oxeanbits/parsec', ref: 'refs/pull/64/head'

2. Update the parsecs gem

bundle update parsecs

3. Rebuild the gem locally

cd `bundle info parsecs --path | tail -n 1`
ruby ext/libnativemath/extconf.rb

4. Try to run rails c on your project repository again

cd # /PATH/to/my/repository/pocket-api
rails c

It should be working fine.

Checks ☑️

  • Update Parsec version with changes in MacOS related libnativemath build
  • Smoke Tests

@Victorcorcos Victorcorcos self-assigned this Jul 24, 2023
@Victorcorcos
Copy link
Contributor Author

Update the Parsec version to reflect changes of this PR: #62
And publish it on RubyGems afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants