Sha256: 558aa33f64f0c9f161290afc237ec0005308da8f53cea34bf52c15fb0f7626c1
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
############################################################ # This script is sourced by .bashrc and by /usr/local/ec2onrails/rebundle # You shouldn't need to change anything in here if [ -r /mnt/aws-config/config ] ; then . /mnt/aws-config/config export EC2_PRIVATE_KEY="/mnt/aws-config/$KEY_FILE_NAME" export EC2_CERT="/mnt/aws-config/$CERT_FILE_NAME" fi export EC2_HOME=/usr/local/ec2-api-tools export PATH="$PATH:$EC2_HOME/bin" export JAVA_HOME="/usr/lib/jvm/java-6-sun" # Set the bash prompt to include the rails environment name case "$TERM" in xterm-color) PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]-\[\033[01;35m\]`/usr/local/ec2onrails/bin/rails_env`\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' ;; *) PS1='${debian_chroot:+($debian_chroot)}\u@\h-`/usr/local/ec2onrails/bin/rails_env`:\w\$ ' ;; esac # Set some useful aliases alias app="pushd /mnt/app/current && sudo su app && popd" alias log="tail -f /mnt/app/current/log/`/usr/local/ec2onrails/bin/rails_env`.log" alias logs="tail -f /mnt/app/current/log/*.log /mnt/log/syslog /mnt/log/*.log /mnt/log/*/*.log /mnt/log/*/*/.log"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pauldowman-ec2onrails-0.9.10.0 | server/files/usr/local/ec2onrails/config |
pauldowman-ec2onrails-0.9.10.1 | server/files/usr/local/ec2onrails/config |