I have a Bq10 tablet running Ubuntu-touch OTA-11. I want to be able to work with Ruby and rails apps.
Usually I use rvm for this.
Is it possible to install rvm [or something similiar] using ubuntu-touch and the libertine containers?
So far I have had lots of trouble installing rails via rvm. The typical command is
\curl -sSL https://get.rvm.io | bash -s stable --rails
I have tried lots of variations of installing it with libertine-container-manager but none have been successful.
If I enter the container I get the following error:
root@ubuntu-phablet:/# \curl -sSL https://get.rvm.io | bash -s stable --rails
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
gpg: fatal: can't create directory/home/phablet/.gnupg': No such file or directory`
What does work is to add a new user within the container and then issue the normal commands. Within the container this will allow me to install ruby and rails with rvm but I can't access any rvm commands from outside the container.
Is there a possible solution to this?
Note I guess this question might be generalised to more than just rvm, it could be about installing software with git, or issuing commands which pipe text into bash ...