mysql - Trying to setup radiant cms on osx -
i attempting install radiant cms, when try , run bundle exec rake db:bootstrap following output. chose mysql database im not sure if setup or not connect. sorry if sounds dont know im talking still new me.
gem.source_index called /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 running task --trace)
- install rvm bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
- setup rvm echo '[[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm"' >> ~/.bash_profile source ~/.bash_profile
- download & install xcode open https://developer.apple.com/downloads/download.action?path=developer_tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg open ~/downloads/xcode_4.1_for_lion.dmg open "/volumes/install xcode/installxcodelion.pkg"
- install ruby & rubygems rvm install 1.9.3 # or 1.9.2 or 1.8.7
- setup isolated environment project rvm use --create 1.9.3@project-name
- install radiant gem install radiant --pre --no-ri --no-rdoc # installs radiant 1.0 rc4
- create new radiant project radiant ~/project-name cd ~/project-name bundle install bundle exec rake db:bootstrap
- install optional clipped dependencies brew install ghostscript imagemagick # or port install ... brew install --use-gcc ffmpeg # or port install ffmpeg
- start new radiant app bundle exec script/server
courtesy of:
https://github.com/radiant/radiant/wiki/installing-on-mac-os-x
i did today (22/05/13) in osx (10.7.5) , worked fine. don't fiddle gem file. keep database sqlite3 when developing, or @ least until working.
good luck!
Comments
Post a Comment