質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -24,4 +24,117 @@
|
|
24
24
|
|
25
25
|
解決策をご存知の方がいれば教えてください。
|
26
26
|
|
27
|
-

|
27
|
+

|
28
|
+
|
29
|
+
表示はされているのですが、クリックしてもURIが変わリマセン。
|
30
|
+
|
31
|
+

|
32
|
+
|
33
|
+
環境は
|
34
|
+
Rails 5.1.5
|
35
|
+
ruby 2.4.0
|
36
|
+
|
37
|
+
以下はgemfileです
|
38
|
+
```ここに言語を入力
|
39
|
+
source 'https://rubygems.org'
|
40
|
+
|
41
|
+
git_source(:github) do |repo_name|
|
42
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
43
|
+
"https://github.com/#{repo_name}.git"
|
44
|
+
end
|
45
|
+
|
46
|
+
|
47
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
48
|
+
gem 'rails', '~> 5.1.5'
|
49
|
+
# Use sqlite3 as the database for Active Record
|
50
|
+
gem 'sqlite3'
|
51
|
+
# Use Puma as the app server
|
52
|
+
gem 'puma', '~> 3.7'
|
53
|
+
# Use SCSS for stylesheets
|
54
|
+
gem 'sass-rails', '~> 5.0'
|
55
|
+
# Use Uglifier as compressor for JavaScript assets
|
56
|
+
gem 'uglifier', '>= 1.3.0'
|
57
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
58
|
+
# gem 'therubyracer', platforms: :ruby
|
59
|
+
|
60
|
+
# Use CoffeeScript for .coffee assets and views
|
61
|
+
gem 'coffee-rails', '~> 4.2'
|
62
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
63
|
+
gem 'turbolinks', '~> 5'
|
64
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
65
|
+
gem 'jbuilder', '~> 2.5'
|
66
|
+
|
67
|
+
gem 'bootstrap-sass', '3.3.7'
|
68
|
+
gem 'font-awesome-rails'
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
group :development, :test do
|
74
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
75
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
76
|
+
# Adds support for Capybara system testing and selenium driver
|
77
|
+
gem 'capybara', '~> 2.13'
|
78
|
+
gem 'selenium-webdriver'
|
79
|
+
end
|
80
|
+
|
81
|
+
group :development do
|
82
|
+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
|
83
|
+
gem 'web-console', '>= 3.3.0'
|
84
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
85
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
86
|
+
gem 'spring'
|
87
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
88
|
+
end
|
89
|
+
|
90
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
91
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
92
|
+
|
93
|
+
```
|
94
|
+
|
95
|
+
application.html.erbのheader部分です
|
96
|
+
```ここに言語を入力
|
97
|
+
<!DOCTYPE html>
|
98
|
+
<!--[if IE 7 ]><html class="ie ie7 lte9 lte8 lte7" lang="en-US"><![endif]-->
|
99
|
+
<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en-US"> <![endif]-->
|
100
|
+
<!--[if IE 9]><html class="ie ie9 lte9" lang="en-US"><![endif]-->
|
101
|
+
<!--[if (gt IE 9)|!(IE)]><!-->
|
102
|
+
<html class="noIE" lang="en-US">
|
103
|
+
<!--<![endif]-->
|
104
|
+
<head>
|
105
|
+
<title>Nevada Plus</title>
|
106
|
+
|
107
|
+
<!-- meta -->
|
108
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
109
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
110
|
+
<meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no"/>
|
111
|
+
|
112
|
+
<!-- google fonts -->
|
113
|
+
<link href='http://fonts.googleapis.com/css?family=Raleway:500,300' rel='stylesheet' type='text/css'>
|
114
|
+
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans'>
|
115
|
+
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
116
|
+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,bold"/>
|
117
|
+
|
118
|
+
<!-- css -->
|
119
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
120
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
121
|
+
|
122
|
+
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
|
123
|
+
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
|
124
|
+
<link rel="stylesheet" href="assets/css/style.css" media="screen"/>
|
125
|
+
|
126
|
+
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
131
|
+
<!--[if lt IE 9]>
|
132
|
+
<script src="assets/js/html5shiv.js"></script>
|
133
|
+
<script src="assets/js/respond.js"></script>
|
134
|
+
<![endif]-->
|
135
|
+
|
136
|
+
<!--[if IE 8]>
|
137
|
+
<script src="assets/js/selectivizr.js"></script>
|
138
|
+
<![endif]-->
|
139
|
+
</head>
|
140
|
+
```
|