Ubuntu Installation :: Can't Install Ruby On Rails / Solve This?
Mar 23, 2010
I'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.
View 3 Replies
ADVERTISEMENT
Jun 8, 2010
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 Related
Jan 18, 2011
I 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?
View 1 Replies
View Related
Jun 28, 2010
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]...
View 3 Replies
View Related
Oct 5, 2010
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.
View 2 Replies
View Related
Jan 29, 2010
We're looking for a top-notch Ruby on Rails development firm in India.
View 2 Replies
View Related
Dec 14, 2010
how 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 Replies
View Related
Jun 30, 2011
When 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]....
View 7 Replies
View Related
Dec 2, 2008
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?
View 1 Replies
View Related
Jun 24, 2011
I am attempting to start ruby in interactive mode from the command line. However, when I type ruby at the command line, it simply hangs. I know that I have ruby installed. Any ideas as to how to resolve this problem.
View 2 Replies
View Related
Apr 26, 2010
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.
View 8 Replies
View Related
Oct 22, 2010
There 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.
View 2 Replies
View Related
Jun 8, 2010
Can't install Ununtu 10.04
I can not install ubuntu 10.04 32 or 64 bit on my computer
Every time I put in either DVD I get a guy and next to him is a regtangeler box, then the screen goes black with a blinking white line up to the left and then it goes completely black then monitor turns itself off
This happens with both 32 and 64 install versions
So how do I install it or just use it a s a live cd
I have a pretty new computer that I Run windows 7 on that I am trying to get Ubuntu on code...
View 7 Replies
View Related
Apr 4, 2011
I have installed Ubuntu 64bit 10.04 LTS version. I am trying to install open-iscsi and my apt-get install commands hangs code...
my sources.list seems to be fine. What might be the issue?? never had this issue on a 32 bit version of Ubuntu 9.
View 1 Replies
View Related
Jun 25, 2011
I usually don't have problems installing Linux but Fedora won't install into 4 GB for me. I get to the partitioner, try to create a 4 GB partition, actually have 7 GB free, but it tells me there is no space on the drive. As I said, I usually don't get this problem but have not tried Fedora before and don't understand.
View 3 Replies
View Related
May 2, 2010
My computer has 2 HDDs attached to 1st and 2nd SATA ports of my mobo respectively, the 1st SATA drive is empty while the 2nd have my Windows Vista on it. I also have a Perc/5i RAID card with 2 RAID arrays defined.
I am going to install Ubuntu 10.04 x64 to the 1st SATA driver (I expect it will be /dev/sda), but when I try to install, I found my drives are recognized as below,
/dev/sda > 1st RAID array of my Perc/5i
/dev/sdb > 2nd RAID array of my Perc/5i
/dev/sdc > 1st SATA drive < I need to install ubuntu on this drive
/dev/sdd > 2nd SATA drive
I don't want to install 10.04 as /dev/sdc because I may add more arrays to my raid card which from my experience of 9.04, it will probably change the drive letter of my current /dev/sdc and then system will fail to boot.
Is there any way to force my 1st SATA HDD as /dev/sda during install ?
View 1 Replies
View Related
Jul 7, 2010
Synopsis: I wiped my system and am using ubuntu 10.04 with no problems *except* that I now need IE 8 and MS Excel/Access/Powerpoint/Word for classwork. I kind of tried toying with WINE, but ultimately would rather just have a dual boot.
What occurs when I try a (any) Windows install (keep in mind I even swapped out a fresh Sata HD and the same problem occured:
Pop in a Windows ISO bootable CD>everything acts normal and I follow the prompts for a fresh install (not an upgrade)> It begins the install but the first part where it is "copying files" just goes to 100% in a split second>Then it moves down to the next prompt of "Expanding Files" at which point the laptop is spinning the disc/reading it but it just stays at 0%.
So, it's not a HD formating problem, right? I wiped the system, reformatted and got the okay from Windows that I could install so I assumed I reformatted it back to NTFS.
View 2 Replies
View Related
Aug 13, 2010
Trying to install Ubuntu 10.04 on a HP 6540b laptop - dual boot with Windows 7. I keep getting stuck on:
1. [GUI install] after step 3 of 7 where a KB layout (I've tried many other layout) is selected then going next and it hangs there trying to do something.
2. [Alternative install] stuck on 45% of scanning disks at "Starting up the partitioner" code...
I've tried desktop 32bit and 64bit install and also alternative 32 and 64. Also tried installing from CD & USB drive.
I guess it's something to do with the disk partition? Anyone come across this before?
I've installed 10.04 with similar dual boot partitions layout on an older HP 6710b without any issues.
View 1 Replies
View Related
Jan 23, 2010
First time this has happened. I installed Fedora first (XP already installed) and then installed Ubuntu 9.10 64. Fedora doesn't show up on boot up menu. I've tried update-grub.
Before I would have just edited menu.lst, but now?? I dunno.
edit; Here's fdisk with Fedora on sda6
View 9 Replies
View Related
Jan 12, 2011
Configuration: AMD 2500+, 2GB RAM, ATI HD3850 AGP
Problem: Can not install OpenSUSE 11.3. Boot from the disc - the installation screen resolutions, modes of installation - everything is in order. But when the installation can proceed - loading (logo) and just a black screen - possibly the installation goes - but no picture. Also try to set mode "vesa" - loading equipment "ok" ... "ok" ... "ok" ... "ok" ... and again in the black screen.
View 9 Replies
View Related
Dec 19, 2010
Is there a way to install ruby on Fedora 14?
View 1 Replies
View Related
Sep 2, 2010
==========NOTE: subsequent to posting, I attempted to use the gem 'mysql' and it worked. This is odd considering all the errors that were emitted below. Anyway, I can proceed with my study.==========
Environment:
Running 10.04
MySQL version: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1
[code]...
View 1 Replies
View Related
Mar 18, 2011
I'm trying to install Rubyripper into Maverick using these guidelines: [URL]
But I get this error message in terminal:
Code:
W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/binary-i386/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead. Presumably because it can't find the package. But what do I do next? or is there an alternative way to install?
View 3 Replies
View Related
May 29, 2010
Everytime I tru to install that gem with gem install mysql I get this output :
[CODE]
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for mysql_ssl_set()... no
[Code]...
View 4 Replies
View Related
Jul 30, 2010
I would like to install the rmagick gem under ruby ree-1.8.7. Like every time, the installation routine does complain about two different version being installed which are actually the same. I have every, really every imagemagick package installed:
Code:
ImageMagick-6.6.1.0-3.8.i586
GraphicsMagick-1.3.12-1.15.i586
libMagick++3-6.6.1.0-3.8.i586
libGraphicsMagick3-1.3.12-1.15.i586
[Code]...
View 2 Replies
View Related
Jan 3, 2011
Has anyone been able to successfully install rmagick on slackware 13.1? On both my systems (one multilib and one 32-bit), it complains about having a 'partial' ImageMagick install!
Code:
$ sudo gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
[Code]...
View 4 Replies
View Related
Nov 10, 2010
I already got the source from here [url] i need ruby 1.8.7 because i want to install activerecord usually i use yum for installing anything. but for ruby,
Code:
Package ruby-1.8.6.399-6.fc13.i686 already installed and latest version
View 3 Replies
View Related
Apr 11, 2011
Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1
The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1
I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)
So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem
First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........
Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.
View 1 Replies
View Related
Sep 7, 2010
knows how to remove an app (or in this case, a test/learning app) from Rails 3?I could just delete the folder, but I'm worried it will leave annoying residual files around that I will never find (database, server, configurations, etc...).Especially since I'm new to linux, I don't even know how to be aware of what files may have been generated/changed as a result of making a new rails app.
View 2 Replies
View Related
Dec 30, 2010
I have a MSI a6000 Laptop (that has given me a lot of problems installing Ubuntu.
I finally had to run Ubuntu from a CD in nomodeset
Then when I go to install Ubuntu the only options it gives (regarding my harddrive) are to format my whole hardrive or do the partitioning. I have seen screenshots though where there is a third option on the same page to install ubuntu alongside a prior OS and dual boot.
Does anyone know why the "install alongside a prior OS (dual boot)" option doesn't show up?
View 5 Replies
View Related