Sha256: 93542440e6475383c93cb533e1f2e3775c362b1c65d9cf74fa63306430aadea8
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
############################################################ # This script is sourced by .bashrc and by /usr/local/ec2onrails/rebundle.sh # 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/apache2/*.log /mnt/log/syslog"
Version data entries
3 entries across 3 versions & 2 rubygems