map' 4: from run.rb:11:in
block in fetch_transactions' 2: from /home/linux/ynab-bank-importer/lib/dumper/fints.rb:22:in
fetch_transactions'
1: from /var/lib/gems/2.5.0/gems/ruby_fints-0.0.3/lib/fints/client.rb:50:in get_statement' /var/lib/gems/2.5.0/gems/ruby_fints-0.0.3/lib/fints/client.rb:90:in
create_statement_message': undefined method []' for nil:NilClass (NoMethodError)
I installed everything needed to run on an Ubuntu 18.04 LTS container.
I used this command for all the tools needed:
sudo apt install git autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev ruby-all-dev libcurl4-openssl-dev ruby-bundler -y
Then I installed Ruby and everything else using this set of commands:
git clone https://github.com/rbenv/rbenv.git ~/.rbenv; echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc; echo 'eval "$(rbenv init -)"' >> ~/.bashrc; source ~/.bashrc; type rbenv; git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build; rbenv install 2.5.0;
Then I cloned the git files, did the bundle install and created this config:
When I do ruby run.rb, I get this error:
I dont know what this Error means, If you need more information, please let me know. Maybe this error occur, because I do not use it on rasbian, but on ubuntu instead. I also use a pihole in my network, it would be possible, that it blocks something of the script, idk. I am not a programmer nor a linux expert, so please be patient. If I get this working, I can provide the complete install manual so others can install it on ubuntu too.