I'm getting 'Rails requires RubyGems >= 1.3.1. Please install RubyGems and try again: http://rubygems.rubyforge.org' error. However...
gem -v
Returns "1.3.7". afaict, I have RubyGems 1.3.7 installed...
Any help appreciated
...
I have a laptop installed with Ubuntu 10.04. I migrated some of my files from one computer to this computer. But there are some files like Thumbs.db file whose every occurrence I want to get rid of.
I tried using
locate Thumbs.db | rm
But dis didn't worked out (and clearly it should not). Then I tried using following, but quite expe...
Hi,
I have ubuntu installed inside Windows 7 through Wubi. I need to increase the size of /root or root.disk. How can I do this? wubi-add-virtual-disk does not work since root.disk is already present.
THanks,
SM
...
I'm a bit of a Linux noob trying to get ruby, rails, mysql and sqlite all playing nicely on ubuntu 10. I am getting errors, and I realized that the versions are different for sudo versus normal user!
mpw@ubuntu:~/.rvm/gems/ruby-1.9.2-p0$ gem --version
1.3.7
mpw@ubuntu:~/.rvm/gems/ruby-1.9.2-p0$ sudo gem --version
1.3.5
I have used RVM...
Hey all -
I'm trying to get RMagick setup on Ubuntu 10.04. Looked here but had no joy. I even compiled and installed ImageMagick from source, but the instructions here still didn't help me when I try to install RMagick using RubyGems. I got this error:
carcher@carcher-laptop:~/Code/temp/RMagick-2.13.1$ sudo gem install rmagick
Buildin...
i deployed a jruby/rails app to tomcat6 through a warbler-built war. system is ubuntu 8, running tomcat6. when i try to start the app, i get the following stack trace
Sep 13, 2010 7:57:24 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Application Error
java.security.AccessControlException: access denied (java.ut...
Hey all,
I'm trying to use s3cmd on ubuntu 10.04 to sync with a local folder. This is working great for getting the contents from the local drive out to S3. However, I want the file ACL to be "public", yet all the files are coming through without it.
In my .s3cfg file, I set:
acl_public = True
I've tried:
s3cmd sync -P --delete-rem...
Hi all
I am trying to install refinerycms, a Ruby on Rails CMS on Ubuntu 10.04 LTS. I run rails server and I get the following exception:
carcher@carcher-laptop:~/Code/tgc$ rails server
=> Booting WEBrick
=> Rails 3.0.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Ex...
I'm running Ubuntu 10.04 with Apache2 and PHP5.
I have a directory structure like this:
\www\
\index.php
\parts
\head.php
\body.php
Inside my index.php I have a command
<?php include("parts/head.php") ?>
and the equivalent for body.
These files both exist and they contain more php and html code.
The on...
Hi,
I have a scientific application that I built in Python (the application's 'critical areas' are optimized with Cython, for increased speed).
Every instance of the application is given a text file (with parameters) an an input. The application reads the parameters from the text file and, using data that is stored in the hard drive, r...
When I change mt test browser to IE using the following line of code:
self.selenium = selenium("localhost", 4444, "*iexplore", "http://www.mydomain.net/")
I get the following error:
Exception: Failed to start new browser session: java.lang.RuntimeException: SystemRoot apparently not set!
It works perfectly fine using firefox and Ch...
I just installed Symfony framework on my laptop (running Ubuntu 10.04) but I want to be able to develop it from windows machine.
Here is my apache config file for the site:
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 8080
<VirtualHost 1...
Hi,
I am now working on a data transfer project under Linux.
The Project Team choose putty to login in linux server via vim to development, But I think the efficiency is too low.
Now I choose Eclipse for C++, and distributor the version "eclipse-cpp-helios-linux-gtk.tar.gz" on Ubuntu.
However, I encountered a problem: My Linux syst...
I'm trying to run lighttpd on ubuntu in parallel with Apache, but it won't startup on the ip address and server that I have specified. I have the following configuration:
server.document-root = "/var/www"
server.port = 8000
server.bind = "#.#.#.#"
where the #'s are replace by the IP address of my server.
However,...
Hi,
I have a server running on Ubuntu which creates lots of data and media files. I would like to know what is the best location to store the files.
Requirment :
My application running on java server(tomcat) needs to read, write and delete these files.
There could be 100s of these files and the files could be huge.
I would like to ...
How hard is it to take 10 new computers (all of the same maker / spec), install ubuntu on them and connect them all in a network? any hints on where to start?
how hard is it to have them all part of a 'grid' (say, through condor), so that jobs can be submitted to a central node and be processed across the network? any ideas how to do it...
Hello Good poeple!
I've downgraded php to 5.2 in ubuntu 10.04 and it seems i can't install new pear packages.
the existing packages i had by typing pear list are :
Package Version State
Archive_Tar 1.3.3 stable
Console_Getopt 1.2.3 stable
PEAR 1.9.0 stable
Structures_Graph 1.0.2 stable
X...
Okay, so I installed rvm and everything as root.
Then I installed Ruby Enterprise Edition with rvm.
Now I've been having a TON of issues with rake and rvm so far and I'm not too sure as to why.
I had to manually create links in my /usr/local/bin to rake to get rake working.
But when I passenger-install-nginx-module
Welcome to the Ph...
I have some code with the following headers for Xlib but don't know what to do to make it work...I can't find these headers.
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>
Sorry new to this..
Okay so now I can view the headers in the foldrrs in my eclipse IDE.
and i get the following errors.Th...
Hey guys,
I'm writing a program to read a file and display the number of lines and words in said file, simple stuff. What I want is to be able to run the program from terminal (running Ubuntu) by simply typing:
count
But I'm not sure how to get the filename into a variable in the C program. Little help please?
Thanks in advance.
...