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
ruby ruby-on-rails


source to share


No one has answered this question yet

Check out similar questions:

1998
How to write a switch statement in Ruby
1339
How can I rename a database column in Ruby on Rails migrations?
1165
Check if value exists in array in Ruby
1069
How to convert string to lower or upper case in Ruby
1023
How do I get the current absolute url in Ruby on Rails?
1010
Calling shell commands from Ruby
978
What is attr_accessor in Ruby?
876
Brief explanation of nil v. Empty v. Blank in Ruby on Rails
771
How to get a random number in Ruby
0
Errno :: ENOENT in Devise :: Sessions # new



All Articles
Loading...
X
Show
Funny
Dev
Pics