Rails项目新建

把prototype替换成jquery

rails g jquery:install

Gemfile加入:rspec-rails,factory_girl_rails,cucumber-rails,spork,guard-cucumber,guard-rspec,guard-spork,capybara,slim-rails 然后运行:

rails generate rspec:install
rails g cucumber:install --rspec --capybara

 

你可能感兴趣的:(Ruby,Rails)