This file contains 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
#!/usr/bin/env gem build | |
# encoding: utf-8 | |
lib = File.expand_path('../lib/', __FILE__) | |
$:.unshift lib unless $:.include?(lib) | |
require 'custom_fields/version' | |
Gem::Specification.new do |s| | |
s.name = 'custom_fields' |
This file contains 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
info - socket.io started | |
[Tue, 14 Aug 2012 08:28:51 GMT] INFO Tower development server listening on port 3000 | |
/usr/local/lib/node_modules/mongodb/lib/mongodb/connection/server.js:423 | |
throw err; | |
^ | |
TypeError: Cannot read property 'handle' of undefined | |
at HTTPServer.app.use (/usr/local/lib/node_modules/tower/node_modules/express/lib/http.js:216:17) | |
at Tower.Application._this [as use] (/usr/local/lib/node_modules/tower/packages/tower-application/server/application.coffee:203:41) | |
at null.<anonymous> (/Users/avaranovich/projects/App/config/bootstrap.coffee:39:10) |
This file contains 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
localStrategy: (options) -> | |
app = Tower.Application.instance() | |
app.get "/logout", (request, response) -> | |
request.logout() | |
response.redirect "/" | |
app.post "/login", (request, response, next) -> | |
console.log 'authenticating....' | |
passport.authenticate("local", (err, user, info) -> |
This file contains 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
#!/usr/bin/env bash | |
sudo apt-get -y update | |
sudo apt-get -y install make gcc build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
sudo make install |
This file contains 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
HOMEBREW_VERSION: 0.9 | |
HEAD: b0cc25007a9eb3e8b5409e3bbd6932611e3c9f94 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8-x86_64 | |
Xcode: 4.5 => /Applications/Xcode45-DP1.app/Contents/Developer | |
CLT: 4.4.0.0.1.1249367152 | |
GCC-4.0: N/A | |
GCC-4.2: N/A |
NewerOlder