Error running hello-trema

60 views
Skip to first unread message

Azmi Megat

unread,
Jul 27, 2015, 11:33:09 PM7/27/15
to trema-dev
Hi,

I tried trema version 0.48 with ruby 2.0 and run "hello-trema" code then I got the "uninitialized constant Controller" error message. 

Appreciate that someone can help.

Thank you.

Yasuhito Takamiya

unread,
Jul 29, 2015, 9:22:17 PM7/29/15
to Trema-dev
Hi,

The latest Trema requires the Controller class to be prefixed with "Trema::"
e.g., class MyController < Trema::Controller

You can find the latest version of hello_trema here.
https://github.com/trema/hello_trema
> --
> You received this message because you are subscribed to the Google Groups
> "trema-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trema-dev+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Azmi Megat

unread,
Aug 19, 2015, 2:51:48 AM8/19/15
to trema-dev
Thank you for the support
Reply all
Reply to author
Forward
0 new messages