This commit is contained in:
ethicalhack3r
2014-07-11 17:03:24 +02:00

View File

@@ -112,7 +112,7 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install
Update cURL to version => 7.21.7 (may have to install from source). Update cURL to version => 7.21.7 (may have to install from source).
Installation from sources : Installation from sources :
```
Grab the sources from http://curl.haxx.se/download.html Grab the sources from http://curl.haxx.se/download.html
Decompress the archive Decompress the archive
Open the folder with the extracted files Open the folder with the extracted files
@@ -120,19 +120,19 @@ Apple Xcode, Command Line Tools and the libffi are needed (to be able to install
Run make Run make
Run sudo make install Run sudo make install
Run sudo ldconfig Run sudo ldconfig
```
- cannot load such file -- readline: - cannot load such file -- readline:
```sudo aptitude install libreadline5-dev libncurses5-dev``` sudo aptitude install libreadline5-dev libncurses5-dev
Then, open the directory of the readline gem (you have to locate it) Then, open the directory of the readline gem (you have to locate it)
```
cd ~/.rvm/src/ruby-1.9.2-p180/ext/readline cd ~/.rvm/src/ruby-1.9.2-p180/ext/readline
ruby extconf.rb ruby extconf.rb
make make
make install make install
```
See [http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/](http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/) for more details See [http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/](http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/) for more details