Skip to content

gems/bundler-1.9.9/lib/bundler/definition.rb:250:in `initialize': Read-only file system @ rb_sysopen - /var/task/bin/lib/vendor/Gemfile.lock (Errno::EROFS) #12

Open

Description

@acatighera

I did make some modification but running into this error. I am using ruby 2.2 but don't see why that would matter.

Activity

  1. lorennorman commented on May 31, 2017

    @lorennorman
    Owner

    I haven't seen that error.

    If you change Ruby versions locally, you'll need to change which Ruby version is packaged in (I think.)

    If that doesn't fix it, we'd have to see whatever other changes you've made.

    Good luck!

  2. acatighera commented on May 31, 2017

    @acatighera
    Author

    Calling require seems to try to lock the Gemfile.lock which opens the file as writeable. Not sure how requiring any gem would work on lambda since it it is read only container... Any ideas?

  3. bitsapien commented on Jun 22, 2017

    @bitsapien

    I had a similar problem. Running bundle install inside the app folder before deploying fixed it for me.

  4. acatighera commented on Jun 22, 2017

    @acatighera
    Author
  5. a9cQ0Q commented on Aug 2, 2017

    @a9cQ0Q

    @bitsapien It's work for me, thks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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