Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problems installing rails

Reply
Thread Tools

Problems installing rails

 
 
Jens Riedel
Guest
Posts: n/a
 
      11-18-2005
Hello,

I'm just trying to install the rails framework on my Windows XP system
and have some problems at the start:

According to the tutorial I open my command prompt and enter the following:

gem install rails --remote

The first columns I receive are o.k.:

---
D:\ruby>"d:\ruby\bin\ruby.exe" "d:\ruby\bin\gem" install rails --remote
Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
---

Then I would expect the question if I'd like to install the various
dependencies, but instead I get the following (after a long period of
waiting):

---
Successfully installed rails_analyzer_tools, version 1.1.0
Installing RDoc documentation for rails_analyzer_tools-1.1.0...
---

All new files I can find after this are rails_stat and rails_stat.cmd in
the ruby/bin directory.

Ruby itself seems to be installed correctly, I used the
one-click-installer and am working with Ruby since several months, all
scripts are working properly.

How can I install Rails correct?

Thanks for hints,
Jens
 
Reply With Quote
 
 
 
 
Sean O'Halpin
Guest
Posts: n/a
 
      11-18-2005
On 11/18/05, Jens Riedel <(E-Mail Removed)> wrote:
> Hello,
>
> I'm just trying to install the rails framework on my Windows XP system
> and have some problems at the start:
>
> According to the tutorial I open my command prompt and enter the followin=

g:
>
> gem install rails --remote


You need to tell gems explicitly to include the dependencies:

gem install rails --remote --include-dependencies

Regards,

Sean


 
Reply With Quote
 
 
 
 
Jens Riedel
Guest
Posts: n/a
 
      11-18-2005
Hi Sean,

Sean O'Halpin wrote:

> You need to tell gems explicitly to include the dependencies:
>
> gem install rails --remote --include-dependencies


That was my first try was (according to another tutorial)...

The result was:

D:\ruby>"d:\ruby\bin\ruby.exe" "d:\ruby\bin\gem" install rails --remote
--include-dependencies

ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

Now I just checked my gem version and it seems it was to old (0.8.3),
tutorial required 0.8.11 or higher.

Now installation works, many thanks!

Regards,
Jens


--
Der Kluegere gibt nach - Eine traurige Wahrheit:
sie begruendet die Weltherrschaft der Dummen.
- Marie von Ebner-Eschenbach

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question - Problems in installing rails ngabrani@gmail.com Ruby 1 11-24-2007 04:52 PM
Problems installing rails on OSX Roy Smith Ruby 2 11-23-2006 12:03 AM
Rails + Amrita, Rails + XTemplate? Greg McIntyre Ruby 2 04-28-2005 04:35 AM
Rails problem - Trying code in "Rolling with Rails on Ruby" article colotechpro@yahoo.com Ruby 6 03-17-2005 12:15 AM
rails: gem install rails is bombing J. D. Ruby 9 11-04-2004 06:05 PM



Advertisments