(Using Archlinux) I downloaded Ruby 1.8.7-174 a while ago and installed it via the tarball (not pacman). I was trying to update to 1.8.7-299, but I can't get it to work. Per the readme, I do the following steps, all of which complete without error:
./configure
make
make install
After install finishes however, I still have -174 installed instead of -299.
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.
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.
I have a bit of a weird problem, I have updated the BIOS for my motherboard (MSI K9A2 Platinum V2) to version 1.B which updates the CPU AGESA code. After the update I was unable to properly shut down linux (gentoo linux 64 bit, kernel 2.6.34, kde 4.4), when I try to do a shut down (tried it from kde and from the command line as well with the same result) the computer shuts down but then it starts up again, only this time the keyboard doesn't work. I think that somehow, the way the pc shuts down has changed (maybe linux is sending the wrong commands in order to shut down) because from windows 7 I can shut down the pc properly. I have tried to recompile the kernel (I thought that maybe I forgot to add support for some ACPI, APM or CPU options that could affect the shut down procedure) but with no luck.
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.
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.
I am using Red Hat Enterprise Version 5. There is a ruby program which use standard input as its input (e.g. the Ruby program process input from standard input). I think standard input should be keyboard, correct?
So, I think other kinds of input (non-standard input) should not work (i.e. the ruby program should not be able to read input from such non-standard input), but actually I have tried using pipe works, I am so confused because I think pipe should be some other kinds of input -- other than standard input, why it could work? i.e. put text "123" in abc.txt with pipe, could achieve the same result as using keyboard as input to type "123" for the ruby program.
When trying to do a system update, I'm facing following error:
Code: Select allroot@machine: apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: libdevmapper1.02.1 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed.
[Code] ....
No such file or directory of an older and unused kernel? What's wrong with my system?
More about my machine, which runs Debian 6: Code: Select allroot@machine: uname -a Linux machine 2.6.32-5-686 #1 SMP Sat Jul 12 22:59:16 UTC 2014 i686 GNU/Linux
Code: Select allroot@machine: cat /etc/apt/sources.list deb http://http.debian.net/debian/ squeeze main contrib non-free deb-src http://http.debian.net/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free deb http://http.debian.net/debian squeeze-lts main contrib non-free deb-src http://http.debian.net/debian squeeze-lts main contrib non-free
I updated one of my x64 notebooks that has been offline for about a week. There were several updates needed. Towards the end of the update I got a message something about could not complete update because one of the updates was waiting for another process/update to complete.
I verified that it was still trying to update by opening terminal window. After I closed the info box which had a white minus sign it it and reran to check for updates, it said everything was up to date.
How can I be sure that the update in question was applied? Unfortunately don't remember which one. Is there a checksum run at the end of the updates to unsure the update is properly applied? All seems to be working fine.
Since updating to Lucid I have not been able to properly burn DVDs and CDs. I have looked everywhere for a solution to this and have been able to get some functionality but not full functionality. I am using Brasero as I find it nice and easy to use. I read somewhere to get libburn4. Since I did that, I managed to Burn an Audio CD, and today I have managed to Burn an ISO of Ubuntu 10.04, so that is at least some function back.
I cannot burn Data CDs or DVDs. I have a few .avi files I wanted to burn on a Data Disc as burning as a movie to DVD means that I would have to waste loads of discs. I can't seem to burn any Data DVDs. To check that this wasn't just a dodgey blank disk I have tried burning data CDs using lots of albums on the CD. Still no luck. What seems to happen is that it generates a checksum then the box with estimated time remaining, write speed and progress comes up. It hangs for a minute then spits the disk out.
I am using the Emerald window decorator and want to hide the titlebar of windows that are maximized. In CompizConfig is an option for choosing which windows should be decorated, and since I don't want to decorate maximized windows, I added !state=maxvert. This works well with the default GTK window decorator, but when using Emerald it fails: first it seems working, but after unmaximizing a window suddenly all windows lack decoration. It even stays that way when I readd 'any' to the line, I have to switch to the default decorator or restart gnome. Now is there any way to make this work with Emerald? I would really like to keep my current theme while hiding full-screen title bars.
Edit:
Not exactly related: I am also using Global Menu which is nice, but the window management menu (maximize, minimize, resize etc.) only works if the window list is activated too. Is there a solution or do I have to create a bug report at that project? :v
I am having problems with my newly upgraded 9.10 distribution that keeps locking up. I had started a thread on that but along the way, I noticed another problem with the Update manager. I posted the following text in the same thread but realized that I must start a newer thread since it has its own issues (so sorry if you see this text in my other thread).I had upgraded from 8.10 to 9.04 with ISO image and then to 9.10 with ISO image. In between, I did not reset anything in the Update manager (the upgrades were within one day of each other). Since the computer was connected to network during upgrades, I also let it fetch any newer packages as it needed them.
After the upgrade, I started having system lock ups and it requires hard boot. I tried to check for any updates using Update Manager. It reported that system was up-to-date. However, I noticed in the Settings that cdrom was selected in Sources (perhaps because I had upgraded with ISO image). I unselected the cdrom and tried to update the packages. Since I upgraded using ISO image, there is some problem here about recognizing the repository perhaps. Do you think my problem may have stemmed from upgrading twice using ISO images and not resetting the Update Manager in some fashion in between? Although the system did fetch upgraded packages during upgrades. How can I reset the update manager to start updating properly? Perhaps Authentication is an issue?Of course, I am still having trouble with lock up.
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
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:
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?
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
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.
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
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
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.