You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
The EC2 instances fail to start the Rails app due to the following error in the user data logs (/var/log/user-data.log):
/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/resolver/conflict.rb:47:in `conflicting_dependencies': undefined method `request' for nil:Nil
Class (NoMethodError)
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/exceptions.rb:61:in `conflicting_dependencies'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/exceptions.rb:55:in `initialize'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/resolver.rb:193:in `exception'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/resolver.rb:193:in `raise'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/resolver.rb:193:in `rescue in resolve'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/resolver.rb:189:in `resolve'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/request_set.rb:411:in `resolve'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/request_set.rb:423:in `resolve_current'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:230:in `finish_resolve'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:287:in `block in activate_bin_path'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:285:in `synchronize'
from /.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:285:in `activate_bin_path'
from /.rbenv/versions/2.5.1/bin/rails:25:in `<main>'
I manually ran the user data script as root and get the same error. Any attempt to run rails produces the same error, even rails -v