rails 安装指定的版本

Posted
$ mkdir myapp
$ cd myapp
$ echo "source 'https://rubygems.org'" > Gemfile
$ echo "gem 'rails', '5.0.0.1'" >> Gemfile
$ bundle install
bundle exec rails new 

bundle exec rails new . --webpack=vue --database=postgresql --force

Ref: https://stackoverflow.com/questions/379141/specifying-rails-version-to-use-when-creating-a-new-application


此文章 短链接: http://dlj.bz/M8IJTA