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)
I did make some modification but running into this error. I am using ruby 2.2 but don't see why that would matter.
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!
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?
I had a similar problem. Running bundle install inside the app folder before deploying fixed it for me.
I resolved the issue by regenerating my Gemfile.lock. It seems like it was out of sync with the Gemfile.
On Thu, Jun 22, 2017 at 2:38 AM C Rahul [email protected] wrote:
I had a similar problem, running bundle install inside the app folder before deploying fixed it for me.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lorennorman/ruby-on-lambda/issues/12#issuecomment-310289745, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA37kCRES9SA2fvAm-pjhfMYAlh_jjEks5sGgvSgaJpZM4NsDo9 .
@bitsapien It's work for me, thks a lot!