Ruby on Rails与Cassandra结合使用,可以轻松创建Rails项目。Mac上安装Cassandra:brew install python pip install cql brew services start cassandra 创建Rails项目时,使用'--skip-active-record'选项:rails new ruby-on-rails-with-cassandra --skip-active-record。然后,从Gemfile中删除sqlite3(如果存在),添加以下gems到Gemfile中: