$ bundle install
を行うと
Your Gemfile has no gem server sources. If you need gems that are not already on your machine, add a line like this to your Gemfile: source 'https://rubygems.org' Could not find gem 'pry-byebug' in any of the gem sources listed in your Gemfile.
このように表示されたので
https://qiita.com/jnchito/items/44ab1df134369ed76911
このサイトを参考にbundle updateしようとしたのですが
ec2-user:~/environment/scrape $ bundle update [!] There was an error parsing `Gemfile`: 'pry-byebug~> 3.9.0' is not a valid gem name because it contains whitespace. Bundler cannot continue. # from /home/ec2-user/environment/scrape/Gemfile:4 # ------------------------------------------- # gem 'selenium-webdriver' > gem 'pry-byebug' '~> 3.9.0' # ------------------------------------------- ec2-user:~/environment/scrape $ bundle update Could not find gem 'pry-byebug (~> 3.9.0)' in any of the gem sources listed in your Gemfile. ec2-user:~/environment/scrape $ bundle update Could not find gem 'pry-byebug (= 3.9.0)' in any of the gem sources listed in your Gemfile.
このようにエラーが出てしまいました。
どうしたら良いでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/12/25 08:32