Skip to content

Instantly share code, notes, and snippets.

@munen
Created October 31, 2011 14:45
Show Gist options
  • Save munen/1327638 to your computer and use it in GitHub Desktop.
Save munen/1327638 to your computer and use it in GitHub Desktop.
Rails 3.x
install bundler
install rack
Possibly migrate to new gitosis: https://wiki.panter.ch/moin/git
Add bundler to project: http://gembundler.com/rails23.html
Add dependencies for POL from pol/README
update to mysql2 in database.yml
bundle package
git add .
git push
cap deploy
ssh to DH
cat >> ~/.bash_profile
export GEM_HOME=$HOME/.gems
export GEM_PATH=$GEM_HOME:/usr/lib/ruby/gems/1.8
cat >> ~/.gemrc
gemhome: /home/<YOUR USER NAME HERE>/.gems
gempath:
- /home/<YOUR USER NAME HERE>/.gems
- /usr/lib/ruby/gems/1.8
bundle
#bundle --deployment
todo
add bundle install to deploy.rb
Domains:
DONE
With above setup
TODO
Out of the box HTTP BASIC AUTH
http://www.pixelklinik.ch/
sonjarieser.ch
http://www.rfs-consulting.ch/
http://www.rheinblick-buchs.ch/
http://www.sartori-sohn.ch/
http://www.textile-interfaces.ch/de/projekt
http://www.panter.ch/
http://www.gra-nat.ch/
http://www.kopierfabrik-zueri.ch/
http://www.andreaspark-tieraerzte.ch/
http://www.casamariposa.ch/
Need password DH
http://www.denteo.ch/
Read
http://wiki.dreamhost.com/Freezing_Gems
http://wiki.dreamhost.com/Passenger
http://wiki.dreamhost.com/Bundler
http://gembundler.com/rails23.html
http://www.dreamhoststatus.com/2011/10/17/operating-system-upgrade-for-39-machines-on-oct-19th-7pm-pdt-%E2%80%93-machine-names-in-post/
http://wiki.dreamhost.com/Getting_Started_with_Ruby_on_Rails
http://wiki.dreamhost.com/Ruby_on_Rails#Using_Gems_Installed_in_Your_Home_Directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment