rails new myDemo 在当前目录创建新工程 名为 myDemo
进入myDemo中
编辑Gemfile 文件 修改其中的源
source 'https://rubygems.org' 改为 source 'https://ruby.taobao.org'
终端切进 myDemo目录
bundle install
rails s 启动
打开 http://localhost:3000/ 访问
rails new myDemo 在当前目录创建新工程 名为 myDemo
进入myDemo中
编辑Gemfile 文件 修改其中的源
source 'https://rubygems.org' 改为 source 'https://ruby.taobao.org'
终端切进 myDemo目录
bundle install
rails s 启动
打开 http://localhost:3000/ 访问