我是新来的这个环境,我试图安装rails。我安装了红宝石,并使用rvm list
进行检查,我得到ruby-2.0.0-p0作为我的当前和默认值。我尝试安装红宝石在Ubuntu的gem install rails输出错误
gem install rails
得到错误后,安装导轨:
ERROR: Loading command :install (LoadError)
cannot load such file -- openssl
ERROR: while executing gem ... (NoMethodError)
undefined method `invoke_with_build_args` for nil:NilClass
你需要openssl ..看到这个链接http://railsapps.github.com/installing-rails.html – 2013-03-03 06:54:34
@NickGinanto我输入了'openssl version',并且我得到了'OpenSSL 1.0.1c 2012年5月10日' – hellomello 2013-03-03 07:01:30
你应该有openssl 1.0.1e的红宝石2.0和以上 – 2013-03-03 07:06:46