-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find gem github-pages #44
Comments
I was able to resolve this (and a subsequent issue) by adding a Gemfile with these contents:
and then running |
@tonyatoms hey, thanks for raising this. It looks like we should actually just retire the use of https://blog.github.com/2016-02-01-github-pages-now-faster-and-simpler-with-jekyll-3-0/ This should also make the build simpler. |
I get a different issue:
any idea how to solve it? |
Do you have the github-pages gem installed? I'm not sure but I'd bet you would need to have it installed before it could be updated. |
this worked for me |
Worked perfectly. Thank you, @the-po . |
Thanks @six-ten for solving my problems! |
if you have installed jekyll 4.1.1 before create your github pages project @six-ten 's answer works fine but needs to change the command: |
there are some version conflicts when installing ruby and bundler (which in turn installs jekyll 4.2.0 - as of Dec 30 2020). This version conflicts with what github needs - so @six-ten comments may not work out of the box.
|
Add the update jekyll step from prose/starter#44
gem "github-pages", "~> 231", group: :jekyll_plugins Needed to change this to 3.9.5 to match github-pages dependencies gem "jekyll", "~> 3.9.5"
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc (if you have an .zsh be sure to replace .bashrc with .zshrc) |
Installing the starter project per the instructions in the README and trying to run it via
bundle exec Jekyll serve
results in this failure:Could not find gem 'github-pages' in any of the gem sources listed in your Gemfile.
This is of particular interest to me as I do not intend to use Prose for a GitHub-pages hosted site, at least not initially.
EDIT: env details
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
The text was updated successfully, but these errors were encountered: