Skip to content

Conversation

@peteryates
Copy link
Member

@peteryates peteryates commented Jun 29, 2023

This recent PR means that we need Rails to be set up in order to build the guide.

@netlify
Copy link

netlify bot commented Jun 29, 2023

Deploy Preview for govuk-components ready!

Name Link
🔨 Latest commit 1e3898e
🔍 Latest deploy log https://app.netlify.com/sites/govuk-components/deploys/649da96972f996000807bb64
😎 Deploy Preview https://deploy-preview-434--govuk-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

A recent change to ViewComponent[0] makes it call
Rails.application.routes.url_helpers which, until now, didn't exist.

We can initialize a fake Rails application so it's at least present,
despite being totally empty, which will allow the guide build to
function. We're very much in the minority in terms of how we're building
this guide Rails-free, so it's on us to make it work.

[0] ViewComponent/view_component#1765
@peteryates peteryates force-pushed the view_component-3.3.0 branch from 3eed7ee to 1e3898e Compare June 29, 2023 15:55
@peteryates peteryates marked this pull request as ready for review June 29, 2023 15:58
@peteryates peteryates added this pull request to the merge queue Jun 29, 2023
Merged via the queue into main with commit 3a0e111 Jun 29, 2023
@peteryates peteryates deleted the view_component-3.3.0 branch June 29, 2023 17:07
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.

3 participants