-
-
Save bjhaid/1160833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError) | |
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' | |
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1195:in `gem' | |
from /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rails:18:in `<main>' | |
/home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rack (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError) | |
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' | |
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1195:in `gem' | |
from /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rackup:18:in `<main>' | |
/usr/bin/env: ruby: No such file or directory | |
vas.sh | |
#!/bin/bash | |
startme() { | |
cd ~/Desktop/vas/vas | |
beanstalkd -d | |
bundle exec /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rackup faye.ru -s thin -E production & | |
bundle exec /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rails s | |
bundle exec /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/stalk ./config/job.rb | |
} | |
stopme() { | |
pkill -f "rackup faye.ru" | |
pkill -f "rails s" | |
pkill -f "stalk ./config/job.rb" | |
} | |
case "$1" in | |
start) startme ;; | |
stop) stopme ;; | |
restart) stopme; startme ;; | |
*) echo "usage: $0 start|stop|restart" >&2 | |
exit 1 | |
;; | |
esac | |
/home/zeep/vas.sh: line 8: bundle-exec: command not found | |
/home/zeep/vas.sh: line 7: bundle-exec: command not found | |
/home/zeep/vas.sh: line 9: bundle-exec: command not found | |
/home/zeep/vas.sh: line 9: rvm: command not found | |
/home/zeep/vas.sh: line 7: rvm: command not found | |
/home/zeep/vas.sh: line 8: rvm: command not found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment