Assistance Required – Error Encountered During Canvas LMS Setup

43 views
Skip to first unread message

Sagar Mistry

unread,
Apr 24, 2025, 10:13:46 AMApr 24
to Canvas LMS Users

Hi Team,

I have been following the setup instructions from the official Canvas LMS Quick Start guide:
https://github.com/instructure/canvas-lms/wiki/Quick-Start

Here are the steps I’ve executed:

mkdir ~/exempt && cd ~/exempt git clone https://github.com/instructure/canvas-lms.git canvas cd canvas git checkout prod rvm install "ruby-3.1.0" rvm use 3.1.0 gem install bundler:2.4.19 gem install nokogumbo scrypt sanitize ruby-debug-ide sudo chown -R canvas:canvas /workspaces/canvas-lms/ sudo chown -R canvas:canvas /usr/local/rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0 bundle _2.4.19_ install yarn install --pure-lockfile for config in amazon_s3 delayed_jobs domain file_store outgoing_mail security external_migration dynamic_settings database; \ do cp -v config/$config.yml.example config/$config.yml; done sudo chown -R codespace:codespace /usr/local/rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0 bundle _2.4.19_ update sudo chown -R codespace:codespace /var/run/postgresql/ export PGHOST=localhost /usr/lib/postgresql/14/bin/initdb ~/postgresql-data/ -E utf8 /usr/lib/postgresql/14/bin/pg_ctl -D ~/postgresql-data/ -l ~/postgresql-data/server.log start /usr/lib/postgresql/14/bin/createdb canvas_development bundle exec rails canvas:compile_assets bundle exec rails db:initial_setup

However, when I run bundle _2.4.19_ install, I encounter the following error:

[!] There was an error parsing `Gemfile`: syntax error, unexpected ',', /home/canvas/gyan-canvas/canvas/Gemfile:59: syntax error, unexpected `end', expecting end-of-input # From /home/canvas/gyan-canvas/canvas/Gemfile:53 # ------------------------------------------- # lockfile(lockfile, > active:, # parent:, # -------------------------------------------

Could you please assist me in resolving this issue? 

Thank you!
Sagar Mistry


Let me know if you'd like to include logs or any other attachments.

Hyim Brandes

unread,
May 19, 2025, 2:58:33 PMMay 19
to Canvas LMS Users
I am getting the same error trying to install release/2024-04-24.20.  Anyone have any insights?

Andrey Gangan

unread,
May 21, 2025, 7:34:04 AMMay 21
to Canvas LMS Users
to short error description to understand

понедельник, 19 мая 2025 г. в 21:58:33 UTC+3, Hyim Brandes:
Reply all
Reply to author
Forward
0 new messages