Hi Good Morning,
I downloaded and installed the Instant Rails 1.7 from the website
onto my local windows xp machine in
C:\ruby\InstantRails-1.7-win\InstantRails
then I ran the following to update the version of RubyGems that comes
with InstantRails:
C:\InstantRails> gem update --system
I get the following error: (could someone help me where I am going
wrong)
thanks.
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require': no such file to load -- sources (LoadError) from C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:6
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:12
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:112:in
`manage_gems’
from
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/bin/gem.bat:6
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file
to load – sources (LoadError)
from
Hi, I’m not sure if this will help you, but there’s a file called
use_ruby.cmd that should be run from your console before you use
InstantRails for anything else. Have you done that?
make sure gems/sources-x-x directory exists
maybe edit rbconfig.rb ('s) that exist, point them to your directory
where you installed it.
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file
to load – sources (LoadError)
Hi Mohit/Roger
Thanks for your response
After I sent the message I just un-installed everything and am
redoing unzipping to a new dir C:/InstantRails-1.7-win.
then I am planning to run tests as you have mentioned.
will keep you posted on this forum regarding the progress.
Thanks again.
Ron.
Roger P. wrote:
make sure gems/sources-x-x directory exists
maybe edit rbconfig.rb ('s) that exist, point them to your directory
where you installed it.
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file
to load – sources (LoadError)
found gem sources-** in
C:\InstantRails-1.7-win\InstantRails\ruby\lib\ruby\gems\1.8\doc\rubygems-0.9.2\rdoc\classes\Gem
Ran the update
gem update --system
get the following error:
C:\InstantRails-1.7-win\InstantRails\rails_apps>gem update --system
Updating RubyGems…
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Bad file descriptor - connect(2)(Errno::EBADF)
Thanks.
Ron.
Ronald Dsouza wrote:
Hi Mohit/Roger
Thanks for your response
After I sent the message I just un-installed everything and am
redoing unzipping to a new dir C:/InstantRails-1.7-win.
then I am planning to run tests as you have mentioned.
will keep you posted on this forum regarding the progress.
Thanks again.
Ron.
Roger P. wrote:
make sure gems/sources-x-x directory exists
maybe edit rbconfig.rb ('s) that exist, point them to your directory
where you installed it.
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file
to load – sources (LoadError)
get the following error:
C:\InstantRails-1.7-win\InstantRails\rails_apps>gem update --system
Updating RubyGems…
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Bad file descriptor - connect(2)(Errno::EBADF)
Ron, I agree with the other post - try running it multiple time, seems
like an intermittent problem.
Hi thanks for responding,
I ran the command several times.
but no luck.
I still get the same error message.
Is there anything else that I need to do
Thanks again for your help.
Ron.
Mohit S. wrote:
Ronald Dsouza wrote:
Ran the update
gem update --system
get the following error:
C:\InstantRails-1.7-win\InstantRails\rails_apps>gem update --system
Updating RubyGems…
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Bad file descriptor - connect(2)(Errno::EBADF)
Ron, I agree with the other post - try running it multiple time, seems
like an intermittent problem.
I ran the following:
----------------- (1)
C:\InstantRails-1.7-win\InstantRails\ruby\bin>gem update -p
http://:80
ERROR: While executing gem … (NoMethodError)
undefined method `[]=’ for #Gem::ConfigFile:0x2bc92cc
------ (2)
tried the same by setting env var
c:…>set HTTP_PROXY=
c:,> gem update -http_proxy
get the same result.
Any kind of input is highly appreciated.
Thanks again
Ron.
Ronald Dsouza wrote:
Hi Mohit,
I am installing this at work place
on my local hard drive and use proxy to connect to internet.
http://wiki.rubyonrails.org/rails/pages/RailsOnWindows
This shows the commands related to installing from behind a proxy. It
seems that you should do:
If you need to use a proxy, add ’-p http://proxy:port’ to all gem
install commands. It seems that the proxy method you used might not
work on Windows.
run gem help
look for how to do gem help on commands
do that
look for gem help on install command
do that
run with backtrace and debug turned on
repost
Take care!
-Roger
Ronald Dsouza wrote:
Hello Again,
I ran the following:
----------------- (1)
C:\InstantRails-1.7-win\InstantRails\ruby\bin>gem update -p
http://:80
ERROR: While executing gem … (NoMethodError)
undefined method `[]=’ for #Gem::ConfigFile:0x2bc92cc
------ (2)
tried the same by setting env var
c:…>set HTTP_PROXY=
c:,> gem update -http_proxy
get the same result.
Any kind of input is highly appreciated.
Thanks again
Ron.
Ronald Dsouza wrote:
Hi Mohit,
I am installing this at work place
on my local hard drive and use proxy to connect to internet.