大家好,我正在尝试运行我的第一个ror应用程序,得到以下错误:
C:\Sites\myapp>rails server
Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on thi
s machine.
Run `bundle install` to install missing gems.所以我写道:
C:\Sites\myapp>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/rake-
10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.最后:
C:\Sites\myapp>gem install rake -v '10.4.2'
ERROR: While executing gem ... (Encoding::UndefinedConversionError)
U+041D to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437如你所见,我使用的是windows.Windows 8 32位。
我找到了这个答案:enter link description here
还有别的办法吗?
发布于 2015-06-28 23:39:16
使用: 1.rubyinstaller-1.9.3-p551.exe代替rubyinstaller-2.1.6.exe或..
2.默认目录C:\Ruby193\
我刚刚在win-7 32位解决了这个问题。
https://stackoverflow.com/questions/27650142
复制相似问题