Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant Thredded::VERSION #480

Closed
mfisher31 opened this issue Nov 19, 2016 · 4 comments
Closed

NameError: uninitialized constant Thredded::VERSION #480

mfisher31 opened this issue Nov 19, 2016 · 4 comments
Labels
Milestone

Comments

@mfisher31
Copy link

Receiving this message when running in production environment. This happens when creating a new topic and in rails console as well.

Gem release version: 0.8.2

Loading production environment (Rails 5.0.0.1)
irb(main):001:0> Thredded
=> Thredded
irb(main):002:0> Thredded::VERSION
NameError: uninitialized constant Thredded::VERSION
	from (irb):2
	from /usr/local/bundle/gems/railties-5.0.0.1/lib/rails/commands/console.rb:65:in `start'
	from /usr/local/bundle/gems/railties-5.0.0.1/lib/rails/commands/console_helper.rb:9:in `start'
	from /usr/local/bundle/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:78:in `console'
	from /usr/local/bundle/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
	from /usr/local/bundle/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'
irb(main):003:0>
@mfisher31
Copy link
Author

note that I don't not have this problem when RAILS_ENV=development

@mfisher31 mfisher31 changed the title ERROR: uninitialized constant Thredded::VERSION NameError: uninitialized constant Thredded::VERSION Nov 19, 2016
@mfisher31
Copy link
Author

and output from unicorn/rails log:

D, [2016-11-19T19:56:25.390095 #19] DEBUG -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3]    (0.9ms)  ROLLBACK
I, [2016-11-19T19:56:25.391127 #19]  INFO -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3] Completed 500 Internal Server Error in 235ms (ActiveRecord: 12.7ms)
F, [2016-11-19T19:56:25.392331 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3]
F, [2016-11-19T19:56:25.392471 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3] NameError (uninitialized constant Thredded::VERSION):
F, [2016-11-19T19:56:25.392609 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3]
F, [2016-11-19T19:56:25.392732 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3] thredded (0.8.3commands) thredded/create_messageboard.rb:39:in `first_post_content'
F, [2016-11-19T19:56:25.392887 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3] thredded (0.8.3commands) thredded/create_messageboard.rb:25:in `block in run'
F, [2016-11-19T19:56:25.392998 #19] FATAL -- : [9235a116-fbc9-4bae-8ada-fb1d5e753fa3] activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'

@glebm glebm added the bug label Nov 19, 2016
@glebm
Copy link
Collaborator

glebm commented Nov 19, 2016

Fixed in 672f63a
Please update to Thredded v0.8.4!

@glebm glebm closed this as completed Nov 19, 2016
@glebm glebm added this to the v0.8.4 milestone Nov 19, 2016
@mfisher31
Copy link
Author

yep, doing that right now. thanks!

@glebm glebm mentioned this issue Nov 19, 2016
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants