Skip to content

No such file to load -- lib/discourse.rb (LoadError) #13

Description

@ioquatix
koyoko% RAILS_ENV=profile ruby seed_db_data.rb
Traceback (most recent call last):
	21: from seed_db_data.rb:65:in `<main>'
	20: from /home/samuel/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	19: from /home/samuel/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	18: from /home/samuel/Documents/socketry/rails_ruby_bench/work/discourse/config/environment.rb:4:in `<top (required)>'
	17: from /home/samuel/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	16: from /home/samuel/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	15: from /home/samuel/Documents/socketry/rails_ruby_bench/work/discourse/config/application.rb:52:in `<top (required)>'
	14: from /home/samuel/Documents/socketry/rails_ruby_bench/work/discourse/config/application.rb:53:in `<module:Discourse>'
	13: from /home/samuel/Documents/socketry/rails_ruby_bench/work/discourse/config/application.rb:69:in `<class:Application>'
	12: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
	11: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
	10: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
	 9: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
	 8: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
	 7: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
	 6: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
	 5: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
	 4: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:373:in `block in require_or_load'
	 3: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:475:in `load_file'
	 2: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:661:in `new_constants_in'
	 1: from /home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:476:in `block in load_file'
/home/samuel/.rvm/gems/ruby-2.6.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:476:in `load': No such file to load -- lib/discourse.rb (LoadError)

I had to do bundle update to get anything to work in the root directory but get to this step and it fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions