0

我正在尝试安装 Ruby on Rails。我的步骤是:

  1. sudo apt-get install curl
  2. \curl -L https://get.rvm.io | bash -s 稳定 --ruby
  3. sudo apt-get install nodejs
  4. 宝石等更新
  5. 宝石安装导轨

在第 5 步,我收到以下错误:

/home/winfo/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb 创建 Makefile

make "DESTDIR=" 编译 atomic_reference.c 链接共享对象 atomic_reference.so

make "DESTDIR=" install ./install -m 0755 atomic_reference.so ./.gem.20131018-11017-3d6vpu make: ./install: Kommando nicht gefunden (Command not found) make: * [install-so] Fehler 127 (错误 127)

有谁能够帮我?我是 Ubuntu 等的新手;)谢谢!

4

1 回答 1

0
  1. sudo apt-get 更新
  2. sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev
  3. sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev nodejs htop nmap
  4. gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  5. \curl -sSL https://get.rvm.io | bash -s 稳定
  6. 源 ~/.rvm/scripts/rvm
  7. rvm 安装 2.3.1
  8. rvm 使用 2.3.1 --default
  9. 红宝石-v
  10. 宝石安装导轨
于 2016-08-17T16:07:18.330 回答