CentOS 5 :: How To Install Ruby On Rails 1.9.2 On Centos 5.5
Dec 14, 2010how to install Ruby on Rails 1.9.2 on Centos 5.5? My searches turned up dead ends (and installation scripts that did not work).
View 2 Replieshow to install Ruby on Rails 1.9.2 on Centos 5.5? My searches turned up dead ends (and installation scripts that did not work).
View 2 RepliesI'm trying to install ruby on rails on Ubuntu 9.10. I'm following the instructions on this site:
http://castilho.biz/blog/2009/11/05/...-karmic-koala/
However, when I try to install Rails I get an error code...
It seems like gem can't access http://gems.rubyforge.org/gems/rake-0.8.7.gem for some reason, but when I try to go directly to that address I get the option to download it. Any ideas how to get around this problem?
I'm thinking if I can somehow tell gem to look for the file locally I can download it and install rails that way.
I'm going through the Beta version of "Agile Web Development with Rails - 4th Edition". But I'm having difficulty with initial configuration on my Gentoo box. I started like so, basically following the book:
Code:
$ rails testrails
$ cd testrails
$ script/generate controller Say hello goodbye
[Code]...
It is little weird now that cron job is not working as i have set. I have set weekly job to send email but i am receiving multiple emails daily. Below is my code; # sends email every monday at 4:00 am 00 04 * * 1 /usr/bin/ruby /home/mbm/www/current/script/runner /home/mbm/www/current/app/models/add_to_delayed_job.rb -e production
00 -> Minutes
04 -> Hours (0-24)
1 -> Days / 0-6 / Sun - Sat
Sending email is fine but the time is not working so far as set.
The site that used to host the language spec file for .erb/.rhtml for ruby/rails syntax highlighting is no more.If someone could attach the file for gtksourceview-2.It's located in /usr/share/gtksourceview-2.0/ language-specs/ and probably called rhtml.lang
View 2 Replies View RelatedI want to try test ruby on rails application on a virtual ubuntu server. But I didn't work for me.
What did i tried Code code...
What do I wrong, rubygems still 1.3.5 and is not updated...
What must I do?
We're looking for a top-notch Ruby on Rails development firm in India.
View 2 Replies View RelatedWhen I try and access redmine from the webbrowser i get an error:
Code:
FATAL: password authentication failed for user "redmine" FATAL: password authentication failed for user "redmine" (PGError)
[code]....
I'm the noobiest noob you'll find on here. I'm having trouble getting ruby on rails to work with mysql on redhat. So on their forum I asked how to install the latest "sqlite" database package on linux.They told me to run.Now, I don't think I need "sudo" because I am the root user on my database, and I don't think I can use "apt-get" because I'm using redhat, not ubuntu.
1) Is there a way of running the above command on redhat? (A redhat command for installing things?)
2) How can I be sure I'm using redhat and not some other OS?
I have a problem installing mysql ruby gem on 64bit CentOS machine.
[jacekb@vitaidealn ~]$ uname -a
Linux vitaidealn.local 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
CentOS 5.4 (cPanel 11.25.0-R42213) I've used this guide several times on several servers to get FFMPEG`/FFMPEG-PHP to work with CentOS 5.2 and various hosting panels. But after trying on a server with CentOS 5.4, I've run into problems.
# Install FFMPEG on CentOS
cd /root
echo "[dag]" > /etc/yum.repos.d/dag.repo
echo "name=Dag RPM Repository for Red Hat Enterprise Linux" >> /etc/yum.repos.d/dag.repo
[code]....
I'm trying to install RubyOnRails, I'm at the point of installing the gem modules mongrel, mysql and passenger Running gem install mongrel Returns
Code:
Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
[Code]....
I've been using rubyripper quite happily on Karmic, now I've moved to Lucid and discovered a bit of an issue. rubyripper will pause for several minutes between tracks with ruby 1.8. If I upgrade to ruby 1.9.1 the gui client won't run due to an issue with libgtk2-ruby not being available for 1.9.1.
The cli version of rubyripper under 1.9.1 is blazingly fast, so that is what I'm using at the moment, but I do prefer the gui.
Anyone have any insight into this? Googling suggests there may be a bug in ruby 1.8.7 that caused the long pauses, but it was supposed to have been fixed in 1.8.7.249 i.e. the default Lucid version.
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
I have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd. I't always gives me the same error:Starting install.Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
[Code]...
i didnt find a solution to a display problem im having. my server mobo is an asus k8n-dre with built in video. after the install(using built in video) the screen dosnt display fully as in black sections on the left and top of the screen. from the searching i did i found something about an "xrandr" command that would let me change the video settings but it didnt do anything with the black areas when i tried it. i also have a nvidia geforce 9500gt video card so i changed the jumper to boot from it and tried again. the black sections are still there but the centos display covers much more of the screen now. theres still about a third of an inch gap on the left hand side and about 1/4 of an inch on the top. ive also tried updating the software to see if it may be a driver issue but no luck. anyone know how or if it can fit to full sceen? the screen displays up to 1440x900 if im not mistaken but with the built in video it gave me lots of display options including the 1440x900. after changing to the nvidia card it only shows 800x600 and 640x480.
View 5 Replies View RelatedI am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.
View 13 Replies View RelatedI have successfully installed CentOS 5.4, and after choosing it from the GRUB menu, I am getting the following error message:1706-Smart Array Controller Extended BIOS Data Area Memory Corrupted. Int 13h BIOS Cannot Continue - System Halted.I'm using two SAS disks that came along with the server, left the default RAID configuration (1+0) on a P410 controller
View 5 Replies View RelatedI've got a box (prev used for WinXP) with 2GB Ram and a new 500GB HD to throw in there.Noticed on the Wiki CreatingUpdateMedia and reading as much as I can ramping up for this.I'm curious how I should partition this disk, and what other decisions I'll need to make on install.I see quite a bit of interest also in virtualization, and if I find a need, this could be useful too.Kernel upgrades?how to do? Does the disk have to be wiped or just use an alternate boot device to replace K on HD? I have a tech background in programming and some solaris, but *nix has grown up in the last 5 years.Hopefully devices will function and networking connectivity can be acheived without too much troubleshooting.
I'm doing this in part to be more educated, especially in the new world of web-hosting where you have a virtualized box, root and shell access, and need to manage it yourself. Beyond that even, my goal is to be able to work on my web-host by setting up a remote linux desktop, and I'll be looking for ways to configure that. There are clients out there (VNC, etc), but I'm not sure on the host-server configuration, and also the port-forwarding setup on my local router.
[URL]VMware Workstation 7.0.1 Release Notes has a list of supported OS:[URL]According to that, RHEL 5.4 is listed as supported for both host andguest but CentOS 5.4 is only for guest. This is quite strange and, ifit is true, that could be a serious issue.I succeed to install vmware workstaion 7.1 on centos 5.5, but have run-time error:
[root@ ~]# /etc/init.d/vmware start
Starting VMware services:
VMware USB Arbitrator [ OK ]
[code]....
I'm new on Dell PowerEdge 2900. I dont know how to install centOS 5.2 on it. whice OS type that I should select. at first I select RH enterprise 5 and it format HDD. already and I put centOS 5.2 in, but it was deny and eject that cd. when I power off it shown that
"root(hd0,1)filesystem type is ext2f2,partition type0x83
kernel/linux/vmlinz%(ksLocations)
Error is : file not found
press any key to continue"
I am trying to do a basic install of CentOS 5.4 on my embedded computer. It is a Linutop 2 system with a AMD Geode 800MHz CPU and 512Mb Ram. Have installed an IBM 40Gb 2.5" HD for OS storage. I am doing the install procedure in text mode. Everything goes as planned until I get to the package selection.
1. Booting from (i386) DVD with "linux text" parameter.
2. Skipping media check.
3. Selecting "English" install language.
4. Selecting "DK-latin1" as keyboard layout.
5. Selecting "Remove all partitions and create default layout" and selecting "no" to modifying partition layout.
6. Selecting "yes" to configure "eth0" and mark to enable "IPv4" on boot.
7. Selecting DHCP for IP configuration and Manual host name.
8. Setting time zone to "Europe/Copenhagen".
9. Setting root password to a 16 digit alphanumeric pass-phrase.
10. De-selecting "Desktop - Gnome" (no other entries selected).
When the system is checking for dependencies, an exception
Traceback (most recent call first):
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 426, in returnNewestByName
raise PackageSackError, 'No Package Matching %s' % ui_pats
File "/tmp/treedir.22057/instimage/usr/lib/anaconda/yuminstall.py", line 1072, in getBestKernelByArch
pkgs = ayum.pkgSack.returnNewestByName(pkgname)
[Code]...
I've been trying for the past week to install an icecast server on my centos 5 VPS hosted through phurix.
I've tried compiling it, installing it from RPM. but im getting nowhere. Has anybody had any luck installing it, who wouldn't mind explaining how they went about it?
I've searched google for hours on end and all I can come up with is generic cent os 4 guides that just wont work. Im not the best when in comes to linux. I do a great job of copying and pasting to a shell prompt and can use ftp etc.
if this is any use.. heres the last output from my last attempt and compiling it...
[root@vps613 icecast-2.3.2]# ./configure --prefix=/usr/local/icecast
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
[Code]...
How do I know what sound system my Centos 5.5 install is using and how would I configure which soundcard output to use? I want to use the digital coax output from my M-Audio PCI soundcard, which appears to be detected and loaded. When I launch MPD, it autodetects an alsa sound system, but programs like alsamixer don't exist and I can't hear any sound out of the digital coax output. I haven't checked the 3.5mm stereo out yet.A little confused as to which documentation to be looking at at this point.
View 9 Replies View RelatedI am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out (ERROR:Message not sent. Server replied: ). I apologize for not going directly to the qmailrocks forum, but they are currently closed down (due to lack of funds). I also am a newbie, so I apologize for the lack of needed information. If anyone has any ideas, please let me know what information you would need.
I have an i5 Thinkpad running Windows 7 64-bit. VT is enabled in the BIOS. I have installed vmware server v 2.0.2 but am unable to install Centos 5.5 x86_64 as a guest OS. The steps that I followed are as follows:1. Created a new VM, specifying RHEL 5 64-bit as the intended guest OS (per vmware documentation - Centos is not available as a selection2. Downloaded all 8 iso files for Centos v5.5 64-bit3. Modified the CD/DVD drive to 'connect at power' and use an iso with the path pointing to the x86_64 iso 1 of 8When I power up the VM, the console window displays 'ISOLINUX 3.11 2005-09-02 Copyright (C) 1994-2005 H. Peter Anvin' and nothing else. The installation splash screen never appears. As a test, I downloaded the first of 7 iso files for the 32-bit version of Centos 5.5 and pointed the CD/DVD drive to that iso. In that case, the installation starts as expected. I would really like to get the 64-bit version installed and running.
View 3 Replies View RelatedThere are a few things not working properly. Ruby version manager seems ok but untill i get working with ruby i don't know if it is working properly. One thing that is not there is irb Interactive ruby is not available according the the message i get.
Well i have no idea what readline is but i did everything that is on that webpage referance page [url]. I have got a lot of progress and learned heaps about linux shell and bash terminal. The thing is i need to get this going and have tried feenode but it is very foreign and how it works i do not have a clue. I have got 2 things resolved so far through this forum but using other threads in it. i need to get irb going before i can progress to using ruby on Rails properly.
I am using a Eeepc running ubuntu easy peasy its version 9.04 of ubuntu. I need the whole of rails to work and want to get a handle on using ruby version manager along with the apache stack with mysql/phpmyadmin and am using this as a dummy run for setting up a development system.
What i want to be able to do is create a custom kickstart for my centOS 5 server. I want to create a bootable cd that I can pop in my server and basically walk away for 45 minutes and I come back and its fully installed. All the directions I have read so far tell me that I have to create a seperate ks.cfg and then I need my original centos cd to get it booted. Then the cd will ask for where the ks.cfg file is and I have to type the location. I just want to pop the CD in and type in linux_clean or something and have it perform a custom install based on the information and specification in my ks.cfg. How can I go about doing this?
View 1 Replies View RelatedI am having a problem during a fresh install of CentOS 5.3 on an IBM Intellistation Z Pro 6221. I have tested the installation media (CDs). The install runs normally until I am asked to specify the appropriate keyboard.I take the default (English) and hit next. The keyboard and mouse keys become unresponsive though the mouse pointer moves. I can go no further than this. This behavior is the same whether I install in text mode or graphic mode. I have tried the noprobe installation option without success. The box I am doing the install on dual boots fine between Windows XP and CentOS 4.7 currently.Does anyone have an idea of what the problem may be?
View 2 Replies View RelatedI am eager to install GSN3 on CentOS 5 and work on GNS3. But i am unable to find a suitable easy guide to install the same. install GSN3 on CentOS.5 with rpm links if you suggest to download.
View 1 Replies View Related