[Rails] Re: Stupid newbie question

2011-06-04 Thread Sta Canovist
Hello guys So, finally I make it work. For those that could experience same problem as me, I can tell how I did. I have a mac 10.5.8 Preinstalled was ruby 1.8.6 and rails version 1.something. Tried different ways but none worked (macports, rvm, locomotive etc). But on the ruby site there is a one

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 2, 5:58 pm, Hassan Schroeder hassan.schroe...@gmail.com wrote: Probably trivial to fix -- do you have all the XCode developer stuff on your system(s)? In any case... Well, I guess it was not so trivial. In short: I have been trying to run either through passenger or webrick.

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Martin Wawrusch
RVM to the rescue I guess: Go here: https://rvm.beginrescueend.com/ install it, then go to http://rubygems.org/ and install rubygems (might actually be installed with rvm, you need to check this). On Fri, Jun 3, 2011 at 9:21 AM, Sta Canovist stacanov...@gmail.com wrote: On Jun 2, 5:58

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 3, 6:25 pm, Martin Wawrusch mar...@wawrusch.com wrote: RVM to the rescue I guess: Go here:  https://rvm.beginrescueend.com/ install it, then go tohttp://rubygems.org/ and install rubygems (might actually be installed with rvm, you need to check this). Isnt there an easier way? I have

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Martin Wawrusch
It is ONE line copy and pasted into your shell and really the recommended way to use Ruby on the Mac. It does not get much simpler than this. On Fri, Jun 3, 2011 at 9:44 AM, Sta Canovist stacanov...@gmail.com wrote: On Jun 3, 6:25 pm, Martin Wawrusch mar...@wawrusch.com wrote: RVM to the

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Hassan Schroeder
On Fri, Jun 3, 2011 at 9:21 AM, Sta Canovist stacanov...@gmail.com wrote: Passengers fails. I can install it, after installing macports. But when I have to run the command for installing under apache then it fails. I have tried to find answers but with no success. Well, you certainly won't

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 3, 6:48 pm, Martin Wawrusch mar...@wawrusch.com wrote: It is ONE line copy and pasted into your shell and really the recommended way to use Ruby on the Mac. It does not get much simpler than this. Ok IN that case I will give it a try. Thanks. -- You received this message because you

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 3, 6:54 pm, Hassan Schroeder hassan.schroe...@gmail.com wrote: You seem to be mixing up commands between Rails 2.x and 3.x. Which do you have installed? Or more to the point, what is the app you're trying to run based on? Well If I type rails -v (I guess this is the right way?) then I

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Hassan Schroeder
On Fri, Jun 3, 2011 at 10:00 AM, Sta Canovist stacanov...@gmail.com wrote: Well If I type rails -v (I guess this is the right way?) then I see Rails 1.2.6 I believe you're doomed :-) Seriously, this has massive pain written all over it; 1.2.6 is ancient. If I were you, I'd find someone

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 3, 8:29 pm, Hassan Schroeder hassan.schroe...@gmail.com wrote: I believe you're doomed  :-) Seriously, this has massive pain written all over it; 1.2.6 is ancient. If I were you, I'd find someone who knows Rails, let her/him log into the test server you previously mentioned and clone

[Rails] Re: Stupid newbie question

2011-06-03 Thread gnarmis
Btw, the current, preferred way of getting pretty much all formulas is Homebrew http://mxcl.github.com/homebrew/. Clean, easy, simple. Also, I was gonna upvote the RVM recommendation until I realized...yeah... try: 1. install RVM and don't use

[Rails] Re: Stupid newbie question

2011-06-03 Thread gnarmis
Oh, also, here's a trip down memory lane: http://weblog.rubyonrails.org/2007/1/19/rails-1-2-rest-admiration-http-lovefest-and-utf-8-celebrations -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this discussion on the web visit

[Rails] Re: Stupid newbie question

2011-06-03 Thread gnarmis
After using RVM with ruby 1.8.6, try also doing gem installs with lower versions of the gems you're installing. If macports is giving u trouble, uninstall macportshttp://guide.macports.org/chunked/installing.macports.uninstalling.html. Install Homebrew http://mxcl.github.com/homebrew/. If

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Noel
There's probably going to be lots more pain related to any gems used in that app. All in all seems like about time that app get some serious love and get updated at least to Rails 2.3 Ruby 1.8.7 On Fri, Jun 3, 2011 at 11:49 AM, gnarmis g13si...@gmail.com wrote: After using RVM with ruby

Re: [Rails] Re: Stupid newbie question

2011-06-03 Thread Norm Scherer
On 06/03/2011 10:00 AM, Sta Canovist wrote: On Jun 3, 6:54 pm, Hassan Schroederhassan.schroe...@gmail.com wrote: You seem to be mixing up commands between Rails 2.x and 3.x. Which do you have installed? Or more to the point, what is the app you're trying to run based on? Well If I type rails

[Rails] Re: Stupid newbie question

2011-06-03 Thread Sta Canovist
On Jun 3, 9:19 pm, Norm Scherer normsche...@earthlink.net wrote: This tells you what rails is installed on your system (at least what is in your path).  The real question is what rails version the application is running with on the target system wherever that is.  You need to run 'rails -v' on

[Rails] Re: Stupid newbie question

2011-06-03 Thread gnarmis
Hmm, I wrote my replies assuming it was Rails 1.2.6. If your app's Gemfile has that info, it pretty much is Rails 3.0.3. In that case, try installing rvm, and then... rvm install 1.8.7 rvm install 1.8.6 Now you can experiment with both versions of ruby. To use a specific one, rvm use 1.8.7

[Rails] Re: Stupid newbie question

2011-06-02 Thread Frederick Cheung
On Jun 2, 11:53 am, Sta Canovist stacanov...@gmail.com wrote: Well, everytime I try then to type something in the browser. I try for example: localhost/product/1 localhost/product/show localhost/product/1/show localhost/product Well, all the time I can see the same error in the log:

[Rails] Re: Stupid newbie question

2011-06-02 Thread Tim Shaffer
On Thursday, June 2, 2011 6:53:09 AM UTC-4, Sta Canovist wrote: Right now Im thinking that the url-requests are managed by apache. And that apache doesnt understand that this is a ROR app? Is that the problem maybe??? And does anyone know how to make apache understand that that one is a

[Rails] Re: Stupid newbie question

2011-06-02 Thread Sta Canovist
Ok guys. Thank you all. I have been fighting with this for several days. And only while I was writing the first post I realized that, well, Apache need to know that one is a ror app sigh! SO most of you reccomend passenger. I hade a look at the doc. The I thought it would be better to just go

Re: [Rails] Re: Stupid newbie question

2011-06-02 Thread Hassan Schroeder
On Thu, Jun 2, 2011 at 8:47 AM, Sta Canovist stacanov...@gmail.com wrote: SO most of you reccomend passenger. In both case the same problem. Both say ERROR:  Error installing passenger: ERROR: Failed to build gem native extension. Probably trivial to fix -- do you have all the XCode