FridayHug.com http://fridayhug.com
The Smallest Rails App http://thesmallestrailsapp.com
%w(action_controller/railtie coderay).each &method(:require)FridayHug.com http://fridayhug.com
The Smallest Rails App http://thesmallestrailsapp.com
%w(action_controller/railtie coderay).each &method(:require)| # Schedule script for using Whenever toghether with rbenv | |
| # | |
| # Whenever: https://github.com/javan/whenever | |
| # rbenv: https://github.com/sstephenson/rbenv | |
| set :env_path, '"$HOME/.rbenv/shims":"$HOME/.rbenv/bin"' | |
| # doesn't need modifications | |
| # job_type :command, ":task :output" |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| username: vagrant | |
| password: vagrant | |
| sudo apt-get update | |
| sudo apt-get install build-essential zlib1g-dev git-core sqlite3 libsqlite3-dev | |
| sudo aptitude install mysql-server mysql-client | |
| sudo nano /etc/mysql/my.cnf |
| When starting a project that includes refinerycms-blog: | |
| $ rake refinery:override view=refinery/pages/* | |
| $ rake refinery:override view=layouts/* | |
| $ rake refinery:override view=refinery/blog/shared/* | |
| $ rake refinery:override view=refinery/blog/posts/* | |
| $ rake refinery:override view=refinery/* | |
| $ rake refinery:override controller=refinery/blog/* | |
| $ rake refinery:override controller=refinery/* |
| #Junk Files | |
| *.DS_Store | |
| [Tt]humbs.db | |
| #Visual Studio Files | |
| [Oo]bj | |
| [Bb]in | |
| [Dd]ebug | |
| [Bb]uild/ | |
| *.user |
| /* Requirements install git and curl */ | |
| /* installing rbenv */ | |
| curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash | |
| /* add this instead of generated stuff "PREPEND" the echo wordings to ~/.profile */ | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile | |
| echo 'eval "$(rbenv init -)"' >> ~/.profile |