rails installation fails
I have installed sproutcore and along with it comes ruby 1.9.2
p-180 and gem 1.7.2 . So i tried to install rails with this
gem install rails --version 3.0.7
i get the following error.
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: rails requires actionmailer (= 3.0.7), railties (= 3.0.7), bundler (~> 1.0); activeresource requires activemodel (= 3.0.7);
activerecord requires activemodel (= 3.0.7), arel (~> 2.0.2),
tzinfo (~> 0.3.23)
; actionpack requires activemodel (= 3.0.7), builder (~> 2.1.2),
i18n (~> 0.5.0) , rack (~> 1.2.1), rack-test (~> 0.5.7),
rack-mount (~> 0.6.14), tzinfo (~> 0.3. 23), erubis (~>
2.6.6)
Can some one pls help me to resolve this issue.
Support Staff 2 Posted by Nick Quaranto on 12 Jun, 2011 05:05 PM
What RubyGems version, and what OS? If you could give us the output of
gem envthat would be awesome.3 Posted by rwallace_88 on 14 Jun, 2011 01:12 PM
Hi I'm getting a simliar problem:
D:\GE\Installs\Ruby>gem install rails
ERROR: While executing gem ... (Gem::DependencyError)
(= 2.2.3)
D:\GE\Installs\Ruby>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.5 - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i386-mingw32] - INSTALLATION DIRECTORY: D:/Ruby192/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: D:/Ruby192/bin/ruby.exe - EXECUTABLE DIRECTORY: D:/Ruby192/bin - RUBYGEMS PLATFORMS:
4 Posted by rwallace_88 on 14 Jun, 2011 01:23 PM
Additonal information:
OS Name: Microsoft Windows 7 Professional
OS Version: 6.1.7600 N/A Build 7600
rails-2.2.3.gem rubygems-1.8.5
Thanks
Support Staff 5 Posted by Luis Lavena on 19 Jun, 2011 04:10 PM
Hello,
Sorry for the delay on the answer. Seems to me that you're having issues retrieving the list of gems from rubygems.org
Can you please perform:
gem sources -cgem list railsand see it is not installed.Now, please execute the following command:
gem install rails --debug -V, please create a pastie or gist with the complete output and update this ticket with the link for us to look at.Thank you.
6 Posted by yuexia12 on 22 Apr, 2012 03:51 AM
I met the same problem, enclosed is output when I execute "gem install rails --debug -V"
Support Staff 7 Posted by Luis Lavena on 03 May, 2012 11:04 PM
@yuexia12
Seems that RubyGems is having problems looking up for the servers.
What are the list of remote sources when run
gem envat the command prompt?