Skip to content

Instantly share code, notes, and snippets.

@bjhaid
Created August 21, 2011 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bjhaid/1160772 to your computer and use it in GitHub Desktop.
Save bjhaid/1160772 to your computer and use it in GitHub Desktop.
/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
/home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rackup faye.ru -s thin -E production &
/home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rails s
/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