【问题标题】:Rails installation issue; Shows up in the list of gems but does not show version number导轨安装问题;显示在 gem 列表中,但不显示版本号
【发布时间】:2012-03-11 15:54:39
【问题描述】:

我一直在尝试使用 railstutorial.org 中提供的安装指南安装 Rails。

经过这个过程,当我输入rails -v时,会出现以下结果

The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails

但是当我输入gem list rails 时它显示:

` * 本地宝石 *

导轨 (3.0.1)`

我不明白这个问题。怎么解决?

【问题讨论】:

    标签: ruby-on-rails-3 installation gem


    【解决方案1】:

    尝试运行bundle exec rails -v

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-16
    • 2019-02-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多