Ruby on Rails Monday, September 6, 2010

Hi , all there.

My project now is under the deployment phase , and as the title
mentioned
i have decided to use the nginx + mod_rails for my deployment.

I set up the environment in CentOS 5 and using the Ruby Enterprise
Edtion (REE)
, rails new myApp , and see the Rails welcome page , i check the rails
environment
and phsion passenger throw these for me :

Error message:
Permission denied - /opt/ruby-enterprise-1.8.7-2010.02/bin/myApp/
Gemfile.lock
Exception class:
Errno::EACCES
Application root:
/opt/ruby-enterprise-1.8.7-2010.02/bin/myApp

i thought that was a problem of permission , so i used this command:

sudo chmod +rx /opt/ruby-enterprise-1.8.7-2010.02/

however , this didn't work. i checked using the bundle:

paradigmer@ShellSystem:/opt/ruby-enterprise-1.8.7-2010.02/bin/myApp$ ./
b check
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/
bundler-1.0.0/lib/bundler/definition.rb:184:in `initialize':
Permission denied - /opt/ruby-enterprise-1.8.7-2010.02/bin/myApp/
Gemfile.lock (Errno::EACCES)

./b is a the (ln)

Anyone got the idea for this ???

Thank for ur time !

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
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