<p>I cloned latest from master and ran <code>vagrant up</code>. Running into the following issue:</p>
<pre><code>...
default: Successfully installed bundler-1.16.2
default: Parsing documentation for bundler-1.16.2
default: Installing ri documentation for bundler-1.16.2
default: Done installing documentation for bundler after 4 seconds
default: 1 gem installed
default: /srv/openstreetmap-website /home/vagrant
default: There was an error while trying to write to
default: `/srv/openstreetmap-website/.bundle/config`. It is likely that you need to grant
default: write permissions for that path.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
</code></pre>
<p>I think the problematic line in the provision.sh script is:</p>
<pre><code># do bundle install as a convenience
sudo -u ubuntu -H bundle install --retry=10 --jobs=2
</code></pre>
<p>I <code>vagrant ssh</code> into the VM and ran:</p>
<pre><code>vagrant@ubuntu-xenial:/srv$ sudo chmod -R 777 openstreetmap-website
</code></pre>
<p>I got further but not much. Now I have the following error:</p>
<pre><code>vagrant@ubuntu-xenial:/srv/openstreetmap-website$ sudo -u ubuntu -H bundle install --retry=10 --jobs=2
Fetching gem metadata from https://rubygems.org/...........
Fetching rake 12.3.1
Installing rake 12.3.1
Errno::EPERM: Operation not permitted @ chown_internal - /tmp/bundler20180530-22084-xy0qt9rake-12.3.1/bin
An error occurred while installing rake (12.3.1), and Bundler cannot continue.
Make sure that `gem install rake -v '12.3.1' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
annotate was resolved to 2.7.3, which depends on
rake
</code></pre>
<p>Help. Thank you.</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/issues/1888">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLbYKK8EDSXw4Jm87URUzOpon8VGNks5t3w3NgaJpZM4UUCNa">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLWZtQSY76pw3rwOUjZIToWLBANu3ks5t3w3NgaJpZM4UUCNa.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/openstreetmap/openstreetmap-website/issues/1888","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1888","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<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":"DESCRIPTION","message":"vagrant up failing due to permission issue and more (#1888)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1888"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "vagrant up failing due to permission issue and more (#1888)",
"sections": [
{
"text": "",
"activityTitle": "**Michael Hwang**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@mikehwang",
"facts": [
{
"name": "Repository: ",
"value": "openstreetmap/openstreetmap-website"
},
{
"name": "Issue #: ",
"value": 1888
}
]
}
],
"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\": 1888,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 1888\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/1888"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 340796250\n}"
}
],
"themeColor": "26292E"
}</script>