uninitialized constant Devise (NameError)
I fixed it... My script/rails
and config/unicorn_init.sh
wasn't executable so a simple chmod u+x
on these files solved my problem. It wasn't a problem with devise !
Devise Error: NameError (uninitialized constant Unlock)
This was never properly resolved. I ended overriding the built-in devise callback functions (which is a horrible practice)
Old versions of Rails3 and Ruby 1.9.3 are most probably the culprits - but I don't have the privilege of upgrading - too much legacy code working in production already.
Story of my life :(
Rails - uninitialized constant error by Puma when trying to start the server (WIndows 11)
Solution:-
Apparently, there was a conflict with the version. As Abhinay mentioned in the comment, I switched to Ruby 2.7.5, and the app started working.
Related Topics
What Is an Illegal Octal Digit
Google Maps, Ruby on Rails, Zoom Level with One Marker
Node.Js Not Found by Rails/Execjs
Generate a Powerset of a Set Without Keeping a Stack in Erlang or Ruby
Portable Ruby on Rails Environment
Rails Activesupport Time Parsing
Gem Install Pg Doesn't Work on Osx Lion
How to Do a Safe Join Pathname in Ruby
Checking If a Variable Is an Integer
How to Add Information to an Exception Message in Ruby
"Which in Ruby": Checking If Program Exists in $Path from Ruby
Rails - the System Cannot Find the Path Specified
How to Have Multiple Versions of Ruby and Rails, and Their Combinations on Windows
How to Merge Two Hashes Without Overwritten Duplicate Keys in Ruby
Ruby Regexp Group Matching, Assign Variables on 1 Line
Heroku and Rails: Gem Load Error with Postgres, However It Is Specified in Gemfile
Circular Dependency Detected While Autoloading Constant User