- 1. 概要
- 2. プロジェクト作成
1. 概要
前ページの作業を行ったのが、2018年です。
今回、前回の作業の結果をふまえて、手順を考えながらやってみます。
今回は、はなから、「PostgreSQL」は、インストール済。
「root」ユーザ権限で。
あえて、カレントディレクトリを
/usr/local/www/
にして、やってみます。
2. プロジェクト作成
不足分のパッケージを調べる意味でも、初回のプロジェクト作成をやってみます。
$ rails new project -d postgresql
create
create README.md
create Rakefile
・・・ 略 ・・・
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break
this application for all non-root users on this machine.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies..........
Using rake 13.0.3
・・・ 略 ・・・
ost-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
run bundle exec spring binstub --all
* bin/rake: Spring inserted
* bin/rails: Spring inserted
なんだか「i18n」が、どうのこうもと言われているのが、少し気になりますが・・・今回は、一発で成功しているのかしら・・・。
|
|