This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is a script to take a debian box from ground zero to Rails Testing Machine. | |
| You will end up with MySQL, Postgres, Sqlite, Memcached and many rubies. | |
| As well as automated testing scripts. | |
| install instructions: | |
| 1) untar the installer to your home directory | |
| 2) Setup password-less sudo for your work account (not mandatory, but nice) | |
| 3) There really needs to be a step three - don't you think? | |
| 4) run the installer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| worker@railsdev:~/.rvm/ruby-1.8.7-p174/bin$ rvm --shebang --env inspect gem | |
| <i> /home/worker/.rvm/ruby-1.8.7-p174/bin/gem: </i> | |
| #!/home/worker/.rvm/ruby-1.8.7-p174/bin/ruby | |
| ENV['GEM_HOME']=ENV['GEM_HOME'] || '/home/worker/.rvm/gems/ruby/1.8.7' | |
| ENV['GEM_PATH']=ENV['GEM_PATH'] || '/home/worker/.rvm/gems/ruby/1.8.7' | |
| ENV['PATH']='/home/worker/.rvm/ruby-1.8.7-p174/bin:/home/worker/.rvm/gems/ruby/1.8.7/bin:' + ENV['PATH'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| installing rails... | |
| ruby-1.8.6-p383: ruby 1.8.6 (2009-08-04 patchlevel 383) [x86_64-linux] | |
| /home/worker/.rvm/ruby-1.8.6-p383/bin/ruby: No such file or directory -- gem (LoadError) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If cached file exists, serve it and stop processing | |
| RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}%{REQUEST_FILENAME} -f | |
| RewriteRule ^(.*)$ /cache/%{HTTP_HOST}$1 [L] | |
| # other redirection (imgs, js, css, ...) | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_URI} !.*/mephisto/.* | |
| RewriteCond %{REQUEST_URI} !.*html | |
| RewriteCond %{REQUEST_URI} !^/cache | |
| RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}/$1 -f |
NewerOlder