netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

Netzke can not work #74

Closed TangMonk closed 10 years ago

TangMonk commented 10 years ago

I follow this tutorial step by step. My ruby version is 1.9.3, and rails version is 3.2.16.

But still can not work. throw me an error:

NameError

undefined local variable or method `netzke' for #<ActionDispatch::Routing::Mapper:0x007ffcb24eb590>

Rails.root: /Users/USER/MyGit/a

It seems the root error, so I change the root file

before:

 netzke
  root to: "welcome#index"

after:

  root to: "welcome#index"

But when run again, It throw me another error:

NoMethodError in Welcome#index

Showing /Users/tangmonk/MyGit/a/app/views/welcome/index.html.erb where line #1 raised:

undefined method `netzke' for #<#<Class:0x007ffcb29cad40>:0x007ffcb29c8248>
Extracted source (around line #1):

1: <%= netzke :tasks, height: 400 %>
Rails.root: /Users/tangmonk/MyGit/a

I change the rails version to 4.0, But problem still exist.

@nomadcoder , I notice you are the most important contributor of this project, So I hope you can help me. Thanks