#Actualizar ruby en ubuntu:
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
url -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.2.3
rvm use 2.2.3 --default
ruby -v
#Actualizar ruby en ubuntu:
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
url -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.2.3
rvm use 2.2.3 --default
ruby -v
class Empleado extends React.Component { | |
render () { | |
return ( | |
<li> | |
{this.props.nombre} - {this.props.email} | |
</li> | |
); | |
} | |
} |