thin service start - can't find gems

77 views
Skip to first unread message

titanandrews

unread,
Feb 16, 2015, 8:04:31 PM2/16/15
to thin...@googlegroups.com
I hope this is the correct forum for this question.
I have thin installed as a service. (Attached is the config) When I start it via "sudo service thin start" I get the following error
Using rack adapter
Exiting!
/home/vagrant/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
        from /home/vagrant/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/spec_set.rb:85:in `map!'

However, when I cd to the app folder and just start it manually, i.e.
cd /vagrant/dev/sherlock_3/sherlock/dashboard
thin start

it works just fine.

I do have rake in my Gemfile and verified the version is correct.
vagrant@precise64:/vagrant/dev/sherlock_3/sherlock/dashboard$ rake --version
rake, version 10.3.2

It seems to be some sort of environment issue, but I'm not sure where to look. Any ideas?

Many thanks!

dashboard.yml

titanandrews

unread,
Feb 17, 2015, 10:41:06 PM2/17/15
to thin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages