rubyref.txt 814 B

1234567891011121314151617181920212223242526
  1. https://guides.rubygems.org/command-reference/
  2. https://jekyllrb.com/docs/installation/ubuntu/
  3. gem uninstall # uninstall gems from the local directory
  4. gem uninstall -aIx # uninstall all gems without prompt
  5. gem update # update installed gems to the latest version
  6. # install jekyll (https://jekyllrb.com/docs/installation/ubuntu/)
  7. sudo apt-get install ruby-dev libffi-dev
  8. gem install bundler jekyll
  9. bundle update --bundler
  10. If Gemfile.lock is present in the directory remove them:
  11. $ bundle install
  12. $ bundle exec jekyll serve
  13. 1. gem install rails
  14. 2. gem install bundler jekyll
  15. 3. cd ~/Sites
  16. 4. rm Gemfile.lock
  17. 5. bundle install
  18. 6. bundle exec jekyll serve
  19. 7. open: http://127.0.0.1:4000/
  20. Ref: https://stackoverflow.com/questions/10012181/bundle-install-returns-could-not-locate-gemfile