我只想在Windows 8环境下在VMWare内部运行的ubuntu 14.04 LTS 64位上安装Ruby-on-Rails。
我遵循以下步骤:
1. Install RVM multi-user
\curl -L https://get.rvm.io | sudo bash -s stable
adduser yourusername rvm
rvm requirements
install the requirements given
log out and back in
add source command to ~/.bash.rc
2. Install ruby and rails and others
rvm install 1.9.3
rvm rubygems current
gem install rails
sudo apt-get install nodejs
3. Does rails work?
cd ~
mkdir rails
cd rails
START DEVELOPING!
useful commands:
bundle install -- install the gems needed for this app
bundle exec rails server -- run the server!
sudo apt-get install nodejs
但是在第3步我得到以下内容:
mattnificent@UbuntuVMWare:~$ rvm requirements
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system.................
Error running 'requirements_debian_update_system ',
showing last 15 lines of /home/mattnificent/.rvm/log/1410125635/update_system.log
+ case "${TERM:-dumb}" in
+ case "$1" in
+ [[ -t 2 ]]
+ return 1
+ printf %b 'There has been error while updating '\''apt-get'\'', please give it some time and try again later.
For 404 errors check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
\n'
There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
+ return 100
Requirements installation failed with status: 100.
谁能告诉我到底是怎么回事?
ELI5。
感谢。