Rails at RAS4 install some of the problems encountered

RAS4 is already old, and if possible we should not use the recommended things, above What is missing , had to install a lot of things go their own or with RAS5, either with the server version of Ubuntu you!

1, require 'irb / completion' prompt "no such file to load - readline", go http://tiswww.case.edu/php/chet/readline/rltop.html Download readline, although the latest official version, but was unbearable slow, download an old version of wget http://download.huihoo.com/ruby/readline-5.1.tar.gz, extracting compiler installed, then ruby's readline below the ext directory compile and install the following ruby's readline expansion: ruby extconf.rb & & make & & make install, installed after the problem-solving.

2, after the RMagick install, require 'rmagick' suggested that "no such file to load - rmagick", the original Linux following the name of Gem are case-insensitive replace require 'RMagick', error becomes: "No such file or directory - / usr/local/ruby/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so ", but it's existence, the original problem variables are the environment, the implementation of" export LD_LIBRARY_PATH = / usr / local / lib ", all things back to normal. vi. / .bash_profile, add the export statement to this document, this will solve the problem.

分类:Ruby 时间:2009-03-14 人气:799
blog comments powered by Disqus


  • To talk about Ruby variables 2009-03-11

    School at the time heard that dynamic languages, python La. , ruby, lua you are. Get a picture of the object can change the runtime state, such as to add property to increase the Ways La. . But dynamic languages has been in the end do not know how to

  • Ruby variables constant brief 2010-02-23

    1: The variable is a placeholder for an object or reference. For example: x=10 puts 10 Here is the 10 assigned to the variable named x 2: The variable name must be a single entity, without spaces. Must be a letter or underscore at the beginning, must

  • [Change] ubuntu 10.04 installed under the cvs server 2010-05-27

    ubuntu 10.04 installed under the cvs server 1. # Sudo apt-get install cvs 2. # Sudo apt-get install cvsd At this point you will be asked repository location, by default preparation. 3. Create / myrepos # Mkdir / var / lib / cvsd / myrepos 4. Initiali

  • ubuntu install jdk files, upload files, ssh server configuration 2011-02-28

    ubuntu install jdk files, upload files, ssh server configuration Install ssh software apt-get install ssh If the lock and the like report the error, an article on the fancy. Remove the lock file. Step by step by step ok. Jdk installation files. jdk-6

  • Ubuntu 12.04 x64 安装jdk-7u45-linux-x64.tar.gz过程记录 2014-04-23

    Ubuntu 12.04 x64 安装jdk-7u45-linux-x64.tar.gz过程记录: 1.首先下载最新版 jdk 64-bit版 (jdk-7u45-linux-x64.tar.gz) 从官网下载http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 2.将jdk-7u45-linux-x64.tar.gz拷贝到/usr/lib/jvm/目录下面,这里如果没有jdk文件夹

  • Compile and install MySql.tar.gz Ubuntu 10.10 2010-10-30

    First, install Mysql 1, sudo apt-get install g + + gcc make automake perl libncurses5-dev kdelibs_dev kdelib (To ensure good installation tools required) 2, cd ~ / Downloads (Enter the archive directory) 3, tar zxvf mysql-6.0.2-alpha.tar.gz (Extract

  • Ubuntu 10.10 to install eclipse-jee-helios-linux-gtk.tar.gz 2010-11-13

    Eclipse is the best Java development environment that supports windows, linux and other OS platforms, Ubuntu operating system platform as excellent, good horse with a good saddle, very easy to install Eclipse, The following steps will install the ecl

  • ubuntu alternate version and desktop version of the difference 2011-03-31

    ubuntu linux which has released a very confusing version of the-desktop. Because it has a server, so the desktop is easy to be understood literally as the desktop version. And such people usually understand do not understand is what the rest of that

  • Ubuntu server version of the software source VIM configuration 2011-05-06

    LINUX started to write some programs. Installed Ubuntu-7.10 found some problems. VI starts, press the arrow keys will cause the screen to continue to print out the letters ABCD, the keyboard seems to lose control. VIM starts with a problem to solve,

  • ubuntu 11.4 binaries (tar.gz) install mysql 5.5.x 2011-08-31

    For some reason, I need to use a higher one o'clock version of mysql, but ubuntu using apt-get install mysql version is not the version I expected (I used to test the ubuntu-11-04 apt-get install mysql, mysql version is 5.1 .54; ubuntu-10-04 apt-get

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.037 (s). 11 q(s)