Forum: Ruby on Rails Mac OSX

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
907ec6dca5e457aa1198c5144c15f595?d=identicon&s=25 Roger Knott (Guest)
on 2006-06-06 11:03
(Received via mailing list)
I havew installed Ruby and gems on Mac OSX but when i try ti install
Rails i get messages
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (ArgumentError)
syntax error on line 23, col 0: `<p>'

Can anyone advise as to reason ? I an using OS 10.4

Roger
B8d11b4c89cfc6e34d6c9fb121c9acac?d=identicon&s=25 Claus Guttesen (Guest)
on 2006-06-06 11:09
(Received via mailing list)
> I havew installed Ruby and gems on Mac OSX but when i try ti install Rails i
> get messages
> Local gem file not found: rails*.gem
> Attempting remote installation of 'rails'
> Updating Gem source index for: http://gems.rubyforge.org
> ERROR: While executing gem ... (ArgumentError)
> syntax error on line 23, col 0: `<p>'
>
> Can anyone advise as to reason ? I an using OS 10.4

Probably due to your PATH. I've written my own howto at
http://cguttesen.blogspot.com/2006/03/installing-r...

hth
Claus
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-06-07 14:50
(Received via mailing list)
Hey Roger, I was able to install the ruby and rails with success using
the
following:

http://hivelogic.com/articles/2005/12/01/ruby_rail...

Peace,

-Conrad
Ba4b0b302231bffb0f685bbef25db0d6?d=identicon&s=25 Bryan Liles (Guest)
on 2006-06-07 15:03
(Received via mailing list)
On Jun 6, 2006, at 4:59 AM, Roger Knott wrote:

> I havew installed Ruby and gems on Mac OSX but when i try ti
> install Rails i get messages
> Local gem file not found: rails*.gem
> Attempting remote installation of 'rails'
> Updating Gem source index for: http://gems.rubyforge.org
> ERROR: While executing gem ... (ArgumentError)
> syntax error on line 23, col 0: `<p>'
>
> Can anyone advise as to reason ? I an using OS 10.4

Its pretty screwy on Mac OS X 10.4, so I chose to use Locomotive:

http://locomotive.raaum.org/
30ee518e6fdc5b07e060775b5a542bdb?d=identicon&s=25 Jón Borgþórsson (jongretar)
on 2006-06-07 16:11
(Received via mailing list)
Is everyone really having troube with this????

Install Xcode Developer Tools 2.2

Install darwin ports from
http://darwinports.org/downloads/DarwinPorts-1.2.1-10.4.dmg.

Then type in the commands

sudo port selfupdate
sudo port install ruby
sudo port install rb-rubygems
sudo port install rb-rake
sudo gem install rails

Then I just have to create the file /Users/jgb/.profile and add the
line:
  export PATH=/opt/local/bin:$PATH

Set this up on 3 macs with the latest OS X without a problem.



On 6/7/06, Bryan Liles <bryan@osesm.com> wrote:
> ERROR: While executing gem ... (ArgumentError)
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>


--
Af72b502d277ea86637ba12c5056ec68?d=identicon&s=25 unknown (Guest)
on 2006-06-08 07:37
(Received via mailing list)
On 6/7/06, Jon Gretar Borgthorsson <jon.borgthorsson@gmail.com> wrote:
> sudo port selfupdate
> sudo port install ruby
> sudo port install rb-rubygems
> sudo port install rb-rake
> sudo gem install rails
>
> Then I just have to create the file /Users/jgb/.profile and add the line:
>   export PATH=/opt/local/bin:$PATH
>
> Set this up on 3 macs with the latest OS X without a problem.



you might want to install rake via gem rather than darwinports which is
still serving up version 0.4.15 - looks like a few things were fixed
since
then =)
    http://rake.rubyforge.org/files/CHANGES.html

james duncan davidson's article has some interesting
commentary/recommendations on which items to install via darwinports and
which via gem:
    http://duncandavidson.com/essay/2006/04/portsandbox
This topic is locked and can not be replied to.