Grant permission for the path
<p>I am following this <a href="https://gorails.com/setup/windows/10" rel="nofollow noreferrer">guide</a>, to install ruby, while everything has no problem except when I try to run this command</p>

<p><strong>rails new myapp -d mysql</strong></p>

<p>in which I got this error</p>

<pre><code>  run  bundle install
There was an error while trying to write to
`/home/fil/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47`. It is likely that you need to
grant write permissions for that path.
         run  bundle exec spring binstub --all
bundler: command not found: spring
Install missing gem executables with `bundle install`
</code></pre>

<p>Is there any way to solve this?</p>