Ubuntu :: Lucid: Attempting Install Of Ruby Gem 'mysql'?
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
ADVERTISEMENT
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
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
May 31, 2010
My Compaq Presario F700 laptop has Conexant HD-Audio SmartAudio 221 (checking from my Windows partition). I had everything working just fine until yesterday when I attempted to manually install an alsa-linux package that I downloaded sometime ago. Although the .deb package failed to install, it seems it messed things up and now there's no sound. The speaker icon shows "All mute" and I have no clue how to fix this. How do I 'unmute' it?
View 5 Replies
View Related
Aug 18, 2009
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
View 3 Replies
View Related
Jan 16, 2011
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]....
View 6 Replies
View Related
May 11, 2010
I've tried installing mysql-server on Lucid, and I get errors that it cannot set the root password. A screenshot is attached.
I have no idea what to do. I've tried purging configuring and reinstalling. Same problem. I can't find anything in the logs.
View 2 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
Dec 19, 2010
Is there a way to install ruby on Fedora 14?
View 1 Replies
View Related
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
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
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
Dec 21, 2010
I'm trying to upgrade an EeePC from 9.10 (I think it is) to 10.10. I've tried two different thumb drives and a CD, redownloading the UNR image each time. What happens is it will get the the screen where it says 'Preparing to install Ubuntu-Netbook'. I hit forward, and then the little dial just spins indefinitely. I've also tried plugging the thumb drives into different USB ports, and playing around the with the hard disk compatibility mode on in the BIOS (currently set to 'compatible', but AHCI, IDE Enhanced etc made no difference).
View 9 Replies
View Related
Jun 2, 2010
I cannot get mysql to start since updating to Lucid. It seems to be utterly silent, no log entries anywhere I can see or anything.
I've tried reinstalling the ubuntu install to no avail.
Here's the /etc/mysql/my.cnf:
(default from upgrade I suspect) this is also the debian.cnf
Code:
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
[Code].....
I'm just getting utterly nothing in any log.
root@linuxbox:/etc/mysql# sudo start mysql
start: Job is already running: mysql
but there isn't! top/ps show nothing at all
root@linuxbox:/etc/mysql# sudo restart mysql (or stopping) just sit there, hung on something.
View 2 Replies
View Related
Sep 17, 2010
is the magicjack phone system compatable with ubuntu o s system ?
View 6 Replies
View Related
Dec 15, 2010
I was trying to install a newer version of Firefox and thought I would just try to install the newer RPM for Fedora without doing anything else and this dialog message appeared.
Could not do simulate: Can't install /home/kbs/Downloads/firefox-3.6.4-0.4.build6.fc13.remi.i586.rpm as no transaction
View 2 Replies
View Related
Mar 27, 2010
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
View 4 Replies
View Related
Jan 5, 2011
OpenSUSE 11.3
Zypper 1.4.8-0.2.4 (i586)
When attempting to run commands of zypper:
Code:
$ sudo zypper install <XXX>
$ sudo zypper help
$ sudo zypper services
[Code]....
I looked through my command history to verify I hadn't done anything stupid. The only thing I had done since my last zypper command was to install ngspice....WITH zypper.
Looks to me like libreadline.so.6 is corrupt.
Is there a way I can "update" or reinstall libreadline.so.6 with an uncorrupted version without bricking my OS? I looked into uninstalling libreadline.so.6 from Yast Software Manager (GUI) but it throws all kinds of warnings about how it can't complete operations and it will break links and such....so I'd like to avoid it unless a guru says otherwise.
View 9 Replies
View Related
Jul 12, 2011
I am attempting a java.bin silent install using two files.
The bash script is this:
sh jdk-6u20-linux-x64.bin -i silent -f /<location>/installer.properties 1>console.txt 2>&1
sleep 5 #this may be unnecessary, just testing it
[code]....
View 7 Replies
View Related
May 2, 2010
When this happens you have to open a terminal, get the process id for mysql-server-5 then kill that process. Like this:
Code:
ps -A
then from the list of processes that it spits out look at the process id (the number at the beginning of the line) for mysql-server-5.
Now type
Code:
sudo kill -9 XXXXX
where XXXXX is the process id for mysql-server, and enter your password. The upgrade process should now resume.
View 1 Replies
View Related
Sep 24, 2010
I have no display after attempting nvidia driver install and doing telinit 3
On hitting F2 I get these errors -
Code:
Is there anyway to boot in safe mode. I boot Fedora with GRUB2 and there isnt any failsafe entry for it. I have blacklisted nv driver already.
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 7, 2011
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
View 6 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
May 25, 2010
In looking at the release notes, I saw the comment File locations changes:
* MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
* MySQL log files are in /var/log/mysql. Not sure what I was supposed to do with that information. So I ignored it. Now, I am finding some issues with it. The web server works, but any connection to the database fails with 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)The thought dawned on me that maybe all my databases were erased and none set up. Going in to the terminal, I could connect and list and query the databases. So even though I backed them up, they still are there!
phpMyAdmin gives the same error message.
However, when I go into MySQL Administrator, it works fine.
I forgot where I saw it, but the socket is still set to var/lib/mysql. I could not find any mysql install log and would say what was in my cnf.my, but it still doesn't exist just as it has not in the past. Not sure if I should allow the MySQL Administrator to create it since I always ignored the prompt in the past and it worked. (Just wishing to keep the defaults)
At first I thought the upgrade upgraded the MySQL, but it's still 5.1.39 as I believe before. I've un-installed mysql-server and re-installed it with no change.
Can anyone can tell me how to get the socket to /var/run/mysql or what else is wrong? I read one place where mysql is supposed to set it up.
View 9 Replies
View Related
Jun 28, 2010
Terminal, I type ruby, I hit enter, and nothing happens. I'm given a blank line that I can type and enter, and again, nothing happens. I'm stuck, is there a way to fix this without closing the terminal window?
View 1 Replies
View Related
Nov 23, 2010
I am still using Lucid with a Luks/dm-crypt setup. I picked up an upgrade today that included grub. It gave me a box that had me choose my location to install the upgrade. I chose /boot. When apt did its upgrade thing, I got the following message: Setting up grub-pc (1.98-1ubuntu ... /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.. Installation finished. No error reported. I looked in /boot/grub and found no menu.lst file.
View 4 Replies
View Related
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
Apr 1, 2011
I need to generate pdf documents programmatically using Ruby. i.e. I don't want a GUI interface but an API interface. The bulk of my document is text but there are images included as well. I've looked at this thread: [URL] and it's 2 main recommendations PDFEdit and ImageMagik. PDFEdit has scripting available but I can't get my head round how to call this using Ruby. ImageMagik has a number of Ruby wrappers and is the kind of thing I want but as far as I can tell it only deals with Images and my stuff is mainly text.
View 1 Replies
View Related