Thank you for the quick reply! The snap.yaml file you provided was very useful.
I tried to run
snapcraft and I was instructed to add libc6 as a stage-package requirement. I then ran
snapcraft with the libc6 package added to the snap.yaml file and it created the snap file (mymovies_0.0.1_amd64.snap).
sudo snap install mymovies_0.0.1_amd64.snap --dangerous and it installed the snap. When I run the snap by typing
mymovies I get the error: “Segmentation fault (core dumped)” - Do you know what could be causing this error?
Also, there are three requirements for my ruby script that I’m not sure how to install. I installed them on my computer using gem. The gems are nokogiri, xpath and csv. Is there a way to put gems as a required package with snap? How should I handle this?
My snap.yaml file is below:
summary: movies thingy
movies long description…
- ruby # just an example. either remove or change to a real package name
- home # if you want to access your home folder?
# … any other plugs required for your script …