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_setupHowever, 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.