icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old April 4th, 2007, 12:22 PM   #1 (permalink)
Registered User
Seasoned Poster
 
orjan's Avatar
 
Joined in Feb 2007
Lives in Staffanstorp, just outside Malmo, Sweden
Hosted on SH112
46 posts
Gave thanks: 5
Thanked 5 times
Mephisto on shared host

Anyone got Mephisto up and running on a shared account? I followed Mat Harvard's guide [http://blog.matharvard.com/2006/11/1...lling-mephisto] but I still have some issues.

If I use the WEBrick server everything works ok. But I'd prefer to have Apache take care of everything.
Take a look at blog2.berglin.info to see what I mean.

I'd appreciate any help.
__________________

www.berglin.info - my personal web site
orjan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 4th, 2007, 3:54 PM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
Run the command "ruby --version". Mephisto requires Ruby version 1.8.4, which many shared don't have (for some unknown reason), and is the reason I haven't made the jump to it. I'm not sure what version of Ruby Surpass runs though.

You can grab an older revision of Mephisto that can run on older versions of Ruby, but it's a bit lacking to what is available in the newest release.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 5th, 2007, 12:34 AM   #3 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
rootsh112 [~]# ruby --version
ruby 1.8.5
__________________
Follow Surpass on Twitter and Facebook
And there's my own Twitter and LinkedIn



Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 5th, 2007, 3:42 AM   #4 (permalink)
Registered User
Seasoned Poster
 
orjan's Avatar
 
Joined in Feb 2007
Lives in Staffanstorp, just outside Malmo, Sweden
Hosted on SH112
46 posts
Gave thanks: 5
Thanked 5 times
The installation is not the problem, it's the configuration. If I start WEBrick with 'script/server -p 30000' (starting the WEBrick server at port 30000), then everything works fine at blog2.berglin.info:30000
The problem is that I don't want to have a WEBrick instance running, I'd prefer to have Apache serving up the site.

So, to sum it up:
- Mephisto + WEBrick port 30000: works OK.
- Mephisto + Apache: weird errors.

It's pretty obvious that there is some error in how I have set up Mephisto. I will continue to investigate this and, hopefully, come up with a solution. Until then, I appreciate your feedback.
__________________

www.berglin.info - my personal web site
orjan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 5th, 2007, 5:06 AM   #5 (permalink)
Registered User
Seasoned Poster
 
orjan's Avatar
 
Joined in Feb 2007
Lives in Staffanstorp, just outside Malmo, Sweden
Hosted on SH112
46 posts
Gave thanks: 5
Thanked 5 times
Problem solved!

I finally manged to get it working!
It was, in the end, a very simple fix that had nothing to do with web servers, Ruby or Mephisto.
When I installed Mephisto, I followed Mat Harvard's guide. The last step of the guide is to create a soft link from the public dir in mephisto to the web server.
According to the guide, it should be done in the following way:

ln -s /home/USERNAME/rails/mephisto/public /home/USERNAME/public_html/SUBDOMAIN

The correct way to create the soft link is to cd to public_html and create it:

cd ~/public_html
ln -s /home/USERNAME/rails/mephisto/public SUBDOMAIN


(I found this solution here)

When I find some time, I'll write a proper guide for Mephisto installation on Surpass. In the mean time, a combination of Mat's guide and this thread should get you going...
__________________

www.berglin.info - my personal web site
orjan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks orjan for this great post!
Kayla (April 5th, 2007)
Old April 5th, 2007, 5:12 AM   #6 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
Orjan, thanks very much! We would really enjoy seeing your contributions. Very nice of you.
__________________
Follow Surpass on Twitter and Facebook
And there's my own Twitter and LinkedIn



Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On