On Thu, 17 Jun 2010, mistergoomba wrote:
Ok, I'll try some of your suggestions, but let me break down my goal
here:
I decided to take on a project which requires some Ruby programming.
They use Merb on a Karmic Koala machine and a git repository. I've
always been a PHP guy, but I decided to try something new and I've
always heard a lot about Ruby, so why the hell not? I haven't had
problems with the vhosts files before on my Mac, but I agree, Linux is
always a winner ;}
All I really want to do is to pull and push code from the server to my
machine in order to work on the site. I know I have the right code,
however when I go to their site, the merb app launches. I noticed
there wasn't an index.html file, but the .htaccess was pointing to
some merb scripts.
When I first pulled the code, all I got was a blank screen instead of
the home page that I see on their live site. So, I figured I had to
configure something on my side to get it to work.
PS: I get this error when trying to install thin:
sudo gem install thin
Password:
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Successfully installed eventmachine-0.12.10
Successfully installed thin-1.2.7
2 gems installed
ERROR: While executing gem ... (SystemStackError)
stack level too deep
The SystemStackError is a (sadly) common error with YARD. This is gem
documentation, which you can safely even turn off, if you don't expect to
be looking at local rdoc/ri docs. The gem itself should have installed
properly, however.
Now that you have thin on the box, go into your merb root and type `merb
-a thin`, and see if that works. Post the traceback if not.
As someone else replied already, ruby is nothing like php. It requires a
little mindshift. Keep an open mind and don't think about things "like
they used to work in php", that will save you some trouble.
---
Michishige Kaito
BOFH excuse #252:
Our ISP is having {switching,routing,SMDS,frame relay} problems
--
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.