「Ruby rails」の版間の差分
提供: wikipokpok
1行目: | 1行目: | ||
[[category:memo|{{PAGENAME}}]] | [[category:memo|{{PAGENAME}}]] | ||
− | gemのインストール先 例えばbootstrap 環境によって違う | + | == gemのインストール先 例えばbootstrap 環境によって違う == |
~/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-sass-3.4.1/assets/stylesheets/bootstrap | ~/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-sass-3.4.1/assets/stylesheets/bootstrap | ||
− | Node.jsのインストール | + | == Node.jsのインストール == |
brew install nodebrew | brew install nodebrew | ||
36行目: | 36行目: | ||
v14.4.0 | v14.4.0 | ||
− | ruby 補完 | + | == ruby 補完 == |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | Plug 'neoclide/coc.nvim', {'branch': 'release'} | ||
63行目: | 63行目: | ||
gem install solargraph | gem install solargraph | ||
− | tepnote | + | == tepnote == |
rails _6.0.3_ new tepnote -d postgresql | rails _6.0.3_ new tepnote -d postgresql |
2020年6月13日 (土) 18:08時点における版
gemのインストール先 例えばbootstrap 環境によって違う
~/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-sass-3.4.1/assets/stylesheets/bootstrap
Node.jsのインストール
brew install nodebrew
nodebrew -v nodebrew 1.0.1 Example: # install nodebrew install v8.9.4 # use a specific version number nodebrew use v8.9.4
mkdir -p ~/.nodebrew/src
nodebrew install stable
nodebrew ls v14.4.0 current: none
nodebrew use 14.4.0 use v14.4.0
nodebrew ls v14.4.0 current: v14.4.0
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.zprofile
source ~/.zprofile
node -v v14.4.0
ruby 補完
Plug 'neoclide/coc.nvim', {'branch': 'release'}
:PlugInstall
:CocInstall coc-solargraph Installed extension coc-solargraph@1.1.6 at /Users/jq/.config/coc/extensions/node_modules/coc-solargraph
touch ~/.vim/coc-settings.json
{ "languageserver": { "sorbet": { "command": "srb", "args": ["tc", "--typed", "true", "--enable-all-experimental-lsp-features", "--lsp", "--disable-watchman", "--dir", "."], "filetypes": ["ruby"], "rootPatterns": ["sorbet/config"], "initializationOptions": {}, "settings": {} } } }
Solargraph gem not found. Run `gem install solargraph` or update your Gemfile., Install Now? (y/n)
gem install solargraph
tepnote
rails _6.0.3_ new tepnote -d postgresql