thingspeak icon indicating copy to clipboard operation
thingspeak copied to clipboard

Updated install instructions for Ubutu 12.04 server

Open abythell opened this issue 10 years ago • 3 comments

I needed to make some amendments to the build instructions when installing a Thingspeak server on a fresh Ubuntu 12.04.05LTS server.

Before installing RVM, add signatures:

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 

After installing RVM, source script:

source ~/.rvm/scripts/rvm

Install ruby with a different syntax:

rvm install ruby-2.1.0

Before "bundle install", add a few missing gems:

gem install minitest -v '4.7.5' # Install gem
gem install json -v '1.8.1' #Install gem

To run the entire install process from a Bash script, see this gist.

I've also written another script which installs ruby from sources instead of using rvm. Details can be found here.

abythell avatar Oct 30 '14 19:10 abythell

Thank you very much.

The maintainer of this repo should really update the tutorial. I was very confused about ruby-2.1.0 is not installed. Now my wandboard is compiling ruby from sources again for hours.... (I dont need your script for source compiling, if i do rvm install ruby-2.1.0, rvm do that for me.

Sorry for my English

Addition: I had to do $ gem install rails --version=4.0.0.rc1 # to get bundle and rails 4

ghost avatar Apr 03 '15 09:04 ghost

I have found a similar problem on Ubuntu 16.04LTS. Since the project requires exactly ruby-2.1.0 and OS pre-installed ruby-2.3.0, so before installing the bunlder, it should be switched to the ruby-2.1.0 by rvm.

billzhonggz avatar Mar 05 '18 12:03 billzhonggz

I really forgot about this problem. Id not touched thingspeak since 2015. 3 years ago... Now i would prefer using a docker container with the complete environment inside. There are many available.

https://hub.docker.com/r/greyltc/thingspeak/~/dockerfile/ (Id not tested the container, its just for reference that there's something easier to use than installing it your own, use at your own risk)

ghost avatar Mar 05 '18 22:03 ghost