Ruby, Errno :: EACCES, Permissions Denied, Asterisks

I'm asking someone to help me ... I can't figure out this error ... I've looked everywhere ... It seems to be a permissions issue. I did CHMOD -R 777 and CHOWN ...

My clueless guess is that maybe I created SUDO .. and then changed later ... and then maybe the permissions got 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 am a noob after Ruby on Rail 3 Tutorial, here: http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#sec:a_name_and_a_gravatar

I successfully got to this point, everything was fine .. and even briefly saw that my page load was correct before this error stopped me on my roads.

One more thing that can help confuse the problem 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 forward slash before "custom" like: <% = stylesheet_link_tag '/ custom' ,: media => 'screen'%>

... then the pages render fine ... but just not with the correct stylesheet.

I hope I'm not stupid. Please, help.

+3


source to share





All Articles