Im working at a windows 8.1 64bit computer and jetzt succeed in creating a scaffold when i found the next problem .... these are the commands i executed:
rails new obs
cd obs
rails generate scaffold Customer name:string
rake db:migrate
rails s
but i cant open the window because of this error:
TypeError: Das Objekt unterstützt diese Eigenschaft oder Methode nicht. Rails.root: C:/Users/Adrian/Documents/Bumblebee
Application Trace | Framework Trace | Full Trace app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__353703031_44962284'
i havent changed anything at the created files. but cant see any problems ...
You have to change the code application to default like this:-
<%= stylesheet_link_tag "default", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "default", "data-turbolinks-track" => true %>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.