ActionView::Template::Error (not supported) ?

63 views
Skip to first unread message

Ad Rienks

unread,
Jun 27, 2016, 6:40:12 AM6/27/16
to RailsInstaller
Hello,

I'm new to Ruby on Rails; just installing it, and running the example 'blog'.
I am on Windows 10.

the localhost:3000 pages shows these messages:

"Showing C:/RailsInstaller/Ruby2.2.0/bin/blog/app/views/layouts/application.html.erb where line #5 raised:
TypeError: Deze eigenschap of methode wordt niet ondersteund door dit object

Rails.root: C:/RailsInstaller/Ruby2.2.0/bin/blog"


The offending line is:

    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>


What can be done?


Thank for any support,

Ad


Konrad Krawczuk

unread,
Jul 3, 2016, 5:54:55 PM7/3/16
to RailsInstaller
For me changing from 
<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>


<%= stylesheet_link_tag    'default', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'default', 'data-turbolinks-track': 'reload' %>

helps :)

Konrad Krawczuk

unread,
Jul 4, 2016, 4:29:54 AM7/4/16
to kwi...@cloudmail.de, RailsInstaller
In fact it is not rocommended way but I am the one who thinks that if you can normally install rails 5 and ruby on windows you should try this to feel comfortable in your enviro with apps and things you like and know well. 

pon., 4.07.2016 o 00:41 użytkownik <kwi...@cloudmail.de> napisał:
Thank you, Konrad!

I will see if this works. Although I currently have quitted developing Rails applications in Windows; it is too difficult!

--
You received this message because you are subscribed to a topic in the Google Groups "RailsInstaller" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/railsinstaller/K2O6nlXt754/unsubscribe.
To unsubscribe from this group and all its topics, send an email to railsinstalle...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages