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

Add Libffi-dev installation to the bootstrapping script #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterb
Copy link

@peterb peterb commented Dec 19, 2020

Currently when you run ./railties/exe/rails new cool_app --dev inside the Vagrant container, you get a message: along the lines of Error installing ffi: Failed to build gem native extension

If libffi-dev is installed, the libffi gem native extensions can compile, which are required when generating a Rails application inside the Vagrant container. See my post on the rails-core mailing list for some background on the motivation, this is one approach. Happy to modify/add to this this based on feedback!

can run:

`./railties/exe/rails new cool_app --dev`

Inside the Vagrant container.
@peterb peterb changed the title WIP: Adding Libffi to bootstrapping process Add Libffi-dev to bootstrapping process Dec 19, 2020
@peterb peterb changed the title Add Libffi-dev to bootstrapping process Add Libffi-dev installation to the bootstrapping script Dec 19, 2020
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.

1 participant