Hi, when running - ''ruby setup.rb'' I get the following error message: C:\rubygems-1.3.7>ruby setup.rb C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in installed_spec_directories'': undefined method `path'' for Gem:Module (NoMethodError) Ruby version is ruby-1.9.2-p0. Any idea ? Thanks. Dani -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Dani Dani
2010-Sep-06 21:45 UTC
Re: undefined method `path'' for Gem:Module (NoMethodError)
Any help on this ? Dani -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-06 22:42 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
more info please On Mon, Sep 6, 2010 at 5:45 PM, Dani Dani <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Any help on this ? > Dani > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Dani Dani
2010-Sep-08 22:17 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
Thank you all. UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows. The following links has helped: http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-windows/ and http://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-install-on.html with the combination of the two I did it !. BUT, I will also try the next to install also on linux (ubuntu). I just don''t understand why it should be that difficult to install rails. I hope this one will help all windows users. Dani -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
durumdara
2010-Sep-21 12:23 UTC
Re: undefined method `path'' for Gem:Module (NoMethodError)
Hi! This don''t help me.> UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows. > The following links has helped:http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-wi... > andhttp://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-instal...I also tried to install Rails on Win2k3. But every gem operation drop this kind of error: C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in `installed_sp ec_directories'': undefined method `path'' for Gem:Module (NoMethodError) from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ source_index.rb:58:in `from_installed_gems'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in `source_inde x'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ gem_path_searcher.rb:8 1:in `init_gemspecs'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ gem_path_searcher.rb:1 3:in `initialize'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in `new'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in `block in se archer'' from <internal:prelude>:10:in `synchronize'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in `searcher'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:479:in `find_files'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in `load_plugin s'' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:1139:in `<top (requ ired)>'' from <internal:lib/rubygems/custom_require>:29:in `require'' from <internal:lib/rubygems/custom_require>:29:in `require'' from C:/Ruby192/bin/gem:8:in `<main>'' What I can do to install rail? The gem installable with only this: set RUBYOPTruby --disable-gems setup.rb But I don''t know how to install the rails. This is very disturbing thing. I want to use only RedMine, it needs Rail... :-( What is the magic you did you can install it? Thanks: dd -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-21 14:50 UTC
Re: Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
is not that rails is hard to install , is that rails moves fast, it does not have the constrains we are used to with other frameworks, rails is open source, gems are free and is easy to learn , so rails changes fast, if you read a book or a tutorial today it may not be useful in a month. Other technologies are sedentary because they take much more time to learn , expensive , proprietary and to get advice you have to pay an "expert". Since everything windows related is sedentary so windows is not ideal for rails. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2010-Sep-21 14:54 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
On 21 September 2010 13:23, durumdara <durumdara-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi! > > This don''t help me. > >> UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows. >> The following links has helped:http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-wi... >> andhttp://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-instal... > > I also tried to install Rails on Win2k3. > But every gem operation drop this kind of error: > > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:inYou must have ruby 1.9.2, this looks like 1.9.1, or is it just a strangely named dir? Use ruby -v to find out. Colin> `installed_sp > ec_directories'': undefined method `path'' for Gem:Module > (NoMethodError) > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ > source_index.rb:58:in > `from_installed_gems'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in > `source_inde > x'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ > gem_path_searcher.rb:8 > 1:in `init_gemspecs'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ > gem_path_searcher.rb:1 > 3:in `initialize'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in > `new'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in > `block in se > archer'' > from <internal:prelude>:10:in `synchronize'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in > `searcher'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:479:in > `find_files'' > > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in > `load_plugin > s'' > from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:1139:in > `<top (requ > ired)>'' > from <internal:lib/rubygems/custom_require>:29:in `require'' > from <internal:lib/rubygems/custom_require>:29:in `require'' > from C:/Ruby192/bin/gem:8:in `<main>'' > > What I can do to install rail? > > The gem installable with only this: > > set RUBYOPT> ruby --disable-gems setup.rb > > > But I don''t know how to install the rails. > > This is very disturbing thing. I want to use only RedMine, it needs > Rail... :-( > > What is the magic you did you can install it? > > Thanks: > dd > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-21 15:57 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
@Colin Law its weird but thats the correct name of the dir On Tue, Sep 21, 2010 at 10:54 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: On 21 September 2010 13:23, durumdara <durumdara-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi! > > > > This don''t help me. > > > >> UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows. > >> The following links has helped: > http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-wi... > >> andhttp:// > johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-instal... > > > > I also tried to install Rails on Win2k3. > > But every gem operation drop this kind of error: > > > > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in > > You must have ruby 1.9.2, this looks like 1.9.1, or is it just a > strangely named dir? Use > ruby -v > to find out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Dani Dani
2010-Sep-22 08:43 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
Hi dd, As I have mentioned above, do what the following link instructs to do: http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-windows/ it worked for me. if the above link does not help, try the following link: http://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-install-on.html Hope this helps. Regards, Dani -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
durumdara
2010-Sep-22 11:48 UTC
Re: undefined method `path'' for Gem:Module (NoMethodError)
Hi! I tried to check the dirs, but this is the real name! C:\Ruby192\bin>ruby -v ruby 1.9.2p0 (2010-08-18) [i386-mingw32] But the directories are "191". :-( May I can install rail/gem on older versions of ruby? Thanks: dd On szept. 21, 16:54, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 21 September 2010 13:23, durumdara <durumd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi! > > > This don''t help me. > > >> UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows. > >> The following links has helped:http://accidentaltechnologist.com/ruby-on-rails/running-rails-3-on-wi... > >> andhttp://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-instal... > > > I also tried to install Rails on Win2k3. > > But every gem operation drop this kind of error: > > > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in > > You must have ruby 1.9.2, this looks like 1.9.1, or is it just a > strangely named dir? Use > ruby -v > to find out. > > Colin > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
durumdara
2010-Sep-22 12:17 UTC
Re: undefined method `path'' for Gem:Module (NoMethodError)
Hi! I tried to install previous versions of ruby, and gem. Gem installed. But after I got this: C:\Ruby187\bin>gem install rails Successfully installed activesupport-3.0.0 Successfully installed builder-2.1.2 Successfully installed i18n-0.4.1 Successfully installed activemodel-3.0.0 Successfully installed rack-1.2.1 Successfully installed rack-test-0.5.4 Successfully installed rack-mount-0.6.13 Successfully installed tzinfo-0.3.23 Successfully installed abstract-1.0.0 Successfully installed erubis-2.6.6 Successfully installed actionpack-3.0.0 Successfully installed arel-1.0.1 Successfully installed activerecord-3.0.0 Successfully installed activeresource-3.0.0 Successfully installed mime-types-1.16 Successfully installed polyglot-0.3.1 Successfully installed treetop-1.4.8 Successfully installed mail-2.2.6.1 Successfully installed actionmailer-3.0.0 Successfully installed rake-0.8.7 Successfully installed thor-0.14.1 Successfully installed railties-3.0.0 Successfully installed bundler-1.0.0 Successfully installed rails-3.0.0 24 gems installed Installing ri documentation for activesupport-3.0.0... Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->" ... RDOC args: --ri --op C:/Ruby187/lib/ruby/gems/1.8/doc/ builder-2.1.2/ri --tit le Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/ builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation (continuing with the rest of the installation) Installing ri documentation for i18n-0.4.1... Installing ri documentation for activemodel-3.0.0... Installing ri documentation for rack-1.2.1... Installing ri documentation for rack-test-0.5.4... Installing ri documentation for rack-mount-0.6.13... Installing ri documentation for tzinfo-0.3.23... Installing ri documentation for abstract-1.0.0... Installing ri documentation for erubis-2.6.6... Installing ri documentation for actionpack-3.0.0... Installing ri documentation for arel-1.0.1... Installing ri documentation for activerecord-3.0.0... ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - ./</cdesc-<.yaml C:\Ruby187\bin> Hmmmm... I cannot go out from this hell... dd -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-22 12:31 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
thats the documentation, it should stop you from doing anything -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-22 12:31 UTC
Re: Re: undefined method `path'' for Gem:Module (NoMethodError)
sorry On Wed, Sep 22, 2010 at 8:31 AM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> thats the documentation, it should not stop you from doing anything >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
durumdara
2010-Sep-23 06:41 UTC
Re: undefined method `path'' for Gem:Module (NoMethodError)
Hi! I solved the problem. But very hard to install redmine to Windows. First: the ruby must be 1.8.7 Next: the gem is in installer is the only gem what usable for it. And: the rails must be a specific version. And: because of Windows, all of the gem installations (for example: mongrel) needs to define platform, because there is no make in Windows. And: use mysql than pgsql. Thanks for your help: dd On szept. 22, 14:17, durumdara <durumd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi! > > I tried to install previous versions of ruby, and gem. > Gem installed. But after I got this: > > C:\Ruby187\bin>gem install rails > Successfully installed activesupport-3.0.0 > Successfully installed builder-2.1.2 > Successfully installed i18n-0.4.1 > Successfully installed activemodel-3.0.0 > Successfully installed rack-1.2.1 > Successfully installed rack-test-0.5.4 > Successfully installed rack-mount-0.6.13 > Successfully installed tzinfo-0.3.23 > Successfully installed abstract-1.0.0 > Successfully installed erubis-2.6.6 > Successfully installed actionpack-3.0.0 > Successfully installed arel-1.0.1 > Successfully installed activerecord-3.0.0 > Successfully installed activeresource-3.0.0 > Successfully installed mime-types-1.16 > Successfully installed polyglot-0.3.1 > Successfully installed treetop-1.4.8 > Successfully installed mail-2.2.6.1 > Successfully installed actionmailer-3.0.0 > Successfully installed rake-0.8.7 > Successfully installed thor-0.14.1 > Successfully installed railties-3.0.0 > Successfully installed bundler-1.0.0 > Successfully installed rails-3.0.0 > 24 gems installed > Installing ri documentation for activesupport-3.0.0... > Installing ri documentation for builder-2.1.2... > ERROR: While generating documentation for builder-2.1.2 > ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->" > ... RDOC args: --ri --op C:/Ruby187/lib/ruby/gems/1.8/doc/ > builder-2.1.2/ri --tit > le Builder -- Easy XML Building --main README --line-numbers --quiet > lib CHANGES > Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/ > builder-2.0.0.rdoc > doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation > (continuing with the rest of the installation) > Installing ri documentation for i18n-0.4.1... > Installing ri documentation for activemodel-3.0.0... > Installing ri documentation for rack-1.2.1... > Installing ri documentation for rack-test-0.5.4... > Installing ri documentation for rack-mount-0.6.13... > Installing ri documentation for tzinfo-0.3.23... > Installing ri documentation for abstract-1.0.0... > Installing ri documentation for erubis-2.6.6... > Installing ri documentation for actionpack-3.0.0... > Installing ri documentation for arel-1.0.1... > Installing ri documentation for activerecord-3.0.0... > ERROR: While executing gem ... (Errno::EINVAL) > Invalid argument - ./</cdesc-<.yaml > > C:\Ruby187\bin> > > Hmmmm... I cannot go out from this hell... > > dd-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.