摘要:
安装$ gem install radiant$ radiant radiantcms修改Gemfile,打开gem "therubyracer"$ bundle install$ bundle exec rake production db:bootstrap启动$ bundle exec script/server界面比较简单,很多东西需要自己配置 阅读全文
摘要:
安装下载安装包,解压缩不安装rmagick,mysql,postgresql$ bundle install --without development test rmagick mysql postgresql$ bundle install出错信息Gem files will remain installed in /home/admin/.bundler/tmp/6155/gems/mysql2-0.3.11 for inspection.Results logged to /home/admin/.bundler/tmp/6155/gems/mysql2-0.3.11/ext/mysq 阅读全文
摘要:
1、安装Ruby 下载安装包,解压缩 $ ./configure $ make $ sudo make install2、安装RubyGems 下载安装包,解压缩 $ sudo ruby setup.rb3、安装Rake $ gem install rake4、安装Rails $ gem install rails5、安装sqlite $ sudo yum install sqlite 阅读全文
摘要:
安装$ gem install refinerycmsDownloading http://ruby.taobao.org/latest_specs.4.8.gzFile already downloaded and cached to /home/panfeng/.rvm/gems/ruby-1.9.3-p0/cacheDownloading http://ruby.taobao.org/specs.4.8.gzFile already downloaded and cached to /home/panfeng/.rvm/gems/ruby-1.9.3-p0/cacheERROR: Whi 阅读全文
摘要:
部署$ git clone git://github.com/cloudhead/dorothy.git myblog$ cd myblog/$ heroku create -s bamboo mybog$ git push heroku master官方给出的是$ heroku create myblog这个默认是CedarCedar 只支持 MRI 1.9.2Bamboo 支持 REE 1.8.7和MRI 1.9.2toto是两年前的ruby,使用Cedar无法部署成功$ git push heroku master会产生如下出错信息-----> Heroku receiving p 阅读全文
摘要:
https://toolbelt.heroku.com/linuxwget -qO- https://toolbelt.heroku.com/install.sh | sh 不好使E: Couldn't find package heroku-toolbeltgem install heroku foreman会报依赖一些包,一个个都装上$ git push heroku master出现下面的错误Permission denied (publickey).fatal: The remote end hung up unexpectedly解决方法:$ heroku keys:add 阅读全文
摘要:
配置gitUbuntu:sudo apt-get install git-coreRedHat:sudo yum install git$ git config --global user.name "Your Name Here"$ git config --global user.email "your_email@youremail.com"$ ssh-keygen -t rsa -C "your_email@youremail.com"$ ssh -v git@github.com验证失败,把公钥 ./ssh/id_rsa.p 阅读全文