Andres Bernal

Andres Bernal

Developer.

© 2019

Odin App

odin

La idea con este post es mostrar los fix que tuve al crear projectos con esta web, en ruby

Actualizar node

instalar nvm con zsh


export NVM_DIR="$HOME/.nvm" && (
  git clone https://github.com/creationix/nvm.git "$NVM_DIR"
  cd "$NVM_DIR"
  git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"

.zsh

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

escojer version

# chose desired node version
VERSION="8.12.0"
# install node
nvm install ${VERSION}
nvm use ${VERSION}

conflicto de rails 6.0 con webpack

Available Rails 5.1+

rails new myapp –webpack

bundle

bundle exec rails webpacker:install