Oops, read through the thread and it doesn't look like there was a
succinct answer to your question.

The easy fix to your compilation problem of RubyInline on windows is:

1) comment out dependency "merb-action-args" in dependencies.rb. This
is the only dependency that uses ParseTree, RubyInline, ruby2ruby, etc

2) run thor merb:gem:install


The only thing to keep in mind is if you don't have action-args
installed, you wont be able to use arguments now on your controller
actions. For example this wouldnt work any longer:

class Articles < Application
  def show(id)
  end
end

You would need to use this:

class Articles < Application
  def show
    id = params[:id]
  end
end

So it would revert to the more "Railsy" way to use parameters.

Personally, as much as I think action-args is very cool as a tech
demo, I often keep it commented out since I don't really like having
this much magic behind the scenese of my controllers. Never had a
problem with just using params hash to get action inputs.





On Jan 25, 12:56 pm, Jacques Crocker <[email protected]> wrote:
> Hey Philip. Provided you have some RAM to spare, Vista + Ubuntu
> (running on vmware) makes a pretty good combo. I've had bad luck with
> cygwin in the past. Some people manage to get it working, but if
> you're going to deploy to a linux box, it makes a lot of sense to
> develop on the same environment as you deploy on.
>
> VMWare has gotten really good lately. I'd highly recommend
> virtualizing your dev environment.
>
> On Jan 25, 9:01 am, Phlip <[email protected]> wrote:
>
> > Ted Han wrote:
> > > you should be aware that you're in for a world of hurt, but if you're
> > > doing RoR dev in windows already, i presume you know that.
>
> > I'm already in such a world - they make us use Macs at work.
>
> > > IMO, the best thing to remember is that the full stack is OPTIONAL.
> > > If there are bits that you are uninterested in carrying around, you
> > > should mix your own stack and carry that around.
>
> > K. When borrowing someone's blog source, just re-tune dependencies.rb by 
> > hand. NP.
>
> > The only reason I use windows is when I installed Linux on my notebook, I 
> > could
> > not get VPN, Midi, or Sleep working. Even the earphone plug put up a fight!
> > (Rest assured this would be the 4th consecutive notebook I have Linucized. 
> > At
> > least the fan worked right!)
>
> > So if I stay with Vista (with the theme set to Win95), I can VPN to our 
> > servers
> > at work, and then use Linux thru CygWin's remote X.
>
> > Blogging up all these irritations would use up all the time I'm otherwise
> > devoting to researching.
>
> > However, if RubyInline required a compiler at runtime, and if someone 
> > downloaded
> > it into a virgin Windows box with the One Click Installer, wouldn't it 
> > break?
>
> > --
> >    Phlip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to