|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
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. |
|
|
|
|
|
#2 (permalink) |
|
after g, before i
Resident.
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. |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
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. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Seasoned Poster
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... ![]() |
|
|
|
| This user thanks orjan for this great post! | Kayla (April 5th, 2007) |