RailsApps / rails-composer

Rails Composer. The Rails generator on steroids for starter apps.
http://www.railscomposer.com/
3.38k stars 486 forks source link

Getting error while executing rails code : Errno::EACCES (Permission denied @ dir_s_mkdir - /home/ec2-user/index_files): #271

Open sridharmalepati opened 7 years ago

sridharmalepati commented 7 years ago

Hi,

I did search and went thru lots of links , but none were solving the issue, so creating a ticket here.

Error: Errno::EACCES (Permission denied @ dir_s_mkdir - /home/ec2-user/index_files):

The ruby rails code is executing and generating the above error.

I did check the permissions for the folder and sub-folders, it has all the necessary permissions: drwxrwxrwx 5 webapp webapp 4096 Mar 7 16:53 index_files

Am not clear how to proceed further. Ruby version : 64bit Amazon Linux 2015.09 v2.0.4 running Ruby 2.2 (Passenger Standalone)

The code was working before, but suddenly am seeing this new error coming into picture!

Regards Sridhar

sridharmalepati commented 7 years ago

Yes i also ran "bundle install" in my source folder, it ran without doing any new installation, as all the gems were already there!