Error in running Canvas Open Source

223 views
Skip to first unread message

sumit tokkar

unread,
Jun 7, 2023, 9:40:54 PM6/7/23
to Canvas LMS Users
Hi,
I'm trying to run Canvas open source using this script ./script/docker_dev_setup.sh. I keep getting this error:

nokogiri (1.13.10-aarch64-linux) in Gemfile.rails70.plugins.lock has not been pinned to a specific version, which is required since it is not part of the default lockfile.

nokogiri (1.13.10-arm64-darwin) in Gemfile.rails70.plugins.lock has not been pinned to a specific version, which is required since it is not part of the default lockfile.

nokogiri (1.13.10-x86_64-darwin) in Gemfile.rails70.plugins.lock has not been pinned to a specific version, which is required since it is not part of the default lockfile.

nokogiri (1.13.10-x86_64-linux) in Gemfile.rails70.plugins.lock has not been pinned to a specific version, which is required since it is not part of the default lockfile.


I'm running macOS Ventura on Apple M2 chip. Can someone please suggest the next steps?


Thanks

sumit tokkar

unread,
Jun 7, 2023, 9:43:44 PM6/7/23
to Canvas LMS Users
I've already tried all the recommended steps on this GitHub issue: https://github.com/rubygems/rubygems/issues/4269. But the issue did not resolve.

Cody Cutrer

unread,
Jun 14, 2023, 6:46:43 PM6/14/23
to Canvas LMS Users
That RubyGems issue is unrelated. Canvas uses unique extensions to Bundler to facilitate keeping multiple lockfiles synchronized corresponding to multiple Gemfiles in the repository. This error is supposed to be an indicator to Canvas developers that they tried to update or add a gem to one of the Gemfiles that doesn't correspond with the default lockfile (Gemfile.lock), and can't be automatically resolved. I don't use Docker for development, but many engineers at Instructure do, and have not reported this specific error internally. Can you confirm that you don't have any dirty files in your git checkout (importantly, Gemfile.lock exists, and has not been changed from the committed version on the master branch)?

Cody Cutrer
Software Engineer
Instructure

sumit tokkar

unread,
Jun 15, 2023, 10:23:41 AM6/15/23
to canvas-l...@googlegroups.com
I was able to get it working by uninstalling everything and doing a brand new install.

Regards
Sumit Tokkar
+1 (309) 660 - 1404


--

---
You received this message because you are subscribed to a topic in the Google Groups "Canvas LMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canvas-lms-users/Lq9tlPqTijM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/b628dd5a-b7b8-4667-8d57-4f8047f5af7dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages