Skip to content

Heads up for possible "Permission denied" error #6

Description

@hiulit

Hi there!

I followed your tutorial (thanks btw!) and I found myself getting this error:

$ gem install sass
Fetching: sass-3.4.23.gem (100%)
Successfully installed sass-3.4.23
1 gem installed

$ test/travis.rb
/home/travis/.travis/job_stages: line 53: test/travis.rb: Permission denied

So I added a new line to .travis.yml to fix permissions:

before_install:
 - gem install sass
 - chmod +x test/travis.rb

And I got rid of the error! :)

I read that this could also be done like this:

before_script: 
 - chmod +x test/travis.rb

But I haven't tried that solution.

I just though that it would be useful to add it to your script to avoid possible errors.
That's all!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions