I am new to ROR.
I Have ruby and instant rails installed in my system(I am using Windows). I have created an application 'railslist'
[command i used:- c:\development\ rails railslist ]
But when I tried to generate a controller
[ c:\development\ railslist\ruby script/generate controller App ] I got the following error
------------------------------------------------
Cannot find gem for Rails ~>1.2.3.0:
Install the missing gem with 'gem install -v=1.2.3 rails', or
change environment.rb to define RAILS_GEM_VERSI ON with your desired version.
-----------------------------------------------
Actually my gem version is 0.9.2 which i knew using the command 'gem -v'
and i tried 'gem install rails --include-dependencies' too and got another error as follows
-----------------------
ERROR: While executing gem ... (Gem::RemoteFet cher::FetchErro r)
Bad file descriptor - connect(2)(Errn o::EBADF)
----------------------
I dont know wht the problem could be...
Please help
I Have ruby and instant rails installed in my system(I am using Windows). I have created an application 'railslist'
[command i used:- c:\development\ rails railslist ]
But when I tried to generate a controller
[ c:\development\ railslist\ruby script/generate controller App ] I got the following error
------------------------------------------------
Cannot find gem for Rails ~>1.2.3.0:
Install the missing gem with 'gem install -v=1.2.3 rails', or
change environment.rb to define RAILS_GEM_VERSI ON with your desired version.
-----------------------------------------------
Actually my gem version is 0.9.2 which i knew using the command 'gem -v'
and i tried 'gem install rails --include-dependencies' too and got another error as follows
-----------------------
ERROR: While executing gem ... (Gem::RemoteFet cher::FetchErro r)
Bad file descriptor - connect(2)(Errn o::EBADF)
----------------------
I dont know wht the problem could be...
Please help