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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060606/44cefda6/attachment.html
> 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.4Probably due to your PATH. I''ve written my own howto at http://cguttesen.blogspot.com/2006/03/installing-rails-and-friends-on-os-x.html hth Claus
Hey Roger, I was able to install the ruby and rails with success using the following: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Peace, -Conrad On 6/6/06, Roger Knott <R.P.Knott@lboro.ac.uk> 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 > > Roger > > _______________________________________________ > 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/20060606/54133a29/attachment-0001.html
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.4Its pretty screwy on Mac OS X 10.4, so I chose to use Locomotive: http://locomotive.raaum.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060607/b8ae421b/attachment.html
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:> > > > 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/ > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
On 6/7/06, Jon Gretar Borgthorsson <jon.borgthorsson@gmail.com> wrote:> > 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.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060608/d8608cbb/attachment.html