We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo apt-get install libffi-dev sudo apt-get update sudo apt-get install -y git-core curl zlib1g-dev build-essential \ libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 \ libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common
cd ~ git clone git://github.com/sstephenson/rbenv.git .rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL
rbenv install 2.2.0 rbenv global 2.2.0
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install rails -v 4.2.0 rbenv rehash # 导出 gem 中提供的系统命令
rails -v
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gem install rails -v 4.2.0 rbenv rehash # 导出 gem 中提供的系统命令
The text was updated successfully, but these errors were encountered: