"The git source https://github.com/rails-api/active_model_serializers.git is not yet checked out."

623 views
Skip to first unread message

Jon Udell

unread,
Sep 10, 2015, 7:45:01 PM9/10/15
to Canvas LMS Users
Trying to do the Quick Start, on Ubuntu 14.04.2 LTS, I can't get past this:

"The git source https://github.com/rails-api/active_model_serializers.git is not yet checked out. Please run 'bundle install'

I've tried a number of things, including the troubleshooting instructions at https://github.com/bundler/bundler/blob/master/ISSUES.md

I have little experience with the Ruby ecosystem, so I'm sure I am missing something that's obvious to those who live and breathe it. But I need to experiment with integration of our app (Hypothesis) with LTI and my understanding is that canvas-lms is the best sandbox to play in.


Christopher Bennell

unread,
Sep 11, 2015, 1:30:15 PM9/11/15
to Canvas LMS Users
What step of the install is giving you this error?

Jon Udell

unread,
Sep 11, 2015, 1:32:37 PM9/11/15
to canvas-l...@googlegroups.com
Right, sorry, should have specified that:

bundle exec rake db:initial_setup

--

---
You received this message because you are subscribed to a topic in the Google Groups "Canvas LMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canvas-lms-users/xcYX9QXzOAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Graham Ballantyne

unread,
Sep 11, 2015, 1:43:46 PM9/11/15
to canvas-l...@googlegroups.com
Perhaps a silly question, but did you run `bundle install`?

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.

Jon Udell

unread,
Sep 11, 2015, 1:49:07 PM9/11/15
to canvas-l...@googlegroups.com
Yes, in all the ways I could discover to do so. I found my way to discussions like this -- http://stackoverflow.com/questions/6648870/is-not-checked-out-bundle-install-does-not-fix-help -- but lack the Ruby ecosystem context to evaluate them properly.


Graham Ballantyne

unread,
Sep 11, 2015, 1:54:44 PM9/11/15
to canvas-l...@googlegroups.com
From your canvas root, run `bundle list`. What does that output?


Yes, in all the ways I could discover to do so. I found my way to discussions like this -- http://stackoverflow.com/questions/6648870/is-not-checked-out-bundle-install-does-not-fix-help -- but lack the Ruby ecosystem context to evaluate them properly.



--
Graham Ballantyne
IT Services
Simon Fraser University

Jon Udell

unread,
Sep 11, 2015, 2:39:26 PM9/11/15
to canvas-l...@googlegroups.com
From your canvas root, run `bundle list`. What does that output?

jon@h:~/canvas-lms$ bundle list
The git source https://github.com/ccutrer/redis-store.git is not yet checked
out. Please run `bundle install` before trying to start your application

jon@h:~/canvas-lms$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies..........................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..................................................
Using rake 10.4.2
Using i18n 0.7.0
Using multi_json 1.10.1
Using activesupport 3.2.22
Using builder 3.0.0
Using activemodel 3.2.22
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.5
Using rack-cache 1.2
Using rack-test 0.6.3
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.2.3
Using actionpack 3.2.22
Using mime-types 1.17.2
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 3.2.22
Using arel 3.0.3
Using tzinfo 0.3.43
Using activerecord 3.2.22
Using activeresource 3.2.22
Using bundler 1.10.6
Using rack-ssl 1.3.4
Using json 1.8.2
Using rdoc 3.12
Using thor 0.18.1
Using railties 3.2.22
Using rails 3.2.22
Using academic_benchmark 1.1.0 from source at /home/jon/canvas-lms/gems/plugins/academic_benchmark
Using account_reports 1.1.0 from source at /home/jon/canvas-lms/gems/plugins/account_reports
Using active_model-better_errors 1.6.7
Using active_model_serializers 0.9.0.alpha1 from https://github.com/rails-api/ac
tive_model_serializers.git (at 61882e1)
Using active_polymorph 0.0.1 from source at gems/active_polymorph
Using activerecord-colored_log_subscriber 0.1.0
Using activesupport-suspend_callbacks 0.0.1 from source at gems/activesupport-suspend_callbacks
Using acts_as_list 0.0.1 from source at gems/acts_as_list
Using acts_as_rails3_generator 0.0.1
Using addressable 2.3.5
Using adheres_to_policy 0.0.1 from source at gems/adheres_to_policy
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2.20150813143452 from https://github.com/codekitchen/nokogiri.git (at d47e53f)

long pause

Killed (at d47e53f) <- hmm. what's that?


Graham Ballantyne

unread,
Sep 11, 2015, 2:45:12 PM9/11/15
to canvas-l...@googlegroups.com
It looks like bundle install died while trying to install nokogiri (surprise, surprise!). It should have printed an error message, though. That's a semi-known issue with the current way nokogiri is being used.

Try this: `bundle config build.nokogiri --use-system-libraries && bundle install --path vendor/bundle --without=sqlite mysql ` 


Jon Udell

unread,
Sep 11, 2015, 3:10:45 PM9/11/15
to canvas-l...@googlegroups.com
Thanks! Got a ways further, then:

Installing sinatra 1.0
Installing spring 1.3.6
Installing spring-commands-rspec 1.0.2
Installing stackprof 0.2.7 with native extensions
Installing strong_parameters 0.2.3
Installing subexec 0.0.4
Installing switchman 1.2.40
Killed
jon@h:~/canvas-lms$ bundle list
The git source https://github.com/ccutrer/redis-store.git is not yet checked
out. Please run `bundle install` before trying to start your application

Graham Ballantyne

unread,
Sep 11, 2015, 3:13:56 PM9/11/15
to canvas-l...@googlegroups.com
The 'killed' output is weird, I've never seen that. Are you running on a resource-constrained server (e.g. an AWS micro, or something else with very little RAM)?


You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jon Udell

unread,
Sep 11, 2015, 3:46:10 PM9/11/15
to canvas-l...@googlegroups.com
Ah, that's probably it. This is a Digital Ocean droplet which is doing lots of useful stuff but I just checked and it's only 1GB, evidently not enough for Canvas. I'll try resizing or moving this project elsewhere. Thanks!

Jon Udell

unread,
Sep 12, 2015, 4:32:19 PM9/12/15
to canvas-l...@googlegroups.com
Note to future Canvas tirekickers: a 1GB Digital Ocean droplet won't cut it, but 2GB will.

Jon Udell

unread,
Sep 14, 2015, 6:28:43 PM9/14/15
to Canvas LMS Users
Circling back to this today, I have a running server but there were some errors building it:

gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Linux 3.13.0-43-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jon/canvas/gems/canvas_i18nliner/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN prefer global jasmin...@1.14.5 should be installed with -g
npm ERR! Linux 3.13.0-43-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.7.6
npm ERR! code ELIFECYCLE

npm ERR! conte...@0.1.14 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the conte...@0.1.14 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/jon/canvas/gems/canvas_i18nliner/npm-debug.log

gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Linux 3.13.0-43-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
/bufferutil
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

> utf-8-v...@1.1.0 install /home/jon/canvas/node_modules/testem/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

Usage: gyp_main.py [options ...] [build_file ...]

gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Linux 3.13.0-43-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jon/canvas/node_modules/testem/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

Perhaps related to this, or for another reason, the Start New Course button does nothing. No request seen in the server console, no JS complaint seen in the client console.

I'm getting closer, though!

Jon
To unsubscribe from this group and all its topics, send an email to canvas-lms-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Graham Ballantyne
IT Services
Simon Fraser University

--

---
You received this message because you are subscribed to a topic in the Google Groups "Canvas LMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canvas-lms-users/xcYX9QXzOAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canvas-lms-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages