S
slaphost
Guest
Okay, here's what I've done to get Ruby on Rails going on my FC2 server with Plesk (not that that matters, plesk has nothing to do with it)
Followed these instructions verbatim
http://brainspl.at/pages/rails_stack
Minus the lighttpd, cuz I don't know how that would work with Apache Running.
Then I took into account the information from
http://ifakedit.com/log/2006/03/28/rails-on-fedora-plesk-fiasco/
Mainly in regards to fcgi
It's all quite simple now looking back at it... and restoring my server backup twice and 13 hours of work. But that's quicker than most of the other posters so hopefully all this will help others make it quicker and with fewer backup restores. I can't stress the Backup issue more!
So I was completely amazed to run a simple tuturial I found from
http://www.sitepoint.com/article/ruby-on-rails
to see Ruby / Rails working as it should. This is installed on the root of the system so it works on all domains, right now I only know that it requires SSH to run the commands so you'd have to do it for your users or give them SSH access.
I have not tested the MySQL component yet, I'll keep you posted and I am having trouble with SQLITE3. For such a simple and light program it's sure sticky to get going. I cannot do:
gem install sqlite
I get
"ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/sqlite-2.0.1 for inspection.
ruby extconf.rb install sqlite\nchecking for main() in -lsqlite... no
checking for sqlite.h... no
"
Followed these instructions verbatim
http://brainspl.at/pages/rails_stack
Minus the lighttpd, cuz I don't know how that would work with Apache Running.
Then I took into account the information from
http://ifakedit.com/log/2006/03/28/rails-on-fedora-plesk-fiasco/
Mainly in regards to fcgi
It's all quite simple now looking back at it... and restoring my server backup twice and 13 hours of work. But that's quicker than most of the other posters so hopefully all this will help others make it quicker and with fewer backup restores. I can't stress the Backup issue more!
So I was completely amazed to run a simple tuturial I found from
http://www.sitepoint.com/article/ruby-on-rails
to see Ruby / Rails working as it should. This is installed on the root of the system so it works on all domains, right now I only know that it requires SSH to run the commands so you'd have to do it for your users or give them SSH access.
I have not tested the MySQL component yet, I'll keep you posted and I am having trouble with SQLITE3. For such a simple and light program it's sure sticky to get going. I cannot do:
gem install sqlite
I get
"ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/sqlite-2.0.1 for inspection.
ruby extconf.rb install sqlite\nchecking for main() in -lsqlite... no
checking for sqlite.h... no
"