|
#76
|
|||
|
|||
|
I went through the same steps and I could not run rails application.
I hope that anyone can help us. Thanks Quote:
|
|
#77
|
||||
|
||||
|
Probably not, do you have more information or an error.... and you followed the change from fcgi to cgi
|
|
#78
|
|||
|
|||
|
Quote:
I did not change it from fcgi to cgi because that line already cgi. Right? Thanks |
|
#79
|
||||
|
||||
|
Ok, yes it should be .cgi
|
|
#80
|
||||
|
||||
|
Have people tried the new RoR functionality in cPanel 11 (at least on the release tree)?
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#81
|
|||
|
|||
|
No sir, I did not because I can not see any RoR related functionality in my panel. Could you please give us more details?
|
|
#82
|
|||
|
|||
|
Quote:
thanks |
|
#83
|
||||
|
||||
|
Quote:
-Matt
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#84
|
|||
|
|||
|
I am on shared hosting just to try the quality of RoR hosting on hostgator.
I have Cpanel X. I do not have cpanel 11/10 What should I do to get this RoR in my panel? Thanks |
|
#85
|
||||
|
||||
|
Wait until HG upgrades the rest of the boxes to cPanel 11. You (like most HG customers) have 10 right now. I'm on a dedicated, so I was able to upgrade myself. But it is coming!
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#86
|
|||
|
|||
|
I have one problem .... I make the demoapp and works with a lot of research and painfull time wasted ...but is ok ....but when I want to do a migration i mean (rake migrate) appear the problem ...
one of the migrate files is: class Authors < ActiveRecord::Migration def self.up create_table :authors, ptions => 'engine=MyISAM' do |table|table.column :id, :integer, :null =>false table.column :name, :string end end def self.down drop_table :authors end end and throw the follow: [ ~/demoapp/db/migrate]$ rake migrate (in /home/foward/demoapp) == Authors: migrating ================================================== ======= -- create_table(:authors, { ptions=>"engine=MyISAM"})rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corres ponds to your MySQL server version for the right syntax to use near '(11), `name ` varchar(255) DEFAULT NULL) engine=MyISAM' at line 1: CREATE TABLE authors (`id ` int(11) DEFAULT NULL auto_increment PRIMARY KEY(11), `name` varchar(255) DEFAU LT NULL) engine=MyISAM (See full trace by running task with --trace) any idea? ..please ....thanks BR Pancho |
|
#87
|
|||
|
|||
|
Rails 2.0 has been officially released!
Before I plunge in straight away, does anyone know if/when HostGator servers will be updated to the new version? |
|
#88
|
|||
|
|||
|
No idea, I've been asking for the 1.2.5 since it was released and no changes were made, they told me untill the release is stable, also we need fcgi thnak you
|
|
#89
|
|||
|
|||
|
I have reseller account and i cant rollup my customers sites. Because i already have a ssh accessable domain and i must pay 10$ for ssh access for each domain that i have to setup rails. this is insane. I payed for a year and i have to pay extra fees for crappy cgi access. i'm looking for a hosting company with real rails support.
Last edited by akkudu; 12-11-2007 at 04:52 AM. Reason: typo |
|
#90
|
|||
|
|||
|
Quote:
|
|
#91
|
||||
|
||||
|
I believe he means, paying extra YET he still has crappy cgi access and not fcgi.... even if its the shell he's paying for
|
|
#92
|
|||
|
|||
|
I worked with RoR for about a year and thought I would throw my two cents in. RoR is definitely interesting but the main issue is IMPLEMENTATION. It is a resource hog and for what purpose? It does the same thing that can be done with PHP or any other existing web technology. It is like a better mouse trap, it works good, but the old one is fine too.
RoR gives programmers a new way to do old things they are bored doing. RoR forces discipline in programming. That can be done with PHP using Code Igniter which uses the MVC architecture. I have experienced a great RoR website that I couldn't implement online without one headache after another and I finally said, "What the hell am I doing?" In short, RoR is very nice, is here to stay but it isn't quite soup yet in the marketplace. With real estate it is location - with the web it is IMPLEMENTATION. And THAT is where RoR falls short.
|
|
#93
|
|||
|
|||
|
table.column :id, :integer, :null =>false
table.column :name, :string end _____ id is made ... automatically. you actually have to turn it off, or you get it. remove the line: table.column :id, :integer, :null =>false |
|
#94
|
|||
|
|||
|
you can do with ruby that you can so with php. you can even call php stuff.
the php has better documentation. ruby is catching up, there there are a lot of pod casts. |
|
#95
|
|||
|
|||
|
Quote:
i would wait another 30-60 days, for a maintenance release. there is still a lot of issues being worked out. maybe they can have a button to update a site as an option. the gems have to be sure they still work, and i get a lot of depreciated stuff. just freeze rails to an older version, so you are in sync... or go for the bleeding edge. lol. ack. |
|
#96
|
|||
|
|||
|
Quote:
I followed the first 4 steps as described in the 1st post in this thread (I did not need to do step 5 as it was already complete). I then overwrote my local files (whole app directory, the whole public directory EXCEPT .htaccess, the db directory, database.yml and routes.rb in config directory) Before moving the index.html page in /home/cpanelaccountname/rails_proj/public/index.html I can see basic rails home page. However, upon moving it I get "Rails application failed to start properly" . I also get the same error when trying to access any of my views. It seems as if my controllers are not being accessed. I check the basic cPanel logs and get two diff errors: 1. error: directory is writable by others: (/home/cpanelusername/project/public) 2. Premature end of script headers: /home/cpanelusername/public_html/project/dispatch.cgi Not sure if these error have anything to do with my application not working. Anyone know why I can get my routes.rb file to work? |
|
#97
|
|||
|
|||
|
I've the same problem as cnova01. When I run dispatch.fcgi I get the following errors:
Code:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- fcgi (MissingSourceFile)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
from ./dispatch.fcgi:22
-- The problem is now fixed with thanks to the support desk. There where some issues with the right permissions of folders. If you have the same problem chmod the folders stylesheets en javascripts to 755 Last edited by pietertje; 12-29-2007 at 02:53 AM. Reason: problem fixed |
|
#98
|
|||
|
|||
|
Hi guys
This is my first post, I follow all steps, and I find this : http://rx8.websitewelcome.com/~nosaltre/hgtest/test It's like test doesn't exist... any idea? Thanks lot for your time. Mk Pd: i tried to put in development mode to see errors, but nothing... :$ |
|
#99
|
|||
|
|||
|
I followed the instructions in the original post step by step. I get the Welcome Aboard page. But if I click "about your application's environment" I get
Application error Rails application failed to start properly" If I try to install any other apps I get the same message. What could be the problem? |
|
#100
|
|||
|
|||
|
I've the same problem, I ask to support people but it seems they don't know how to solve it
.Mk |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 10:31 PM.





ptions => 'engine=MyISAM' do |table|
.



