1

安装指定rails的版本

 2 years ago
source link: http://blog.grayson.org.cn/blog/2019/01/16/rails-an-zhuang-zhi-ding-de-ban-ben
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

安装指定rails的版本

Jan 16, 2019

mkdir tolk_server
cd tolk_server
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'rails', '4.2.11'" >> Gemfile
# echo "gem 'rails', '6.0.1'" >> Gemfile
bundle install
bundle exec rails new . --force --skip-bundle --database=postgresql

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

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

Posted by grayson Jan 16, 2019

« Ruby's Array and Array.wrap的区别

subl 全局基本配置»


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK