I have some problems running my ruby on rails app properly.
My app normaly runs with ruby 1.9.3 but I got lots of problems with utf-8 and ascii, so I updated ruby to 2.0.0
But now when I run my app with
rails s
The app starts with ruby 2.0.0 but I haven't the writing permitions which were needed so I got lots of access errors.
If i run
sudo rails s
The app starts with ruby 1.9.3 ....
What do I have to do that the app starts with 2.0.0 when i run
sudo rails s
Update: Thats the reason, why I tried to update to 2.0.0
ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
1:
2: <fieldset>
3: <legend><%= t("course.choose_start_date_legend") %></legend>
4: <%= form_tag do %>
5: <%= calendar_date_select_tag "start_date", @start_date, :time => true %>
6: <%=
7: my_date = Time.now + 6.days
app/views/courses/create_course.html.erb:4:in `_app_views_courses_create_course_html_erb___1293065742140947829_41081100'