S
Sergey Sheypak
Hi, I've met strange problem using Ruby 1.8.6 on Windows 7 x64.
I've successfully installed Ruby + RoR 2.3.2 on Windows 7 x32, but
failed with x64.
Please, see the result:
C:\Users\Admin>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\Users\Admin>gem install rails --debug --no-http-proxy --remote
--version 2.3.
2
Exception `Errno::ENOENT' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file
rb:51 - No such file or directory - C:\Users\Admin/.gemrc
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::BuildCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CertCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CheckCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ContentsCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ependencyCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::EnvironmentCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::HelpCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ristineCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::QueryCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ListCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::RdocCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SearchCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SourcesCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UninstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UnpackCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CleanupCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UpdateCommand
Exception `NoMethodError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:
258 - undefined method `[]=' for #<Gem::ConfigFile:0x4756c74>
ERROR: While executing gem ... (NoMethodError)
undefined method `[]=' for #<Gem::ConfigFile:0x4756c74>
C:\Users\Admin>gem install rails --debug --version 2.3.2
Exception `Errno::ENOENT' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file
rb:51 - No such file or directory - C:\Users\Admin/.gemrc
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::BuildCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CertCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CheckCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ContentsCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ependencyCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::EnvironmentCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::HelpCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ristineCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::QueryCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ListCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::RdocCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SearchCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SourcesCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UninstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UnpackCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CleanupCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UpdateCommand
Exception `Gem::RemoteSourceException' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygem
s/remote_fetcher.rb:72 - HTTP Response 302
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302
I've never met such problem, I really don't have .gemrc, I've tried to
create and place it at c:/Users/MyProfile:
gemhome: D:/ruby/lib/ruby/gems/1.8/gems/
gempath:
- D:/ruby/lib/ruby/gems/1.8/gems/
but it really doesn't help.
What can I try next?
I've successfully installed Ruby + RoR 2.3.2 on Windows 7 x32, but
failed with x64.
Please, see the result:
C:\Users\Admin>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\Users\Admin>gem install rails --debug --no-http-proxy --remote
--version 2.3.
2
Exception `Errno::ENOENT' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file
rb:51 - No such file or directory - C:\Users\Admin/.gemrc
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::BuildCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CertCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CheckCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ContentsCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ependencyCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::EnvironmentCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::HelpCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ristineCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::QueryCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ListCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::RdocCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SearchCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SourcesCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UninstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UnpackCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CleanupCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UpdateCommand
Exception `NoMethodError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:
258 - undefined method `[]=' for #<Gem::ConfigFile:0x4756c74>
ERROR: While executing gem ... (NoMethodError)
undefined method `[]=' for #<Gem::ConfigFile:0x4756c74>
C:\Users\Admin>gem install rails --debug --version 2.3.2
Exception `Errno::ENOENT' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file
rb:51 - No such file or directory - C:\Users\Admin/.gemrc
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::BuildCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CertCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CheckCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ContentsCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ependencyCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::EnvironmentCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::HelpCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands:ristineCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::QueryCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::ListCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::RdocCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SearchCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SourcesCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UninstallCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UnpackCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::CleanupCommand
Exception `NameError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:145 - uninitialized constant Gem::Commands::UpdateCommand
Exception `Gem::RemoteSourceException' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygem
s/remote_fetcher.rb:72 - HTTP Response 302
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302
I've never met such problem, I really don't have .gemrc, I've tried to
create and place it at c:/Users/MyProfile:
gemhome: D:/ruby/lib/ruby/gems/1.8/gems/
gempath:
- D:/ruby/lib/ruby/gems/1.8/gems/
but it really doesn't help.
What can I try next?