NPO/codem-schedule — Issue #10: Problem running codem on Ubuntu
Author: gomeztoo
Created: 2011-12-19 12:52:35+00:00
State: open

I have tried to setup transcodem on Ubuntu 11.10
I managed to build and rake the transcoder and scheduler. This took some effort since Ubuntu does not use the latest version of ruby gems so I had to override some settings. The documentation on what gems you really need (and which verisons).

I got through the building provcess. However, when I run the scheduler and then visit the 'hosts' page on the website, it says:

Unitialized Constant JSON
(error in app/models/transcoder.rb, regel 45)

which seems to imply that I do not have the right gems installed.
Note that I haven't confiured presets (and probably hosts, not sure where tp check this outside of the web page) yet, but the error doesn't seem to imply missing data, but a problem in finding a class.
Below a list of what is installed.

ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

Rails 3.0.7

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.7, 2.3.14, 2.3.11)
actionpack (3.0.7, 2.3.14, 2.3.11)
activemodel (3.0.7)
activerecord (3.0.7, 2.3.14, 2.3.11)
activeresource (3.0.7, 2.3.14, 2.3.11)
activesupport (3.0.7, 2.3.14, 2.3.11)
addressable (2.2.6)
arel (2.0.10)
builder (2.1.2)
bundle (0.0.1)
bundler (1.0.21)
crack (0.3.1)
diff-lcs (1.1.3)
erubis (2.6.6)
factory_girl (2.3.2)
factory_girl_rails (1.4.0)
i18n (0.5.0)
jquery-rails (1.0.19)
json (1.6.3)
json_pure (1.6.3)
kaminari (0.12.4)
mail (2.2.19)
mime-types (1.17.2)
multi_json (1.0.4)
polyglot (0.3.3)
rack (1.2.4, 1.1.2, 1.1.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.7, 2.3.14, 2.3.11)
railties (3.0.7)
rake (0.9.2.2, 0.8.7)
rest-client (1.6.7)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
simplecov (0.5.4)
simplecov-html (0.5.3)
sqlite3 (1.3.5)
thor (0.14.6)
treetop (1.4.10)
tzinfo (0.3.31)
webmock (1.7.8)
ZenTest (4.6.2)