Curt Hibbs
2005-Mar-23 03:10 UTC
Rails won''t install on a fresh Windows XP system using One-Click Installer
I just created a ticket to report this, but I also wanted to post it here.
Curt
Ticket #909
Rails won''t install on a fresh Windows XP system using One-Click
Installer
Priority: normal Reporter: curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org
Severity: blocker Assigned to: David
Component: ActiveRecord Status: new
Version: 0.11.0 Resolution:
Milestone: Keywords:
Description by curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org:
A user of the ONLamp.com tutorial reported an error installing Rails on
Windows XP. I was able to reproduce this error on a clean Windows XP
installation by firs installing Ruby using the One-Click Installer 182-14,
and then running the command:
gem install rails
This fails (I posted the console log below). The workaround is to explicitly
install 0.10.1 using:
gem install rails -v 0.10.1
This still works just fine.
Here is the console log for the failure:
C:\Documents and Settings\hibbs_c>"c:\ruby\bin\ruby.exe"
"c:\ruby\bin\gem"
insta
ll rails
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency rake? [Yn]
Install required dependency activesupport? [Yn]
Install required dependency activerecord? [Yn]
Install required dependency actionpack? [Yn]
Install required dependency actionmailer? [Yn]
Install required dependency actionwebservice? [Yn]
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'': No
such file to load -- iconv (LoadError)
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `r
equire''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.0.2/lib/active_suppo
rt/dependencies.rb:197:in `require''
from
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-0.8.0/lib/action_mailer
/vendor/tmail/quoting.rb:1
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `r
equire__''
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `r
equire''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.0.2/lib/active_suppo
rt/dependencies.rb:197:in `require''
from
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-0.8.0/lib/action_mailer
/vendor/tmail/mail.rb:18
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `r
equire__''
... 20 levels...
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
`proce
ss_args''
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:63:in
`run''
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:9:in
`run''
from c:/ruby/bin/gem:11
C:\Documents and Settings\hibbs_c>
Rick Olson
2005-Mar-23 03:14 UTC
Re: Rails won''t install on a fresh Windows XP system using One-Click Installer
On Tue, 22 Mar 2005 21:10:35 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote:> I just created a ticket to report this, but I also wanted to post it here. > > Curt > > A user of the ONLamp.com tutorial reported an error installing Rails on > Windows XP. I was able to reproduce this error on a clean Windows XP > installation by firs installing Ruby using the One-Click Installer 182-14, > and then running the command:This has been posted about a lot today. Some have said you need the iconv.dll in your \windows\system32 or \ruby\bin directories. I made sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. I can''t say if I had the iconv.dll or not, I''m running off a stock install from that same one-click installer. -- rick http://techno-weenie.net
David Adams
2005-Mar-23 03:21 UTC
Re: Rails won''t install on a fresh Windows XP system using One-Click Installer
I had the same issue. You probably only need to install the latest rubygems to resolve it. On Tue, 22 Mar 2005 21:14:44 -0600, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, 22 Mar 2005 21:10:35 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote: > > I just created a ticket to report this, but I also wanted to post it here. > > > > Curt > > > > A user of the ONLamp.com tutorial reported an error installing Rails on > > Windows XP. I was able to reproduce this error on a clean Windows XP > > installation by firs installing Ruby using the One-Click Installer 182-14, > > and then running the command: > > This has been posted about a lot today. Some have said you need the > iconv.dll in your \windows\system32 or \ruby\bin directories. I made > sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. > I can''t say if I had the iconv.dll or not, I''m running off a stock > install from that same one-click installer. > > -- > rick > http://techno-weenie.net > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Curt Hibbs
2005-Mar-23 03:33 UTC
RE: Rails won''t install on a fresh Windows XP system usingOne-Click Installer
David Adams wrote:> > I had the same issue. You probably only need to install the latest > rubygems to resolve it.That would be good if that takes care of it, since I''m currently putting together the next release of the one-click installer that will iclude an updated RubyGems. I''ll do a manual test to see if this works. Thanks, Curt> On Tue, 22 Mar 2005 21:14:44 -0600, Rick Olson > <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On Tue, 22 Mar 2005 21:10:35 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote: > > > I just created a ticket to report this, but I also wanted to > post it here. > > > > > > Curt > > > > > > A user of the ONLamp.com tutorial reported an error > installing Rails on > > > Windows XP. I was able to reproduce this error on a clean Windows XP > > > installation by firs installing Ruby using the One-Click > Installer 182-14, > > > and then running the command: > > > > This has been posted about a lot today. Some have said you need the > > iconv.dll in your \windows\system32 or \ruby\bin directories. I made > > sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. > > I can''t say if I had the iconv.dll or not, I''m running off a stock > > install from that same one-click installer. > > > > -- > > rick > > http://techno-weenie.net > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005 >
Curt Hibbs
2005-Mar-23 03:48 UTC
RE: Rails won''t install on a fresh Windows XP systemusingOne-Click Installer
Curt Hibbs wrote:> > David Adams wrote: > > > > I had the same issue. You probably only need to install the latest > > rubygems to resolve it. > > That would be good if that takes care of it, since I''m currently putting > together the next release of the one-click installer that will iclude an > updated RubyGems. > > I''ll do a manual test to see if this works.Yes, updating RubyGems after installing ruby via the one-click installer did, indeed, fix the problem. Curt> > On Tue, 22 Mar 2005 21:14:44 -0600, Rick Olson > > <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Tue, 22 Mar 2005 21:10:35 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote: > > > > I just created a ticket to report this, but I also wanted to > > post it here. > > > > > > > > Curt > > > > > > > > A user of the ONLamp.com tutorial reported an error > > installing Rails on > > > > Windows XP. I was able to reproduce this error on a clean Windows XP > > > > installation by firs installing Ruby using the One-Click > > Installer 182-14, > > > > and then running the command: > > > > > > This has been posted about a lot today. Some have said you need the > > > iconv.dll in your \windows\system32 or \ruby\bin directories. I made > > > sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. > > > I can''t say if I had the iconv.dll or not, I''m running off a stock > > > install from that same one-click installer. > > > > > > -- > > > rick > > > http://techno-weenie.net > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005 > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005 >
Josh Knowles
2005-Mar-23 03:54 UTC
Re: Rails won''t install on a fresh Windows XP system usingOne-Click Installer
On Tue, 22 Mar 2005 21:33:37 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote:> That would be good if that takes care of it, since I''m currently putting > together the next release of the one-click installer that will iclude an > updated RubyGems.Do you plan on including Rails and SQLite in your new one-click installer?
Stanislav Freidin
2005-Mar-23 08:37 UTC
Re: Rails won''t install on a fresh Windows XP system using One-Click Installer
Rick Olson wrote:>iconv.dll in your \windows\system32 or \ruby\bin directories. I made >sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. > >That didn''t do it for me; I still had to manually copy iconv.dll and iconv.so . As far as I can tell, these files are not included in the rubygems 0.8.8 distribution.
Courtenay
2005-Mar-23 09:10 UTC
Re: Rails won''t install on a fresh Windows XP system using One-Click Installer
There is a wiki page up on this for future reference.. http://wiki.rubyonrails.com/rails/show/Rails+0.11+Upgrade+Problems On Wed, 23 Mar 2005 00:37:41 -0800, Stanislav Freidin <bugmaster-ihVZJaRskl1bRRN4PJnoQQ@public.gmane.org> wrote:> Rick Olson wrote: > > >iconv.dll in your \windows\system32 or \ruby\bin directories. I made > >sure my rubygems upgraded to 0.8.8 and rails upgraded without a hitch. > > > > > That didn''t do it for me; I still had to manually copy iconv.dll and > iconv.so . As far as I can tell, these files are not included in the > rubygems 0.8.8 distribution. > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Curt Hibbs
2005-Mar-23 12:09 UTC
RE: Rails won''t install on a fresh Windows XP systemusingOne-Click Installer
Josh Knowles wrote:> > On Tue, 22 Mar 2005 21:33:37 -0600, Curt Hibbs <curt-fk6st7iWb8MAvxtiuMwx3w@public.gmane.org> wrote: > > > That would be good if that takes care of it, since I''m currently putting > > together the next release of the one-click installer that will iclude an > > updated RubyGems. > > Do you plan on including Rails and SQLite in your new one-click installer?No, but I am putting together a One-Click Ruby Server that will include ruby, lighttpd, rails, and mysql (altough I will admit I''m having trouble finding time to work on it). Curt