最近为了我自己的博客目的,我尝试建立一个测试Octopress网站。我不能在FreeBSD (与Apache)上工作,所以任何帮助都是非常感谢的。
安装了所有需要的东西(以及额外的):
/usr/ports # cd devel/subversion
/usr/ports/editors/vim-lite/
/usr/ports/ports-mgmt/portmaster 在make.conf中输入RUBY_DEFAULT_VER=1.9
portmaster converters/ruby-iconv
portmaster /usr/ports/sysutils/rubygem-bundler将安装所有依赖项-包括Ruby
git clone git://github.com/imathis/octopress.git /usr/local/www/apache2/data/octopress
cd /usr/local/www/apache2/data/octopress
ruby --version一切都应该没问题,现在在Apache中定义了vhost。
gem install bundler
rehash
bundle install
rake install也没问题
我现在看到了公共目录,但一点也不像Ruby / Octopress。我想我遗漏了一些必要的步骤。我是否需要安装其他东西才能将我的Ruby环境与Apache链接起来?
发布于 2014-04-22 20:14:28
您还需要运行rake generate才能在public目录中实际生成输出。
https://stackoverflow.com/questions/16728231
复制相似问题