WebFaction
Community site: login faq

I'm trying to install Octopress on Webfaction following this site.

The first step is installing ruby/rvm.

curl -L https://get.rvm.io | bash -s stable --ruby
rvm install 1.9.3
rvm use 1.9.3
rvm ruby gems latest

However, I got requested to give root id, and I couldn't proceed.

 Installing required packages: libyaml-devel, libffi-devel prosseek password required

Checking the ruby that I use is 1.9.4

$ ruby -v
ruby 1.9.3p448 (2013-06-27 revision 41675) [i386-linux]

Trying to install bundler, but I got error to use ruby 1.8.

gem install bundler
WARNING:  Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and
      /usr/local/bin aren't both writable.
WARNING:  You don't have /home/prosseek/.gem/ruby/1.8/bin in your PATH,
      gem executables will not run.
ERROR:  Error installing bundler:
    bundler requires RubyGems version >= 1.3.6

Trying to use gem 1.9 with `alias gem='/usr/local/bin/gem1.9', I got this error.

Fetching: bundler-1.5.2.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /usr/local/lib/ruby19/ruby/gems/1.9.1 directory.

How can I use Octopress on WebFaction?

ADDED

I was new to Octopress, so I asked the wrong question, but the answer was correct in terms of installing ruby. The thing was that I use my mac for editing blogs in Octopress, so the version in web faction doesn't matter. I just set the server address and use rake generate and rake deploy to publish the public directory into WebFaction.

In short, you don't need any ruby installation for using Octopress.

asked 17 Jan '14, 20:32

prosseek
48413
accept rate: 100%

edited 27 Feb '14, 17:11


Change the Setup & Installation section of the guide to:

# Step 1.  Install RVM and Ruby *1.9.3*  
curl -L https://get.rvm.io | bash
source $HOME/.rvm/scripts/rvm
rvm autolibs disable
rvm requirements
rvm install 1.9.3

# set it as your default and current ruby:
rvm --default use 1.9.3
rvm use 1.9.3

# and ensure that it's right:
ruby --version    # should show ruby 1.9.3p484

# Step 2. Clone octopress source
git clone git://github.com/imathis/octopress.git octopress
cd octopress

# Step 3. Dependency 
gem install bundler
bundle install
rake install

# rake is like make for Ruby
rake generate
permanent link

answered 17 Jan '14, 21:49

timg ♦♦
1.3k4
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×81
×3

question asked: 17 Jan '14, 20:32

question was seen: 1,935 times

last updated: 27 Feb '14, 17:11

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM