問題になっていること
ブラウザで表示するとhello,world!になるはずが立ち上るけど表示されない。
エラーメッセージ
*****:~/workspace/hello_app (master) $ bundle install --without production
[!] There was an error parsing Gemfile
: Undefined local variable or method `gem ' for Gemfile. Bundler cannot continue.
from /home/ubuntu/workspace/hello_app/Gemfile:36
Use sqlite3 as the database for Active Record
gem 'sqlite3', '1.3.9'
Gemfile
gem 'rails', '4.2.2'
gem 'sass-rails', '5.0.2'
gem 'uglifier', '2.5.3'
gem 'coffee-rails', '4.1.0'
gem 'jquery-rails', '4.0.3'
gem 'turbolinks', '2.3.0'
gem 'jbuilder', '2.2.3'
gem 'sdoc', '0.4.0', group: :doc
group :development, :test do
gem 'sqlite3', '1.3.9'
gem 'byebug', '3.4.0'
gem 'web-console', '2.0.0.beta3'
gem 'spring', '1.1.3'
end
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
補足
- Gemfileの#外して添付してます。
- bundle install--without productionが上手くできていないようでsqulite3,'1.3.9'に問題がある?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/02/25 17:24