<p>Hello. I've re-pushed the 058_name_unnamed_redactions.rb file with some changes added. Thank you <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=147741" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> and <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=360803" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a> for your recommendations. Those of us who are working on the redaction-title-issue-2033 branch have been experiencing an issue with openstreetmap where every time we attempt to use vagrant within our own version of the project and run the rails server we get this error message in the browser:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/44008528/49323406-f718fc80-f4e8-11e8-858a-ff935877b61f.PNG"><img src="https://user-images.githubusercontent.com/44008528/49323406-f718fc80-f4e8-11e8-858a-ff935877b61f.PNG" alt="syntaxerrorscreenshot" style="max-width:100%;"></a></p>
<p>The way we've been able to find a workaround for this involves copying and pasting the needed files over to the right directory, and then re-running rails server. Using these commands in our local version of the repo:</p>
<p><code>cd app/assets/stylesheets/ltr</code><br>
<code>cp -p ../common.scss ../small.scss .</code><br>
<code>cd ../rtl</code><br>
<code>cp -p ../common.scss common.r2.scss</code><br>
<code>cp -p ../small.scss small.r2.scss</code><br>
<code>cd ../../../../</code><br>
<code>vagrant ssh</code><br>
<code>cd /srv/openstreetmap-website</code><br>
<code>rails server</code></p>
<p>Is there possibly a more long-term remedy for this?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2034#issuecomment-443393075">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLawnRKQlQwLeuoZN7hjRj8BYmnVbks5u0e0rgaJpZM4X3FF3">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLdGhdRr0FbZpFzUw4VYiHD-eqgC5ks5u0e0rgaJpZM4X3FF3.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@johnkirby2 in #2034: Hello. I've re-pushed the 058_name_unnamed_redactions.rb file with some changes added. Thank you @tomhughes and @gravitystorm for your recommendations. Those of us who are working on the redaction-title-issue-2033 branch have been experiencing an issue with openstreetmap where every time we attempt to use vagrant within our own version of the project and run the rails server we get this error message in the browser:\r\n\r\n\r\n\r\nThe way we've been able to find a workaround for this involves copying and pasting the needed files over to the right directory, and then re-running rails server. Using these commands in our local version of the repo:\r\n\r\n`cd app/assets/stylesheets/ltr`\r\n`cp -p ../common.scss ../small.scss .`\r\n`cd ../rtl`\r\n`cp -p ../common.scss common.r2.scss`\r\n`cp -p ../small.scss small.r2.scss`\r\n`cd ../../../../`\r\n`vagrant ssh`\r\n`cd /srv/openstreetmap-website`\r\n`rails server`\r\n\r\nIs there possibly a more long-term remedy for this?"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/2034#issuecomment-443393075"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2034#issuecomment-443393075",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2034#issuecomment-443393075",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] Added a validation to the Redaction model for the title. (#2034)",
"sections": [
{
"text": "",
"activityTitle": "**johnkirby2**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@johnkirby2",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2034,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"pullRequestId\": 2034\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/pull/2034#issuecomment-443393075"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 400314743\n}"
}
],
"themeColor": "26292E"
}
]</script>