How to fix "ruby installation is missing psych (for YAML output)." on CentOS?view story

http://serverfault.com – After rvm installation on CentOS 5.8: [rails@localhost ~]$ rvm -v rvm 1.16.17 [rails@localhost ~]$ which ruby ~/.rvm/rubies/ruby-1.9.3-p286/bin/ruby [rails@localhost ~]$ ruby -v ruby 1.9.3p286 (2012-10-12 revision 37165) [i686-linux] [rails@localhost ~]$ which gem ~/.rvm/rubies/ruby-1.9.3-p286/bin/gem there is a warning: $ gem -v /home/rails/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/yaml.rb:5 (HowTos)

WPSCAN ERROR version 2.0rNAview story

http://www.backtrack-linux.org – I updated the wpscan to v2.0rNA, comes the error Code: [ERROR] no marshal_dump is defined for class Proc Trace : /pentest/web/wpscan/lib/cache_file_store.rb:61:in `dump' /pentest/web/wpscan/lib/cache_file_store.rb:61:in `block in write_entry' /pentest/web/wpscan/lib/cache_file_store.rb:60:in `open' /pentest/web/wpscan/lib/cache_file_store.rb:60:in `write_entry' /pentest/web/wpscan/lib/ (HowTos)

Canonical Releases Updated Enterprise Management Solution for Ubuntu Linuxview story

http://techcrunch.com – Ubuntu Linux, which started with the tagline “Linux for human beings,” was originally an easy to use Linux distribution for desktop users. Canonical picked what they considered to be the best of breed applications from the many thousands available in the Debian Linux distribution, put on a healthy dose of polish, and released their own version. (IT news)

For 1 domain, how can I use both WordPress and Rails?view story

http://serverfault.com – I have Rails installed for example.com, however, I want to use WordPress for my blog as well. So I want example.com/blog to be WordPress. The problem is, I want to have WordPress in a separate directory from the Rails, such as /srv/www/example-wp and have Rails in /srv/www/example-ruby. How can I separate this? (HowTos)

Installing Tomcat 6 on CentOS 6.3view story

http://serverfault.com – I have a CentOS 6.3 server with cPanel. (HowTos)

How to you specify alternative shell environments (shebangs)?view story

http://unix.stackexchange.com – In an executable file, you specify the environment using a shebang: #!/usr/bin/env ruby # ruby code here But what if you want to specify multiple possible environments? (HowTos)

How to get VIM to display 256 colors properlyview story

http://unix.stackexchange.com – I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: For how it should look google peaksea vim. (HowTos)

What advantages/features does Puppet or Chef offer over Salt (or vice versa)? [closed]view story

http://serverfault.com – I am looking at rolling out a new configuration management tool to replace our home-grown solution. The defacto standards are Chef and Puppet, both of which are Ruby-centric (though can be used to deploy non-Ruby environment, obviously). The vast majority of our development is done in Python and our in-house deployment tools make heavy use of Fabric. (HowTos)

How can I create a bash script which runs irb, then some ruby code?view story

http://unix.stackexchange.com – I'm trying to do this to make unit testing a breeze for myself. The contents of an example script in question are as follows: irb require 'random_utils.rb' a = SuccessChecker.new Right now this just opens irb. I'd like to be able to run arbitrary code afterward, so that I might make scripts to make my life easier by requiring files, instantiating classes, populating test conditions, etc. (HowTos)

Anyone tried Gitlab on Arch?view story

https://bbs.archlinux.org – I finally got it working, here are some of the changes I made.Change line 7 in ~/.bundler/ruby/1.9.1/pygments.rb-2cada028da50/lib/pygments/ffi.rb (the pygments.rb directory might be a little different, I'm not sure)def start(pygments_path = nil, opts = {})to:def start(pygments_path = nil, opts = {:python_exe => 'python2.7'})Install and start redis.pacman -S redis rc.d start redis (HowTos)