首页 > 其他分享 >Issues About Installing Octopress

Issues About Installing Octopress

时间:2022-11-09 23:37:13浏览次数:58  
标签:About 15 07 46 Octopress Installing source public 2013


Actually I am fresh to Write Blog with Octopress in Github Pages.According to the ​​Introduction​​ .And now I have make it avaible and the website is present. However I have suffered some problems when I did the setup.Here is a summary of what I have sufferd and how I resolved.

Could not find rdiscount-2.0.7.3 in any of the sources Run ​​bundle install​​ to install missing gems.
source ~/.rvm/scripts/rvm
rvm use 1.9.3 --default
I have used ​​rake preview ​​​,But I got 404 when I open the ​​http://127.0.0.1:4000​
[[email protected] octopress]$ rake preview
Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
[2013-09-07 15:46:20] INFO WEBrick 1.3.1
[2013-09-07 15:46:20] INFO ruby 1.9.3 (2013-06-27) [i686-linux]
[2013-09-07 15:46:20] INFO WEBrick::HTTPServer#start: pid=10490 port=4000
Configuration from /home/androidyue/github/octopress/_config.yml
Auto-regenerating enabled: source -> public/
[2013-09-07 15:46:21] regeneration: 95 files changed
>>> Change detected at 15:46:21 to: screen.scss
create public/github/stylesheets/screen.css
Errno::ENOENT on line ["56"] of /home/androidyue/.rvm/gems/ruby-1.9.3-p448/gems/compass-0.12.2/lib/compass/actions.rb: No such file or directory - /home/androidyue/github/octopress/public/github/stylesheets/screen.css
Run with --trace to see the full backtrace]

As the above information and all the sources are outputed in public/ folder And the following are a part of my _config.yml file

# If publishing to a subdirectory as in http://site.com/project set 'root: /project'
root: /
permalink: /blog/:year/:month/:day/:title/
source: source
destination: public/
plugins: plugins
code_dir: downloads/code
category_dir: blog/categories

So compare the two piece information and check the output dir and is public or a subdirectory in public folder.If your outputdir is a subdirectory you should use this link ​​http://127.0.0.1:4000/yourSubDirName​​​ P.S.This is the help from StackOverflow ​​http://stackoverflow.com/questions/17465404/rake-preview-not-working-in-octopress​

I will keep record about this topic becuase I am making friends with Octopress in Github Pages


标签:About,15,07,46,Octopress,Installing,source,public,2013
From: https://blog.51cto.com/u_3987305/5838970

相关文章

  • Installing MongoDB-6.0.2 on openEuler-22.09
    一、InstallingMongoDB-6.0.2onopenEuler-22.091查看版本openEuler-22.09和CentOS8.3里安装无差别,直接一步到位好吧! X、OneStepSuccesssystemctlstopfi......
  • Installing RabbitMQ-3.10.2 on CentOS 7.9
    一、InstallingRabbitMQ-3.10.2onCentOS7.91地址https://www.rabbitmq.comhttps://github.com/rabbitmq/rabbitmq-serverhttps://github.com/rabbitmq/rabb......
  • Installing wxWidgets-3.2.1 on CentOS 8.3
    一、InstallingwxWidgets-3.2.1onCentOS8.3地址https://www.wxwidgets.org 安装依赖dnfinstall-ybzip2gtk2-develbinutils-develwget下载cd/opt/soft......
  • Installing RabbitMQ-3.11.2 on CentOS 8.3
    一、InstallingRabbitMQ-3.11.2onCentOS8.3 InstallingRabbitMQ-3.10.2onCentOS7.9:https://www.cnblogs.com/huaxiayuyi/p/16768452.html 二、Erlang下......
  • About Me
    这里是Naitoah——一只招财猫。目前为FZSZ高一平行班蒟蒻OIer。努力学吧。学不了就去whk了。目标:高二进理实/钱班##Hobbies:[Joker]比较经常打扑克。[OI]初......
  • About Philosophy
    TableofContents  1    Philosophy ................................................... 21.1    Overall ............................................
  • Installing MySQL-8028 on CentOS 8.3
    一、InstallingMySQL-8028onCentOS8.31地址https://www.mysql.comhttps://downloads.mysql.com/archives/community2下载图片 二、下载&解压1wge......
  • Efforts on resolving compiling issues upon installing R packages on the Mac M1 c
    ResolvecompilingproblemsuponinstallingRpackagesonM1chiphttps://mac.r-project.org/openmp/#dohttps://github.com/Rdatatable/data.table/wiki/Installa......
  • About Me
    AboutMe一位高考考差了只能上某邮专的22届高考考生初三打过NOIP,由于技术太菜只拿了二等奖在高中阶段沉迷于机器人以及单片机开发,打过vex(高考因此考差)高考完参加Robom......
  • Installing helm on Kubernetes-1.25.2
    一、InstallinghelmonKubernetes-1.25.2地址https://helm.shhttps://github.com/helm/helm1 wget下载cd/opt/softwarewgethttps://get.helm.sh/helm-v3.10......