第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Rails ExecJS :: Pages錯誤在頁面#home?

Rails ExecJS :: Pages錯誤在頁面#home?

Rails ExecJS :: Pages錯誤在頁面#home?啟動一個新的應(yīng)用程序,當(dāng)我創(chuàng)建一個控制器頁面回家并嘗試轉(zhuǎn)到本地主機:3000 / pages / home時,我收到以下錯誤:Showing c:/Users/Doesha/desktop/pinplug/app/views/layouts/application.html.erb where line #6 raised:TypeError: Object doesn't support this property or method  (in c:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)application.html.erb文件:<!DOCTYPE html><html><head>  <title>Pinplug</title>  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>  <%= csrf_meta_tags %></head><body><%= yield %></body></html>application_controller.rb文件:class ApplicationController < ActionController::Base  # Prevent CSRF attacks by raising an exception.  # For APIs, you may want to use :null_session instead.  protect_from_forgery with: :exceptionendpages_controller.rb文件:class PagesController < ApplicationController  def home  endendroutes.rb文件:Rails.application.routes.draw do  get 'pages/home'  # The priority is based upon order of creation: first created -> highest priority.  # See how all your routes lay out with "rake routes".  # You can have the root of your site routed with "root"  # root 'welcome#index'  # Example of regular route:  #   get 'products/:id' => 'catalog#view'  # Example of named route that can be invoked with purchase_url(id: product.id)  #   get 'products/:id/purchase' => 'catalog#purchase', as: :purchase  # Example resource route (maps HTTP verbs to controller actions automatically):  #   resources :products  # Example resource route with options:  #   resources :products do  #     member do  #       get 'short'  #       post 'toggle'  #     end  #  #     collection do  #       get 'sold'  #     end  #   end  # Example resource route with sub-resources:  #   resources :products do  #     resources :comments, :sales  #     resource :seller  #   end
查看完整描述

3 回答

?
Cats萌萌

TA貢獻1805條經(jīng)驗 獲得超9個贊

如果您在WIndows中運行,那么coffee-script-source 1.9.0在Windows上不起作用。

將其更改為以前版本將此行添加到您的Gemfile:

gem 'coffee-script-source', '1.8.0'

然后重新安裝捆綁包,調(diào)整新Gem版本的依賴關(guān)系:

bundle update coffee-script-source


查看完整回答
反對 回復(fù) 2019-07-26
  • 3 回答
  • 0 關(guān)注
  • 619 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號