Start Thingspeak server on booting OS Ubuntu 14 LTS | GitHub Installation | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Start Thingspeak server on booting OS Ubuntu 14 LTS
No permission to create posts
July 3, 2018
10:50 pm
New Member
Forum Posts: 1
Member Since:
July 3, 2018
sp_UserOfflineSmall Offline

Hi there,

I just installed Thingspeak server on my Ubuntu 14 LTS server and successfully running using these console commands from root:

cd thingspeak
rails server --port=80

But when I try to add to rc.local those command, i got this error :

/usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'railties' (>= 0) among 12 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.1.0:/usr/local/rvm/gems/ruby-2.1.0@global', execute `gem env` for more information
from /usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /usr/local/bin/rails:22:in `'

Someone can help me or give an advice?

July 4, 2018
9:02 am

Forum Posts: 279
Member Since:
January 29, 2014
sp_UserOfflineSmall Offline

Most likely is something missing/different in the environment variables when running from rc.local

try running
env >> /tmp/env.txt

from rc.local and compare it to the output of env in your terminal

If that doesnt help try the same thing with "gem env"

There is also this link

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457