I’m hoping to get the new “Buster” version of the website building on my machine so I can continue developing. There doesn’t appear to be any fdroid-website/packages/ folder being built at all.
Maybe I’ve done something wrong? Here’s the last two parts of the stack trace:
2: from /fdroid_website/vendor/ruby/2.5.0/gems/jekyll-paginate-v2-1.5.2/lib/jekyll-paginate-v2/generator/paginationPage.rb:29:in `initialize'
1: from /fdroid_website/vendor/ruby/2.5.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41:in `read_yaml'
/fdroid_website/vendor/ruby/2.5.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41:in `read': No such file or directory @ rb_sysopen - /fdroid_website/packages/index.html (Errno::ENOENT)
Any help would be great and appreciated.
(On the side: I’ve done a colouring-in promo for an organic breakfast business serving only Adelaide residents with local grown foods. Notice the little critter in the top-right, who can help people order the food securely and privately. If anyone want’s a highres copy to print and use, message me)
I know that you are pretty good with this stuff. I don’t know if you are across this or not.
Based on the low interactions I’m thinking it MUST have something to do with “bundle” environment variables that I set on my own machine to fetch the packages from my localhost.
I’m going to explore this now but chime in if you know what this could be. (I wish I documented what I did at that time)
Hi @webDev,
I never built the website.
I don’t know ruby (but perl, python).
Should be very similar with packages.
Maybe check if Buster has dependencies, requirements.
Also check if Buster update is well installed with command line.
Why did you update Buster!!!
When all goes well => don’t do it without good reasons (security reasons, major update…).
There is a doc:
I don’t see vendor folder in the repo above.
Like asked in line 41.
Are you sure it’s not fdroid / website instead of fdroid_website ?
Check your paths and variables.
Also check that ruby is OK.
Vendor is I think the folder for third party libraries installed (like maybe Buster). Normally you have the option to install your libraries in other folders (with command line).
Did you start the ruby server?
I don’t see convertible.rb in the sources.
So it should be a library.
It’s working now. I tryed running “bundle install” a few times during the process but that never seemed to do the trick alone.
Then I deleted all the code in Index_v1.rb just to see if that was the copy being used, ha. I got this output on the terminal (see bottom of it):
Bundler could not find compatible versions for gem "jekyll":
In snapshot (Gemfile.lock):
jekyll (= 4.0.0)
In Gemfile:
jekyll
jekyll-fdroid was resolved to 1.1.5, which depends on
jekyll (< 4.0)
jekyll-polyglot was resolved to 1.3.0, which depends on
jekyll (>= 3.0)
jekyll-redirect-from was resolved to 0.16.0, which depends on
jekyll (>= 3.3, < 5.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
I’m not running the Debian Buster. I did do what the instructions said to enable buster-backports but I don’t know, it was just erroring until I ran bundle update .
If you’re not running Debian/buster, then I would not enable
buster-backports. In that case, I’d use the Ruby method: bundle install and bundle update like you dcoumented.