Ruby on Rails Tuesday, November 29, 2011

Hi,
I issue the following  commands:

rails new dummy_app
cd dummy_app
rake doc:rails

When issuing the last command I notice that rake aborts due to denied permissions. See below.

rm -r doc/api
Parsing sources…
100% [485/485] /opt/local/lib/ruby/gems/1.8/gems/railties-3.1.3/lib/rails.rb

Generating Darkfish format into /Users/punjabdapunk/Projects/Ruby/dummy_app/doc/api…
rake aborted!
error generating /opt/local/lib/ruby/gems/1_8/gems/actionmailer-3_1_3/MIT-LICENSE.html: Permission denied – /opt/local/lib/ruby/gems/1_8/gems/actionmailer-3_1_3/MIT-LICENSE.html (Errno::EACCES)

Tasks: TOP => doc:rails => doc/api/index.html
(See full trace by running task with—trace)

Performing ls -la /opt/local/lib/ruby/gems/1_8/gems/actionmailer-3_1_3/MIT-LICENSE.html produces:

-rw-r--r--  1 root  admin  92997 27 Nov 23:17 /opt/local/lib/ruby/gems/1_8/gems/actionmailer-3_1_3/MIT-LICENSE.html

Is this normal behavior? I've googled and searched forums but to no avail.

I'm a noob to all this and am willing to do what is needed to grok this. Can someone point me in the right direction.

(on Mac OS X 10.6)

Thanks
Shazad

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/U4XUNlT7Vn8J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment