Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated install instructions for Ubutu 12.04 server #26

Open
abythell opened this issue Oct 30, 2014 · 3 comments
Open

Updated install instructions for Ubutu 12.04 server #26

abythell opened this issue Oct 30, 2014 · 3 comments

Comments

@abythell
Copy link
Contributor

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.

@ghost
Copy link

ghost commented Apr 3, 2015

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

@billzhonggz
Copy link

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.

@ghost
Copy link

ghost commented Mar 5, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants