[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

installing rails

julian

3/25/2006 10:15:00 AM

I am completely new to ruby and to rails, but have brought a book Agile
Web Development with rails. I have sucessfully installed ruby, that
went fine. then decided to install rails, so went to cmd prompt on my
laptop and typed c:/ gem install rails --include dependancies
then pressed return. the first time i was not connected to the
internet, and it complained, but then I connected to the internet and
issued the same command again.
rails 1.0.0 installed sucessfully as did rake 0.7.0, activesupport
1.2.5, activerecord 1.13.2, actionpack 1.11.2, actionmailer 1.1.5 and
actionwebservice.1.0.0,
then it said installing RDoc documentation for rake-0.7.0...
installing RDoc documentation for
activesupport-1.2.5...
installing RDoc documentation for
activerecord-1.13.2...
installing RDoc documentation for
actionpack-1.11.2...
installing RDoc documentation for
actionmailer-1.1.5...
installing RDoc documentation for
actionwebservice-1.0.0...
Localgem file not found: dependancies*.gem
Attempting remote installation of 'dependancies'
ERROR: while executing gem ... <Gem::GemNotFoundException>
Could not find dependancies <> 0> in the respository

I wonder whats gone wrong, can anyone help me please, is it that the
connection to the server that failed or is it that something is corrupt
or missing on the server, or do i just need to do it again?
What does the error actually mean in plain language please
If anyone can help I would be very graitfull indeed



Julian in Reading Berkshire

17 Answers

anne001

3/25/2006 10:34:00 AM

0

I would try again -- no great cost there, right,
then you will know if it installs if you try again.

Then I would look at your system, --- you don't say what it is -- and I
would look for alternatives. When I installed rails there were various
ways of doing it. I looked into locomotive...

julian

3/25/2006 10:46:00 AM

0

>From julian
My operation system is windows XP Home with service pack 2 and it is
running on a fujitsu siemens amilo pro lap top.
It looks like it almost did everythink ok, it is just the the bit after
the Attempting remote installation of 'dependancies' when the error was
generated, straingely it does not specifically say which dependancies
it could not find.
What are the dependancies that it should find and install, are these
files that the ruby interpreter needs or files that rails needs? Sorry
if the questions are a bit basic but I am very new to this and do want
to learn, but it will I am sure take a while.
Julian

anne001

3/25/2006 11:19:00 AM

0

which version of gem do you h ave, is it the latest?

I found
http://allaboutruby.wordpress.com/2006/01/09/installing-rails-on-wi...
gem install rails --include-dependencies

(If this command gives you an error, you do not have the latest version
of gems installed. Run "gem -v", it should be 0.8.10. If it's an
earlier version, I recommend to reinstall the newest package - see
beginning of the tutorial).

julian

3/25/2006 12:04:00 PM

0

tar very much for your help and responce, I have ran gem -v and it
reports 0.8.10, I belive that is the lattest version of gem. Therefore
I will try the link that you suggest at the website
http://allaboutruby.wordpress.com/2006/01/09/installing-rails-on-wi...,
and will post up what happens,

Very much appreciate your time and help
julian

anne001

3/25/2006 12:21:00 PM

0

also check your spelling of dependencies. The site spelling seems
different from yours

julian

3/25/2006 12:50:00 PM

0

Ok.
I have had a look at the article mentioned above and I then opened up
my cmd window, and navigated into the ruby bin directory.
I think when i issued the command to install rails I spelt dependencies
with an a after depend
I also notice that in the article it says to type in
gem install rails --include-dependencies
in other words there is a - inbetween the word include and
dependencies
Anyway i do not know if it should be:
gem install rails --include dependencies or
gem include rails --include-dependencies

Anyway I have tried both and got this message:
Attempting local installation of 'rails'
ERROR:Error installing gem rails[.gem]: No metadata found!

I assume from this message that the gem program is trying to attempt
to install rails from a local source i.e. already on my hard disk
drive.!?

But I think that I need to get the files to install rails and it
dependancies from the web site, so
1. I don't know why I am getting this new error message
2. and I do not know why it is looking for metadata

mm. it is confussing I am afraid, but your help is very usefull and
helpful, and any further idears are v welcome indeed. ta Julian

julian

3/25/2006 1:00:00 PM

0

spelling dependencies incorrectly was a silly mistake on my part and I
believe that the correct spelling of the word is dependencies, and
having used the correct spelling and the line;
gem install rails --include dependencies
I am getting the error about
Attempting local installation of 'rails'
ERROR: Error installing gem rails[.gem]: No metadata found!
This is a diffrent error of course, but I do not know what is causing
it yet..../
hum.

anne001

3/25/2006 1:58:00 PM

0

How about rebooting and trying the beta version 0.8.11?

http://rubyforge.org/projects...
http://rubyforge.org/forum/forum.php?for...

anne001

3/25/2006 2:15:00 PM

0

also
http://docs.rubygems.org/r...

RubyGems is a system that aims to provide the following (it is still in
development):
A development framework that allows developers working on pure-Ruby
projects to packages those projects into a single file that contains
their source files as well as metadata describing the project. This
metadata includes the name for the project, the author's name, a
category, a version, a description, and even dependencies the project
has.
Also, locale metadata as in: lang=en, country=us, charset=us-ascii
[HoracioLopez vruz]

it would be install, include is for ruby programs I would think.

http://docs.rubygems.org/read/...
see if any of this might be your problem. Do you have several ruby
installed? On the
mac for example, Ruby comes pre installed.

how about this? could that help? says it is for windows
http://instantrails.rubyforge.org/wi...
how about this
http://blog.leetsoft.com/articles/2005/06/17/installing-rails...
http://home.leetsoft.com/dropbox/private-ru...
It is not up to date, apparently some directory has changed, but it
shows how
someone thinks it should work.

Curt Hibbs

3/25/2006 3:09:00 PM

0

You could just use Instant Rails:

http://instantrails.ruby...

Curt

On 3/25/06, anne001 <anne@wjh.harvard.edu> wrote:
> also
> http://docs.rubygems.org/r...
>
> RubyGems is a system that aims to provide the following (it is still in
> development):
> A development framework that allows developers working on pure-Ruby
> projects to packages those projects into a single file that contains
> their source files as well as metadata describing the project. This
> metadata includes the name for the project, the author's name, a
> category, a version, a description, and even dependencies the project
> has.
> Also, locale metadata as in: lang=en, country=us, charset=us-ascii
> [HoracioLopez vruz]
>
> it would be install, include is for ruby programs I would think.
>
> http://docs.rubygems.org/read/...
> see if any of this might be your problem. Do you have several ruby
> installed? On the
> mac for example, Ruby comes pre installed.
>
> how about this? could that help? says it is for windows
> http://instantrails.ruby...wiki/wiki.pl
> how about this
> http://blog.leetsoft.com/articles/2005/06/17/installing-rails...
> http://home.leetsoft.com/dropbox/private-ru...
> It is not up to date, apparently some directory has changed, but it
> shows how
> someone thinks it should work.
>
>
>