I''m always get the message "Plugin not found: ["git://github.com/ aaronchi/jrails.git"]" when trying to install a rails plugin, even for SVN or GIT. After google search, some people suggest that replace "git://" with "http://" and add "/" at the end of the url. I tried and it still does not work. I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and it show the message "#<Errno::ENOENT: No such file or directory - /dev/ null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google search a lot and still not know how to fix. Please help! Thanks! -- 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.
On Mon, Nov 30, 2009 at 8:09 PM, hnghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m always get the message "Plugin not found: ["git://github.com/ > aaronchi/jrails.git"]" when trying to install a rails plugin, even for > SVN or GIT. After google search, some people suggest that replace > "git://" with "http://" and add "/" at the end of the url. I tried and > it still does not work. > > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google > search a lot and still not know how to fix. Please help! > > Thanks! >Hi, what''s the exact command you''re using to install the plugin? -Conrad> > -- > > 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.
Hi Conrad, Here is the command I used: ruby script/plugin install git://github.com/aaronchi/jrails.git I''m using windows XP to develop. Thanks! 2009/12/1 Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> On Mon, Nov 30, 2009 at 8:09 PM, hnghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> I''m always get the message "Plugin not found: ["git://github.com/ >> aaronchi/jrails.git <http://github.com/aaronchi/jrails.git>"]" when >> trying to install a rails plugin, even for >> SVN or GIT. After google search, some people suggest that replace >> "git://" with "http://" and add "/" at the end of the url. I tried and >> it still does not work. >> >> I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and >> it show the message "#<Errno::ENOENT: No such file or directory - /dev/ >> null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google >> search a lot and still not know how to fix. Please help! >> >> Thanks! >> > > Hi, what''s the exact command you''re using to install the plugin? > > -Conrad > > >> >> -- >> >> 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-/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.
That would explain it. /dev/null is a Unix feature. It''s possible the plugin install feature lost Windows support in 2.3.5 by hardcoding /dev/null. The vast majority of Rails developers are on Macs or Linux, so I can''t say I''m surprised. You might be able to work around it by adding an empty file at c:\\dev\null, though since I don''t develop on Windows, I can''t say for sure. Niels On Dec 1, 2009, at 5:03 AM, Hoang Nghiem wrote:> Hi Conrad, > > Here is the command I used: > > ruby script/plugin install git://github.com/aaronchi/jrails.git > > I''m using windows XP to develop. > > Thanks! > > 2009/12/1 Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > On Mon, Nov 30, 2009 at 8:09 PM, hnghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I''m always get the message "Plugin not found: ["git://github.com/ > aaronchi/jrails.git"]" when trying to install a rails plugin, even for > SVN or GIT. After google search, some people suggest that replace > "git://" with "http://" and add "/" at the end of the url. I tried and > it still does not work. > > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google > search a lot and still not know how to fix. Please help! > > Thanks! > > Hi, what''s the exact command you''re using to install the plugin? > > -Conrad > > > -- > > 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. > > > -- > > 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.
Thanks Niels, I created dump folder dev/null at C drive and the problem still occur. I found a way to work around to install plugin that just copy the plugin to the vendor folder. Any plugins that have the install hook code can be call through rake task. Thanks again! 2009/12/2 Niels Meersschaert <nmeersschaert-ee4meeAH724@public.gmane.org>> That would explain it. /dev/null is a Unix feature. It''s possible the > plugin install feature lost Windows support in 2.3.5 by hardcoding > /dev/null. The vast majority of Rails developers are on Macs or Linux, so I > can''t say I''m surprised. You might be able to work around it by adding an > empty file at c:\\dev\null, though since I don''t develop on Windows, I > can''t say for sure. > > Niels > > On Dec 1, 2009, at 5:03 AM, Hoang Nghiem wrote: > > Hi Conrad, > > Here is the command I used: > > ruby script/plugin install git://github.com/aaronchi/jrails.git > > I''m using windows XP to develop. > > Thanks! > > 2009/12/1 Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> On Mon, Nov 30, 2009 at 8:09 PM, hnghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >> >>> I''m always get the message "Plugin not found: ["git://github.com/ >>> aaronchi/jrails.git <http://github.com/aaronchi/jrails.git>"]" when >>> trying to install a rails plugin, even for >>> SVN or GIT. After google search, some people suggest that replace >>> "git://" with "http://" and add "/" at the end of the url. I tried and >>> it still does not work. >>> >>> I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and >>> it show the message "#<Errno::ENOENT: No such file or directory - /dev/ >>> null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google >>> search a lot and still not know how to fix. Please help! >>> >>> Thanks! >>> >> >> Hi, what''s the exact command you''re using to install the plugin? >> >> -Conrad >> >> >>> >>> -- >>> >>> 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-/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. > > > -- > 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.
Hoang, I would highly recommend filing a ticket against the plugin and I feel that it would be the best course of action. Thus, you can file a ticket at the following: http://github.com/aaronchi/jrails/issues Also, have you tried installing the Ruby gem? If not, I would give that a shot by doing the following: gem install jrails Good luck, -Conrad On Tue, Dec 1, 2009 at 8:38 PM, Hoang Nghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Thanks Niels, I created dump folder dev/null at C drive and the problem > still occur. I found a way to work around to install plugin that just copy > the plugin to the vendor folder. Any plugins that have the install hook code > can be call through rake task. > > Thanks again! > > 2009/12/2 Niels Meersschaert <nmeersschaert-ee4meeAH724@public.gmane.org> > > That would explain it. /dev/null is a Unix feature. It''s possible the >> plugin install feature lost Windows support in 2.3.5 by hardcoding >> /dev/null. The vast majority of Rails developers are on Macs or Linux, so I >> can''t say I''m surprised. You might be able to work around it by adding an >> empty file at c:\\dev\null, though since I don''t develop on Windows, I >> can''t say for sure. >> >> Niels >> >> On Dec 1, 2009, at 5:03 AM, Hoang Nghiem wrote: >> >> Hi Conrad, >> >> Here is the command I used: >> >> ruby script/plugin install git://github.com/aaronchi/jrails.git >> >> I''m using windows XP to develop. >> >> Thanks! >> >> 2009/12/1 Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> >>> On Mon, Nov 30, 2009 at 8:09 PM, hnghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >>> >>>> I''m always get the message "Plugin not found: ["git://github.com/ >>>> aaronchi/jrails.git <http://github.com/aaronchi/jrails.git>"]" when >>>> trying to install a rails plugin, even for >>>> SVN or GIT. After google search, some people suggest that replace >>>> "git://" with "http://" and add "/" at the end of the url. I tried and >>>> it still does not work. >>>> >>>> I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and >>>> it show the message "#<Errno::ENOENT: No such file or directory - /dev/ >>>> null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google >>>> search a lot and still not know how to fix. Please help! >>>> >>>> Thanks! >>>> >>> >>> Hi, what''s the exact command you''re using to install the plugin? >>> >>> -Conrad >>> >>> >>>> >>>> -- >>>> >>>> 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-/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. >> >> >> -- >> 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-/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.
On Nov 30, 11:09 pm, hnghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m always get the message "Plugin not found: ["git://github.com/ > aaronchi/jrails.git"]" when trying to install a rails plugin, even for > SVN or GIT. After google search, some people suggest that replace > "git://" with "http://" and add "/" at the end of the url. I tried and > it still does not work. > > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google > search a lot and still not know how to fix. Please help!The most likely culprit for this is silence_stream in ActiveSupport, which redirects a given stream to "nowhere" for the duration of its block. It appears that the platform check there isn''t correctly detecting that you''re on Windows. Can you post the value of RUBY_PLATFORM returned on your machine (just start up an irb or a script/console and type it in)? --Matt Jones -- 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.
Conrad, this issue appear for all the plugins not only for jrails! I can install the gem without any problems but the plugin. Matt, here is my environment in windows: About your application''s environment Ruby version 1.9.1 (i386-mingw32) RubyGems version 1.3.5 Rack version 1.0 Rails version 2.3.5 Active Record version 2.3.5 Active Resource version 2.3.5 Action Mailer version 2.3.5 Active Support version 2.3.5 Application root D:/Project-home/trial Environment development Database adapter mysql Database schema version 20091201083056 Thanks for the reply! 2009/12/2 Matt Jones <al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > On Nov 30, 11:09 pm, hnghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I''m always get the message "Plugin not found: ["git://github.com/ > > aaronchi/jrails.git"]" when trying to install a rails plugin, even for > > SVN or GIT. After google search, some people suggest that replace > > "git://" with "http://" and add "/" at the end of the url. I tried and > > it still does not work. > > > > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and > > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ > > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google > > search a lot and still not know how to fix. Please help! > > The most likely culprit for this is silence_stream in ActiveSupport, > which redirects a given stream to "nowhere" for the duration of its > block. It appears that the platform check there isn''t correctly > detecting that you''re on Windows. > > Can you post the value of RUBY_PLATFORM returned on your machine (just > start up an irb or a script/console and type it in)? > > --Matt Jones > > -- > > 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.
Also, here is the RUBY_PLATFORM value : i386-mingw32. I used the installer package from http://rubyinstaller.org/download.html to install the ruby 1.9.1. I notice that the old ruby 1.8.7 I used refer to i386-mswin32 and the ''mingw32'' look like does not detect that I''m on the Windows platform. 2009/12/3 Hoang Nghiem <hoangnghiem1711-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> Conrad, this issue appear for all the plugins not only for jrails! I can > install the gem without any problems but the plugin. > > Matt, here is my environment in windows: > > About your application''s environment > Ruby version 1.9.1 (i386-mingw32) > RubyGems version 1.3.5 > Rack version 1.0 > Rails version 2.3.5 > Active Record version 2.3.5 > Active Resource version 2.3.5 > Action Mailer version 2.3.5 > Active Support version 2.3.5 > Application root D:/Project-home/trial > Environment development > Database adapter mysql > Database schema version 20091201083056 > > Thanks for the reply! > > 2009/12/2 Matt Jones <al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > >> >> On Nov 30, 11:09 pm, hnghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > I''m always get the message "Plugin not found: ["git://github.com/ >> > aaronchi/jrails.git"]" when trying to install a rails plugin, even for >> > SVN or GIT. After google search, some people suggest that replace >> > "git://" with "http://" and add "/" at the end of the url. I tried and >> > it still does not work. >> > >> > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and >> > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ >> > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google >> > search a lot and still not know how to fix. Please help! >> >> The most likely culprit for this is silence_stream in ActiveSupport, >> which redirects a given stream to "nowhere" for the duration of its >> block. It appears that the platform check there isn''t correctly >> detecting that you''re on Windows. >> >> Can you post the value of RUBY_PLATFORM returned on your machine (just >> start up an irb or a script/console and type it in)? >> >> --Matt Jones >> >> -- >> >> 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.
On Dec 2, 10:47 pm, Hoang Nghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Also, here is the RUBY_PLATFORM value : i386-mingw32. I used the installer > package fromhttp://rubyinstaller.org/download.htmlto install the ruby > 1.9.1. I notice that the old ruby 1.8.7 I used refer to i386-mswin32 and the > ''mingw32'' look like does not detect that I''m on the Windows platform.MinGW is supposed to provide a "Unix-like" compatibility layer so that things (like there not being a file /dev/null) don''t cause problems on Windows. Looks like something''s not working on your setup - you may want to try the rubyinstaller mailing list. --Matt Jones -- 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.
Thanks Matt !!! 2009/12/3 Matt Jones <al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > On Dec 2, 10:47 pm, Hoang Nghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Also, here is the RUBY_PLATFORM value : i386-mingw32. I used the > installer > > package fromhttp://rubyinstaller.org/download.htmlto install the ruby > > 1.9.1. I notice that the old ruby 1.8.7 I used refer to i386-mswin32 and > the > > ''mingw32'' look like does not detect that I''m on the Windows platform. > > MinGW is supposed to provide a "Unix-like" compatibility layer so that > things (like there not being a file /dev/null) don''t cause problems on > Windows. Looks like something''s not working on your setup - you may > want to try the rubyinstaller mailing list. > > --Matt Jones > > -- > > 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.
OK...Fix is easy. Replace All occurences of /dev/null in all files in your ruby directory with C:\\NUL. ;-) On Dec 1, 3:09 pm, hnghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m always get the message "Plugin not found: ["git://github.com/ > aaronchi/jrails.git"]" when trying to install a rails plugin, even for > SVN or GIT. After google search, some people suggest that replace > "git://" with "http://" and add "/" at the end of the url. I tried and > it still does not work. > > I used the ruby 1.9.1-p243 and rails 2.3.5. I run in verbose mode and > it show the message "#<Errno::ENOENT: No such file or directory - /dev/ > null>". Does it an issue of ruby 1.9.1 in rails 2.3.5? I do google > search a lot and still not know how to fix. Please help! > > Thanks!-- 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.
Easy Fix: replace all occurences of /dev/null with c:\\NUL in all .rb file in your ruby directory ;-) On Dec 4, 12:02 pm, Hoang Nghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks Matt !!! > > 2009/12/3 Matt Jones <al2o...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >wit > > > On Dec 2, 10:47 pm, Hoang Nghiem <hoangnghiem1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Also, here is the RUBY_PLATFORM value : i386-mingw32. I used the > > installer > > > package fromhttp://rubyinstaller.org/download.htmltoinstall the ruby > > > 1.9.1. I notice that the old ruby 1.8.7 I used refer to i386-mswin32 and > > the > > > ''mingw32'' look like does not detect that I''m on the Windows platform. > > > MinGW is supposed to provide a "Unix-like" compatibility layer so that > > things (like there not being a file /dev/null) don''t cause problems on > > Windows. Looks like something''s not working on your setup - you may > > want to try the rubyinstaller mailing list. > > > --Matt Jones > > > -- > > > 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.