首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >正在尝试在osx上设置radiant cms

正在尝试在osx上设置radiant cms
EN

Stack Overflow用户
提问于 2013-05-22 10:45:23
回答 1查看 209关注 0票数 0

我正在尝试安装radiant cms,当我尝试运行bundle exec rake db:bootstrap时,我得到了以下输出。现在我选择mysql作为我的数据库,但我不确定它是否设置正确或没有连接。很抱歉,如果这听起来像是我不知道我在说什么,这对我来说还是有些新鲜。

代码语言:javascript
复制
Gem.source_index called from /Users/anderskitson/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21.
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
/Users/anderskitson/Sites/Bray Jorstad/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => db:bootstrap => db:initialize => environment
(See full trace by running task with --trace)
EN

回答 1

Stack Overflow用户

发布于 2013-05-22 19:27:55

rvm配置文件安装rvm bash并稳定< <(curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

  • setup rvm echo '[ ~/.bash_profile

  1. download_4.1 -s "/Volumes/Install ruby -s&-s“rvm install 1.9.3 #或1.9.2或1.8.7Rvm安装包为您的项目rvm使用创建一个独立的环境--create 1.9.3@project-name
  2. install radiant gem install radiant --pre --no-ri --no-rdoc # install Radiant 1.0 RC4
  3. 创建一个新的radiant项目radiant ~/RC4-name cd ~/

-name包安装包exec rake rake可选裁剪依赖项brew install ghostscript imagemagick # or port install ...script/server安装--使用--gcc ffmpeg #或port install ffmpeg

  • 启动新的radiant应用程序包exec brew

由以下人员提供:

https://github.com/radiant/radiant/wiki/Installing-on-Mac-OS-X

我今天(22/05/13)在OSX (10.7.5)中做到了这一点,一切都很好。不要摆弄你的gem文件。在开发时保持数据库为sqlite3,或者至少在一切正常之前保持数据库。

祝好运!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16682667

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档