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
exports.up = function(knex) { | |
knex('users') | |
.update({ | |
language: users.get('language') + '-' + users.get('country') | |
}) | |
.dropColumn('country') | |
.column('language').defaultTo('en-US') | |
}; | |
exports.down = function(knex) { |
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
{ | |
"x": 1, | |
"y": 0, | |
"styles" : { | |
"background-color": "#ffffff" | |
} | |
} |
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
1 export API_HOST=0.0.0.0 | |
2 export PORT=2015 | |
3 export POSTGRE_CONNECTION_STRING=postgresql://localhost:5432/webma ker | |
4 export REDIS_URL=redis://localhost:6379 | |
5 export API_VERSION=dev | |
6 export ID_SERVER_CONNECTION_STRING=https://id.mofostaging.net | |
7 | |
8 ## log level - given a chosen level, log events only at or above t hat level | |
9 ## debug < info < warn < error < exception < stat | |
10 export LOG_LEVEL=debug |
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
Test script errors: | |
Multiple callbacks or thrown errors received in test "Before " (error): Expected 200 to equal specified value | |
at /Users/ag_dubs/Projects/api.webmaker.org/test/services/api/handlers/elements.js:878:40 | |
at process._tickDomainCallback (node.js:381:11) | |
Multiple callbacks or thrown errors received in test "Before Project Handlers Update Thumbnail Tails" (error): Mocks not yet satisfied: | |
POST https://webmaker-screenshot.example.com:443/screenshotURL | |
POST https://webmaker-screenshot.example.com:443/screenshotURL | |
at /Users/ag_dubs/Projects/api.webmaker.org/test/services/api/handlers/projects.js:1510:22 |
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
17 exports.publish = function(project) { | |
18 var project = Project.query({ | |
19 where: { | |
20 id: project.id | |
21 } | |
22 }).fetch({ | |
23 withRelated: ['files'] | |
24 }) | |
25 .then(function(record) { | |
26 return record; |
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
43 BaseController.prototype.update = function(req, reply) { | |
44 var result = this.Model.query({ | |
45 where: { | |
46 id: req.params.id | |
47 } | |
48 }) | |
49 .save(this.data(req), { | |
50 method: 'update', | |
51 patch: 'true', | |
52 require: 'true' |
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
(jessie)ag_dubs@localhost:~/Mozilla/publish.webmaker.org$ /usr/lib/postgresql/9.4/bin/postgres -D /usr/local/pgsql/data -c config_file=/etc/postgresql/9.4/main/postgresql.conf2015-06-08 10:43:32 EDT [5938-1] FATAL: data directory "/var/lib/postgresql/9.4/main" has group or world access | |
2015-06-08 10:43:32 EDT [5938-2] DETAIL: Permissions should be u=rwx (0700). |
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
1) Sinatra::RespondWith Helpers#respond_with templates looks for templates with name.engine for specific engines | |
Failure/Error: respond_app { get('/') { respond_with(*args, &block) } } | |
LoadError: | |
incompatible library version - /home/ag_dubs/.rvm/gems/ruby-head/gems/RedCloth-4.2.9/lib/redcloth_scan.so | |
Couldn't load redcloth_scan |
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
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! | |
/usr/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError) | |
/usr/bin/ruby2.1 extconf.rb | |
/home/ag_dubs/.rvm/rubies/ruby-head/lib/ruby/gems/2.3.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in `initialize': Permission denied @ rb_sysopen - /usr/bin/rdoc (Errno::EACCES) |
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
have_library: checking for main() in -lstdc++... -------------------- yes | |
"gcc -o conftest -I/home/ag_dubs/.rvm/rubies/ruby-head/include/ruby-2.3.0/x86_64-linux -I/home/ag_dubs/.rvm/rubies/ruby-head/include/ruby-2.3.0/ruby/backward -I/home/ag_dubs/.rvm/rubies/ruby-head/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -L. -L/home/ag_dubs/.rvm/rubies/ruby-head/lib -Wl,-R/home/ag_dubs/.rvm/rubies/ruby-head/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/ag_dubs/.rvm/rubies/ruby-head/lib -L/home/ag_dubs/.rvm/rubies/ruby-head/lib -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; |