I'm begging someone to help me… I can't figure to this error… I've looked everywhere… It appears to be a permissions issue. I've done CHMOD -R 777 and CHOWN…
My ignorant guess is that maybe I SUDO set up.. and then later changed… and then maybe the permissions became confused… But maybe it's something completely different...
Errno::EACCES in Pages#home Showing [PATH]/sample_app/app/views/layouts/_stylesheets.html.erb where line #7 raised: Permission denied - ([PATH]/sample_app/tmp/cache/assets/sprockets%2F6fad04bfc6f657170023030f3a905cfd20120403-32248-1jrp9lc, [PATH]/sample_app/tmp/cache/assets/D2F/8A0/sprockets%2F6fad04bfc6f657170023030f3a905cfd) Extracted source (around line #7):
I'm a noob following Ruby on Rail 3 Tutorial, seen here.
I successfully got to this point, all was well.. and even briefly saw my page load correctly before this error stopped me in my tracks.
One other thing — which may help of confuse the issue not sure — in my
_stylesheets.html.erb I have this path:
<%= stylesheet_link_tag 'custom', :media => 'screen' %>
If I change the path by adding a slash before "custom", like so:
<%= stylesheet_link_tag '/custom', :media => 'screen' %>
…then the pages display ok.. but just not with that necessary stylesheet.
sudo chown -R $user:$group /myfolderHarshal Bhamare 2016-11-29 11:14
mv /sample_app/tmp/assets to /sample_app/tmp/assetsbak
And all is OK