草庐IT

RedCloth

全部标签

ruby - 在 Windows 7 上运行 Jekyll

我在Windows7上运行Jekyll时遇到问题。当我运行时jekyll出现以下错误C:\temp\jekyll\kouphax.github.com>jekyllConfigurationfromC:/temp/jekyll/kouphax.github.com/_config.ymlBuildingsite:C:/temp/jekyll/kouphax.github.com->C:/temp/jekyll/kouphax.github.com/_siteunit-testingYouaremissingalibraryrequiredforTextile.Pleaserun:$[s

ruby : Could not find RedCloth-4. 2.9

我对此很陌生,我该如何解决这个问题?$rakeCouldnotfindRedCloth-4.2.9inanyofthesourcesRun`bundleinstall`toinstallmissinggems. 最佳答案 您没有RedCloth安装gem就是这样。如果您使用的是Bundlergem,我想您可以输入bundleinstall安装它,否则你可以通过geminstallRedCloth手动安装它. 关于ruby:CouldnotfindRedCloth-4.2.9,我们在Sta

ruby - 安装 RedCloth-4.2.9 安装 Linux 时无法构建 gem native 扩展

我想在我的电脑上安装Octopress。我试着这样做Octopressdocument.当我运行时bundleinstall我收到错误信息AnerroroccuredwhileinstallingRedCloth(4.2.9),andBundlercannotcontinue.Makesurethat`geminstallRedCloth-v'4.2.9'`succeedsbeforebundling.所以,我跑sudogeminstallRedCloth-v'4.2.9'然后,我又收到一条错误信息:ERROR:ErrorinstallingRedCloth:ERROR:Failedt

ruby-on-rails - 红布 2.0.0 [i386-mingw32] 上的 RedCloth 加载错误

当我将我的rails3.2.13应用程序(在WinXP上)从ruby​​1.9.3升级到ruby​​2.0.0时,它因gemRedCloth(4.2.9x86-mingw32)而崩溃。消息:无法加载2.0/redcloth_scan(LoadError)。换句话说:/lib/2.0/redcloth_scan.so在gem中不存在。这个问题有什么解决办法吗?(不幸的是,RedCloth是唯一处理Textile的Ruby工具。) 最佳答案 你可以试试:安装RedCloth-4.2.9:geminstallRedCloth--platf

ruby - Windows 上的独立 RedCloth

语境我最近参与了一个软件开发项目,我希望使用文本标记(适合在代码存储库中与代码一起跟踪)编写技术文档。因为项目已经在使用Redmine,我想用Textile从而避免其他开发人员学习另一种标记语言。我知道实现有所不同,所以本着POLS的精神,我想用RedCloth,由Redmine内部使用。我们正在开发并部署到多个操作系统,包括Windows。为方便起见,以及使用Windows的非技术、非开发人员用户只有我希望能够使用独立工具编译所述技术文档,最好部署为单个安装程序.我是Ruby的100%新手,所以请耐心等待。我不打算为这个项目用Ruby进行开发,我只想在Windows上进行有效的安装,

ruby-on-rails - 如何在 Windows 上安装 RedCloth?

运行geminstallRedCloth时(在WindowsXP上)我得到:Fetching:RedCloth-4.2.8.gem(100%)TemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...SuccessfullyinstalledRedCloth-4.2.81geminstalledInstallingridocumentationforRedCloth-4.2.8...InstallingRDocdocumentationforRedCloth-4.2.

ruby - 无法安装 RedCloth

如标题所示,我在安装gemRedCloth时遇到问题。我下载了RubyGemsv1.8.24,并使用ubuntu12.04,这是我的控制台日志:kuba@kuba-P5Q-SE:~$sudogeminstallRedCloth[sudo]passwordforkuba:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:ErrorinstallingRedCloth:ERROR:Failedtobuildgemnativeextension./usr/bin/ruby1.9.1extconf.rb/usr/local/lib/sit

ruby - 在 OS X 10.9.2 上安装 RedCloth (4.2.9) 时出错

我尝试用页面安装Jekyll,使用enterlinkdescriptionhere.安装RedCloth(4.2.9)时进程停止:“确保geminstallRedCloth-v'4.2.9'在捆绑之前成功。”结果如下(由于此问题中的url限制,我更改了H中的https)。我运行OSX10.9.2第1步=确定mikea:megomikea$ruby--versionruby2.0.0p247(2013-06-27revision41674)[universal.x86_64-darwin13]第2步=确定mikea:megomikea$sudogeminstallbundlerPassw

ruby - RedCloth 破坏了我的 Rails 3 博客

像Textile这样的帖子感觉很有必要,但这让我很头疼。bundlepackage和bundleinstall都工作正常,并确认RedCloth已设置为最新的稳定版本(4.2.2)。现在我使用的是ruby​​1.9.2p0和rails3.0.7。但是,当我尝试运行本地服务器时,我看到:LoadErrorinPostsController#indexnosuchfiletoload--RedCloth...app/controllers/posts_controller.rb:1:in`'Thiserroroccurredwhileloadingthefollowingfiles:Red