LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2009, 09:48 AM   #1
nandanm1
Member
 
Registered: Apr 2009
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
Ruby on Rails on CentOS 5.3


Hi,

Could someone help me in installing and configuring Ruby on Rails on CentOS?

I checked this link http://wiki.rubyonrails.org/getting-...n/linux-fedora.

But the first step itself failed. I was not able to find any packages like rubygem-rails or rubygem-sqlite3-ruby.
 
Old 10-06-2009, 01:31 PM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by nandanm1 View Post
Hi,

Could someone help me in installing and configuring Ruby on Rails on CentOS?

I checked this link http://wiki.rubyonrails.org/getting-...n/linux-fedora.

But the first step itself failed. I was not able to find any packages like rubygem-rails or rubygem-sqlite3-ruby.

yes, but do you have fedora repository set up? i guess not..


Code:
https://fedoraproject.org/wiki/EPEL
 
Old 10-07-2009, 10:02 AM   #3
nandanm1
Member
 
Registered: Apr 2009
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile

Quote:
Originally Posted by centosboy View Post
yes, but do you have fedora repository set up? i guess not..


Code:
https://fedoraproject.org/wiki/EPEL
I have now installed it by enabling the EPEL repo but I am not sure how to move further.
 
Old 10-07-2009, 10:06 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by nandanm1 View Post
I have now installed it by enabling the EPEL repo but I am not sure how to move further.
depends what you are after

apache + mongrel
apache + passenger
nginx + mongrel


personally i am using apache+mongrel for puppet
 
Old 10-14-2009, 12:16 PM   #5
nandanm1
Member
 
Registered: Apr 2009
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by centosboy View Post
depends what you are after

apache + mongrel
apache + passenger
nginx + mongrel


personally i am using apache+mongrel for puppet
I just referred this link http://guides.rubyonrails.org/getting_started.html and installed the same.

One of the issues I faced was "Error installing sqlite3-ruby: sqlite3-ruby requires Ruby version > 1.8.5 "

I used this command: gem install sqlite3-ruby --version '= 1.2.4' and the issue got resolved.

However my new issue is I don't really understand the whole of the ruby code. I want to design a simple web application with date & time to be mentioned. I am not sure how to go about the same.

I searched for some sample data but could not find it. Could someone help?
 
Old 10-15-2009, 03:40 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by nandanm1 View Post
I just referred this link http://guides.rubyonrails.org/getting_started.html and installed the same.

One of the issues I faced was "Error installing sqlite3-ruby: sqlite3-ruby requires Ruby version > 1.8.5 "

I used this command: gem install sqlite3-ruby --version '= 1.2.4' and the issue got resolved.

However my new issue is I don't really understand the whole of the ruby code. I want to design a simple web application with date & time to be mentioned. I am not sure how to go about the same.

I searched for some sample data but could not find it. Could someone help?
take your pick from here
 
Old 10-15-2009, 12:10 PM   #7
nandanm1
Member
 
Registered: Apr 2009
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by centosboy View Post
take your pick from here
I tried installing mongrel using "gem install mongrel" and gem install mongrel_service. I am getting a new error message as mentioned below:

** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- win32/service (LoadError)

Could you help!

Last edited by nandanm1; 10-15-2009 at 12:18 PM.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any issues installing Ruby Gems and Ruby on Rails in Slackware? Lufbery Slackware 8 02-09-2011 07:22 PM
[SOLVED] [Ruby on Rails] backticks don't work under rails. bartonski Programming 1 09-08-2009 04:19 PM
PHP v Ruby/Ruby on Rails Neko_D Linux - General 4 02-08-2007 11:56 PM
LXer: Ruby on Rails LXer Syndicated Linux News 0 02-16-2006 04:16 PM
LXer: Ruby off the Rails LXer Syndicated Linux News 0 12-24-2005 04:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration