Skip to content

Instantly share code, notes, and snippets.

, showAccountView: function(account) {
if(this.accountsWatchId){
Services.Accounts.get.unwatch(this.accountsWatchId);
delete this.accountsWatchId;
}
if (!_.isUndefined(this.previousAccount) && _.isEqual(account.attributes, this.previousAccount.attributes)) {
return;
}
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
Traceback (most recent call last):
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/gyp", line 18, in <module>
sys.exit(gyp.main(sys.argv[1:]))
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 511, in main
return gyp_main(args)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 503, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/ravigundlapalli/.node-gyp/0.8.14/tools/gyp/pylib/gyp/generator/make.py", line 2095, in GenerateOutput
@shunya
shunya / gist:4052655
Created November 10, 2012 21:52
package.json
{
"name": "nuby-express",
"version": "2.1.15",
"main": "index",
"description": "A web framework based on Express, Ruby, MVC; emphasis on flexible, recursive directory loading",
"keywords": [
"web",
"framework",
"express",
"MVC"
shai:wonderland-labs ravigundlapalli$ sudo jitsu deploy
Password:
info: Welcome to Nodejitsu nko3-wonderland-labs
info: jitsu v0.11.2, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
info: Creating snapshot 0.0.0-11
info Uploading: [=============================] 100%
error: Error running command deploy
require('./ne_bootstrap-master/web')({port: 8000})
@shunya
shunya / package.json
Created November 10, 2012 03:54
Nko3-Wonderland-Labs: package.json
{
"name": "nko3-wonderland-labs",
"version": "0.0.0-1",
"description": "Wonderland Labs",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
@shunya
shunya / Haibu
Created November 10, 2012 04:49
Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Cannot make Rackspace request if not authorized
error: Error output from Haibu:
error:
error: Error: Cannot make Rackspace request if not authorized
error: at Object.common.rackspace (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/common.js:150:21)
error: at Cloudfiles.getFile (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/core.js:331:20)
error: at RemoteFile.fetchCloudfiles (/root/haibu-orchestra/node_modules/haibu/lib/haibu/repositories/remote-file.js:109:17)
@shunya
shunya / ls-l
Created November 10, 2012 04:14
total 32
-rw-r--r-- 1 ravigundlapalli staff 2624 Nov 9 20:05 DEPLOY.md
-rw-r--r-- 1 ravigundlapalli staff 28 Nov 9 20:05 README.md
drwxr-xr-x 14 ravigundlapalli staff 476 Nov 9 18:00 ne_bootstrap-master
drwxr-xr-x 5 ravigundlapalli staff 170 Nov 9 20:03 node_modules
-rw-r--r-- 1 ravigundlapalli staff 365 Nov 9 20:09 package.json
-rw-r--r-- 1 ravigundlapalli staff 51 Nov 9 17:55 server.js
var NE = require('nuby-express');
var util = require('util');
var _DEBUG = true;
module.exports = function (config, callback) {
var frame = new NE.Framework();
NE.log.set_log_file(__dirname + '/logs/nuby_express.log', {reset: true})