,接下来要做的是确保您有一些文件: Gemfile config.ru 我在上面的帖子中描述的Gemfile包含对应用程序中使用的所有Ruby gems的引用: gem 'sinatra' gem 'rdiscount...dm-sqlite-adapter', :group => :development group :production do gem 'pg', '0.14.1' end 你可能不需要这些:例如rdiscount
Gemfile config.ru 我在上面的帖子中描述的Gemfile包含在应用程序中使用的所有Ruby gems的引用: source :rubygems gem 'sinatra' gem 'rdiscount...dm-sqlite-adapter', :group => :development group :production do gem 'pg', '0.14.1' end 部署Sinatra应用程序你可能不需要了解这些:比如rdiscount
并且其在本地运行没有问题),接下来要做的是确保你有以下文件: Gemfile config.ru 其中Gemfile包含对应用程序中使用的所有Ruby gem的引用: gem 'sinatra' gem 'rdiscount...dm-sqlite-adapter', :group => :development group :production do gem 'pg', '0.14.1' end 你可能不需要其中的一些gem:比如rdiscount
Could not find rdiscount-2.0.7.3 in any of the sources Run bundle install to install missing gems. source
. $$ 如果文档是要放在Octopress中使用的话,推荐按照这位博主的方式修改,使用kramdown代替默认的rdiscount,然后在footer.html中加入上面的脚本内容。
领取专属 10元无门槛券
手把手带您无忧上云