Open rjdang opened 8 years ago
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.
This worked for me too, unless you
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
_requirerelative '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