I tried deploying a Ruby/Sinatra web app, but the deploy failed. I got this error message that I do not understand:
1 Like
Locally can you run bundle install
without error? and can you confirm that your gemfile
and gemfile.lock
are committed to the repository you’re trying to deploy?
Hello Toby,
Bundle install ran without error for me (on Github Codespace, where I have the repo in question). Below is what I copy/pasted from the terminal.
Gemfile and Gemfile.lock are both committed to my repo.
guess-age main % bundle install
Using rake 13.2.1
Using concurrent-ruby 1.2.2
Using i18n 1.12.0
Using minitest 5.18.1
Using tzinfo 2.0.6
Using activesupport 7.0.8
Using activemodel 7.0.8
Using activerecord 7.0.8
Using public_suffix 5.0.4
Using addressable 2.8.5
Using tty-screen 0.8.1
Using unicode-display_width 2.4.2
Using tabulo 2.8.2
Using appdev_support 0.2.1
Using coderay 1.1.3
Using erubi 1.12.0
Using rack 2.2.8
Using better_errors 2.9.1
Using debug_inspector 1.1.0
Using binding_of_caller 1.0.0
Using bundler 2.4.12
Using matrix 0.4.2
Using mini_mime 1.1.5
Using racc 1.6.2
Using nokogiri 1.14.5 (x86_64-linux)
Using rack-test 2.1.0
Using regexp_parser 2.8.2
Using xpath 3.2.0
Using capybara 3.39.2
Using color 1.8
Using color_namer 0.1.0
Using rexml 3.2.6
Using crack 0.4.5
Using diff-lcs 1.5.0
Using rspec-support 3.12.1
Using rspec-core 3.12.2
Using rspec-expectations 3.12.3
Using rspec-mocks 3.12.6
Using rspec 3.12.0
Using draft_matchers 0.0.2
Using uri 0.13.0
Using net-http 0.4.1
Using faraday-net_http 3.1.1
Using logger 1.6.0
Using faraday 2.10.1
Using faraday-retry 1.0.3
Using sawyer 0.9.2
Using octokit 5.6.1
Using oj 3.13.23
Using zip 2.0.2
Using grade_runner 0.0.12
Using hashdiff 1.0.1
Using method_source 1.0.0
Using multi_json 1.15.0
Using ruby2_keywords 0.0.5
Using mustermann 3.0.0
Using nio4r 2.5.9
Using pry 0.14.2
Using puma 5.6.7
Using rack-protection 3.0.6
Using rspec-html-matchers 0.10.0
Using rubyzip 2.3.2
Using websocket 1.2.10
Using selenium-webdriver 4.9.1
Using tilt 2.1.0
Using sinatra 3.0.6
Using sinatra-activerecord 2.0.27
Using sinatra-contrib 3.0.6
Using sqlite3 1.6.8 (x86_64-linux)
Using table_print 1.5.7
Using webdrivers 5.2.0
Using webmock 3.18.1
Bundle complete! 18 Gemfile dependencies, 72 gems now installed.
Use bundle info [gemname]
to see where a bundled gem is installed.