psionblue

Member
Dec 13, 2006
5
0
151
What are the proper steps to installing ruby on rails?

Does scripts/installruby do it any better/different that installing manually?

-Thanks!
 

markfrompf

Well-Known Member
Mar 27, 2006
176
0
166
Los Angeles, CA
Hmmm. I would also be interested in the response to this.
 

sjoerd83

Member
Jul 1, 2005
17
0
151
scripts/installruby seems to be broken.
I get the error "setup.rb:52:in `require': no such file to load -- rbconfig (LoadError) from setup.rb:52"
when the script starts to install Gems

I would really like to see a cPanel addon for RoR (installer and account based permissions)
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
Hmmm, that's odd. I just ran it yesterday on a CentOS 3 system without issue.
 

markfrompf

Well-Known Member
Mar 27, 2006
176
0
166
Los Angeles, CA
scripts/installruby seems to be broken.
You should be running, without quotes, "/scripts/installruby" <-- Note the forward slash infront of the string.

Hope this helps.
 

HelloAdam

Well-Known Member
Nov 6, 2005
145
0
166

thomasconor

Member
Aug 2, 2006
17
0
151
permission changed

when i tried to run /scripts/installruby
the permission was set to 644 by default . I have checked this with a couple of other cpanel servers same is the case with all. Is there any possible threat in making that script executable. Oh and i am running centos 4.4 .
A little tip much appreciated.

Thank you
Tom
 

thomasconor

Member
Aug 2, 2006
17
0
151
sh did not work out

You can leave it as 644 and just use the following to run.

sh /scripts/installruby
__________________
This is what i got :( .
# sh /scripts/installruby
/scripts/installruby: line 6: syntax error near unexpected token `('
/scripts/installruby: line 6: `BEGIN { push(@INC,'/scripts'); }'
#

Is it coz my perl path is not correctly configured. If yes, how to check & clear that.

Thanks for quick reply.
Tom
 

cooldude7273

Well-Known Member
Jan 11, 2004
359
0
166
Roswell, GA
I believe that cPanel 11 will have a place to install it in the WHM GUI
 

total hosting

Registered
Jan 13, 2007
2
0
151
Ruby on Rails with CPanel 11?

Has this been confirmed? Is Ruby now installable via CPanel 11?

Thanks!
 
Last edited:

tangowebs

Well-Known Member
Oct 12, 2004
93
0
156
I dont know if this is an error, but I get the rubygems icon on cpanel but not the ruby on rails:
When I execute this script, appears this message:

Bulk updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i686-linux]

Bulk updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i686-linux]

Ruby - & - Rails Installed
Configuring perl magic....Off
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off


What I am doing wrong?
 

gyftaki

Registered
Jun 21, 2006
3
0
151
don't know if this is a little stupid, but i just wasted some time trying to figure out where the 'ruby on rails' icon was in cpanel. i eventually managed to find it by switching the theme of the account to 'x3' (it was on 'x').