Hi all, Somebody please advice me what should i do: I installed instant rails and i executed the command "*ruby script/server" *sucessfully for the first time the next time, when i tried to execute the same command, it gave me the error : "Cannot find Gem for rails =1.1.2: Install the missing Gem with ''Gem install -v=1.1.2 rails'' or change your Environment.rb to defined RAIL_GEM_VERSION with your desired version" the other problem is: when i execute ''Gem install -v=1.1.2 rails'' , it gives error message: "ERROR:While executing gem ... (Errno::EBADF) Bad File descripor - connect (2)" Waiting for reply and thanks in advance!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/7cf7a390/attachment.html
Hi again, please advice this as well if you have experienced the same problem. I tried to installed complete Ruby and Rails. First, I installed Ruby windows one click installer, then i installed MySQL , but when i tried installing Rails by issuing this command: *gem install rails --include-dependencies , *it gave me error like "ERROR:While executing gem ... (Errno::EBADF) Bad File descripor - connect (2)" Anybody to advice what should i do? and if you know the solution, please reply at earliest as i need it in hurry!!! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/e7b9728a/attachment.html
You''re trying to use a rails app that has been tied to a specific
version of Rails (1.1.2 in your case, when you have probably
installed 1.1.4). Simplest solution is to find the line calling out
that version in config/envrionment.rb and comment it out with a #.
- dan
--
Dan Kohn <mailto:dan@dankohn.com>
<http://www.dankohn.com/> <tel:+1-415-233-1000>
On Jul 23, 2006, at 11:58 AM, kaliem wrote:
> Hi all, Somebody please advice me what should i do:
>
> I installed instant rails and i executed the command "ruby script/
> server" sucessfully for the first time
>
> the next time, when i tried to execute the same command, it gave me
> the error : "Cannot find Gem for rails =1.1.2: Install the missing
> Gem with ''Gem install -v=1.1.2 rails'' or change your
Environment.rb
> to defined RAIL_GEM_VERSION with your desired version"
>
> the other problem is: when i execute ''Gem install -v=1.1.2
rails'' ,
> it gives error message: "ERROR:While executing gem ...
> (Errno::EBADF) Bad File descripor - connect (2)"
>
> Waiting for reply and thanks in advance!!!
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/79c4a420/attachment.html
On 7/23/06, kaliem <kaliem@gmail.com> wrote:> > Hi again, please advice this as well if you have experienced the same > problem. > > I tried to installed complete Ruby and Rails. First, I installed Ruby > windows one click installer, then i installed MySQL , but when i > tried installing Rails by issuing this command: *gem install rails > --include-dependencies , *it gave me error like "ERROR:While executing gem > ... (Errno::EBADF) Bad File descripor - connect (2)" > > Anybody to advice what should i do? and if you know the solution, please > reply at earliest as i need it in hurry!!! Thanks >This can happen if you are not connected to the internet. If you are connected but still get this then you might be behind a firewall/proxy-server. If so you need to tell the gem command the address and port of your proxy server. I don''t remember the option you need to use, you''ll have to look it up (or maybe someone else remembers). Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/87acce20/attachment.html