octopress

Failed to build gem native extension when install RedCloth-4.2.9 install Linux

天涯浪子 提交于 2019-11-28 16:50:08
问题 I want to install Octopress in my computer. I try to do it like Octopress document. When I run bundle install I got error message An error occured while installing RedCloth (4.2.9), and Bundler cannot continue. Make sure that `gem install RedCloth -v '4.2.9'` succeeds before bundling. So, I run sudo gem install RedCloth -v '4.2.9' then, I got a error message again: ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1

fatal: could not open '.git/COMMIT_EDITMSG': Permission denied

ⅰ亾dé卋堺 提交于 2019-11-28 16:41:29
I am trying to deploy octopress on github pages. I followed these instructions: http://octopress.org/docs/deploying/github/ It all worked well until the commit part, where I get error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied I am the owner of my github.io page, of course, and I never had this issue before. Why is this happening, and more importantly how do I resolve it? This is not an error message from the remote Git repository, this is a problem with your local files. You probably used git (or rake) as another user (such as root) in this same directory, and it created

fatal: could not open '.git/COMMIT_EDITMSG': Permission denied

不羁的心 提交于 2019-11-27 09:50:39
问题 I am trying to deploy octopress on github pages. I followed these instructions: http://octopress.org/docs/deploying/github/ It all worked well until the commit part, where I get error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied I am the owner of my github.io page, of course, and I never had this issue before. Why is this happening, and more importantly how do I resolve it? 回答1: This is not an error message from the remote Git repository, this is a problem with your local