teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

追記

2018/04/18 07:11

投稿

Piesuke
Piesuke

スコア15

title CHANGED
File without changes
body CHANGED
@@ -22,6 +22,7 @@
22
22
 
23
23
  【追記】
24
24
  rubyはデフォルトでインストールされているものです。
25
+ Gemfile全文↓
25
26
  ```Gemfile
26
27
  source 'https://rubygems.org'
27
28
 

2

追記

2018/04/18 07:11

投稿

Piesuke
Piesuke

スコア15

title CHANGED
File without changes
body CHANGED
@@ -18,4 +18,66 @@
18
18
  Gemfileを見てみても、特に文法上のエラーは見つからず、therubyracerのエラーだと思い、
19
19
  http://l-light-note.hatenablog.com/entry/2014/09/17/134807
20
20
  に従って色々試してみましたが、結果は変わりません。
21
- 改善策を教えてください。
21
+ 改善策を教えてください。
22
+
23
+ 【追記】
24
+ rubyはデフォルトでインストールされているものです。
25
+ ```Gemfile
26
+ source 'https://rubygems.org'
27
+
28
+ git_source(:github) do |repo_name|
29
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
30
+ "https://github.com/#{repo_name}.git"
31
+ end
32
+
33
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
34
+ gem 'rails', '~> 5.1.5'
35
+ # Use sqlite3 as the database for Active Record
36
+ gem 'sqlite3'
37
+ # Use Puma as the app server
38
+ gem 'puma', '~> 3.7'
39
+ # Use SCSS for stylesheets
40
+ gem 'sass-rails', '~> 5.0'
41
+ # Use Uglifier as compressor for JavaScript assets
42
+ gem 'uglifier', '>= 1.3.0'
43
+ # See https://github.com/rails/execjs#readme for more supported runtimes
44
+ gem 'therubyracer', platforms: :ruby
45
+
46
+ # Use CoffeeScript for .coffee assets and views
47
+ gem 'coffee-rails', '~> 4.2'
48
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
49
+ gem 'turbolinks', '~> 5'
50
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
51
+ gem 'jbuilder', '~> 2.5'
52
+ # Use Redis adapter to run Action Cable in production
53
+ # gem 'redis', '~> 4.0'
54
+ # Use ActiveModel has_secure_password
55
+ # gem 'bcrypt', '~> 3.1.7'
56
+
57
+ # Use Capistrano for deployment
58
+ # gem 'capistrano-rails', group: :development
59
+
60
+ group :development, :test do
61
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
62
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
63
+ # Adds support for Capybara system testing and selenium driver
64
+ gem 'capybara', '~> 2.13'
65
+ gem 'selenium-webdriver'
66
+ end
67
+
68
+ group :development do
69
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
70
+ gem 'web-console', '>= 3.3.0'
71
+ gem 'listen', '>= 3.0.5', '< 3.2'
72
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
73
+ gem 'spring'
74
+ gem 'spring-watcher-listen', '~> 2.0.0'
75
+ end
76
+
77
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
78
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
79
+
80
+ gem 'sass'
81
+ gem 'unicorn'
82
+
83
+ ```

1

文の修正

2018/04/18 07:10

投稿

Piesuke
Piesuke

スコア15

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,7 @@
6
6
  gem 'therubyracer',platforms: :ruby
7
7
  ^. Bundler cannot continue.
8
8
 
9
- # from /vagrant/exchange_corporate/Gemfile:19
9
+ # from /vagrant/project/Gemfile:19
10
10
  # -------------------------------------------
11
11
  # # See https://github.com/rails/execjs#readme for more supported runtimes
12
12
  > gem 'therubyracer',platforms: :ruby