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
I'm not sure if you meant to say "database.rb" (printed my original error message, and located for me in /var/lib/gems/2.1.0/gems/vmail-2.9.8/lib/vmail/) instead of "database.db" which is a file in my $HOME/.vmail folder. Being familiar with neither ruby, nor reading sql files as text, it took mea minute to realize this. In any case, after adding
require_relative 'version'
to the top of the ruby script, it worked for me too. So thank you!
I added
require_relative 'version'
at the top of database.db and now it seems to work.
Running vmailsend < file_name.txt on the terminal gives this error:
Checking vmail.db version... OK
Connecting to database
/var/lib/gems/2.2.0/gems/vmail-2.9.6/lib/vmail/database.rb:28:in `<top (required)>': uninitialized constant Vmail::VERSION (NameError)
from ...
...
I added
require_relative 'version'
at the top of database.db and now it seems to work.
version info:
vmail 2.9.6
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux-gnu]
Ubuntu 14.04.4 LTS
The text was updated successfully, but these errors were encountered: