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
| MERB_ROOT = "/data/ninja/current" | |
| MERB_ENV = 'production' | |
| APPLICATION = 'ninja' | |
| USER = 'cpanel' | |
| ENV['HOME'] = '/home/cpanel' | |
| %w{5000 5001 5002}.each do |port| | |
| God.watch do |w| | |
| w.uid = USER | |
| w.gid = USER |
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
| begin | |
| gem 'vlad', '=1.2.0.2' | |
| require 'vlad' | |
| rescue LoadError | |
| abort "Failed to load vlad" | |
| end | |
| Vlad.load :scm => :git |
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
| % git clone git://github.com/atmos/vlad.git | |
| % cd vlad | |
| % rake install_gem |
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
| upstream ninja_upstream { | |
| server 127.0.0.1:4567; | |
| } | |
| server { | |
| listen 80; | |
| server_name ninja.ci.atmos.org 127.0.0.1; | |
| root /data/integrity/current/public; |
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
| # merb/merb-auth/strageies.rb | |
| Merb::Slices::config[:"merb-auth-slice-password"][:no_default_strategies] = true | |
| Merb::Authentication.activate!(:default_openid) |
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
| class User | |
| include DataMapper::Resource | |
| property :id, Serial | |
| property :name, String, :nullable => false | |
| property :email, String, :nullable => false | |
| property :identity_url, String, :nullable => false | |
| validates_is_unique :identity_url | |
| validates_is_unique :name |
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
| Last login: Thu Oct 30 23:49:11 on ttys001 | |
| History is curious stuff | |
| You'd think by now we had enough | |
| Yet the fact remains I fear | |
| They make more of it every year. | |
| mbp% gem list merb-gen | |
| *** LOCAL GEMS *** |
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
| class Merb::Authentication | |
| def self.maintain_session_keys=(keys) | |
| @maintain_session_keys = keys | |
| end | |
| end | |
| Merb::Authentication.maintain_session_keys = [:authentication_strategies, :last_oidreq] |
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
| source ~/.vim/vimrc | |
| let g:NERDTreeMapOpenSplit = 'i' | |
| set nu | |
| set sts=2 | |
| colorscheme vibrantink | |
| let g:fuzzy_ignore = "gems/*:coverage" | |
| set columns=145 | |
| set lines=48 | |
| set gfn=Monaco:h12 |
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
| mbp% rake install_gem | |
| (in /Users/atmos/p/insinuate) | |
| /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009. | |
| rm -r doc | |
| rm -r pkg | |
| === CLEANING NATIVE TARGET Insinuate WITH CONFIGURATION Release === | |
| Checking Dependencies... | |
| Clean.Remove clean /Users/atmos/p/insinuate/app/build/Release/Insinuate.app |