您好我是Ruby on Rails的新手,并尝试在我的机器上安装[Ububntu 12.04 LTS]。我成功安装了 Ruby 和 Gem 现在我在安装 Rails时遇到错误 这是我的版本 Ruby 和 Gem
Hi I am new to Ruby on Rails and trying to setup in my machine [Ububntu 12.04 LTS]. I successfully installed Ruby and Gem now I am getting error while installing Rails Here is my version of Ruby and Gem
$ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] $ gem -v 2.1.7现在当我尝试命令 $ sudo gem install rails 或 $ gem install rails
ERROR: Could not find a valid gem 'rails' (>= 0), here is why: Unable to download data from rubygems/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A (rubygems/latest_specs.4.8.gz)我查看了这个答案,并使用 $ sudo update-ca-certificates 更新了ca-certificate。 code>但它仍然不起作用?
I looked this answer and updated the ca-certificate using $ sudo update-ca-certificates but it is still not working?
帮我加入 RoR 我不知道下一步该怎么做,因为我已经采取了所有可能的措施。感谢您的进步。
Help me as I new to RoR I have no idea what to do next since I have applied all measures I could. Thank you in advanced.
编辑:建议我一种方法我可以解决这个问题,incase我找不到我会做的它使用RVM。
Suggest me a way I can solve this problem, incase I don't find one I will be doing it using RVM.
推荐答案有些软件包可能会丢失。试试这个。
Some packages may b missing. Try this.
rvm get head rvm requirements run rvm remove 1.9.3 rvm use 1.9.3 --install --default gem install rails更多推荐
安装rails`$ gem install rails`时出错
发布评论