You are not logged in.

#1 2013-07-17 06:12:28

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Fresh install ArchLinux > Setting up Octopress (git)

I had a project on my previous distro (on my laptop) made with Jekyll/Ruby called "Octopress", with that I hosted Github pages and pushed commits / changes to Github. Now I have to (re)setup all these things because I'm new to ArchLinux.

I used http://www.tomordonez.com/blog/2012/06/ … octopress/, http://jphenow.com/docs/setup/ and http://octopress.org/docs/deploying/github/ for my information. Now I'm doubting what I should install/do? Install git, rbenv or RVM, bundler (?), export SSH key, and how can I setup my environment like before?

Might be more a specific Github question but I've read about some Pygments wrapper issues and I want to know what is the way to go (my site/project is still active).

Anyone here that could help me a bit out? smile

Last edited by Anoniem (2013-07-17 07:04:42)

Offline

#2 2013-07-17 06:39:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fresh install ArchLinux > Setting up Octopress (git)

Not an Installation issue, moving to Apps & DEs.


You can recreate your Octopress setup with a ruby version manager (I recommend chruby) and installing ruby 1.9.3.* - it should work fine (I have migrated mine across a couple of boxes now).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-07-17 07:05:15

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Fresh install ArchLinux > Setting up Octopress (git)

Thanks I will try that, I cut my post in 2 topics, due the different things.

Offline

#4 2013-07-18 12:51:58

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Fresh install ArchLinux > Setting up Octopress (git)

How can I install Ruby?

I've made the package for chruby 0.3.6-1  and installed it (did echo 'source /usr/share/chruby/chruby.sh' >> ~/.bashrc and uncommented everything in sudo nano /etc/profile.d/chruby.sh).

Now what should I do? How can I install ruby and continue?

[XXXX@localhost ~]$ chruby
   *
[XXXX@localhost ~]$ 

Should I use ruby-build  from here? https://github.com/sstephenson/ruby-build

NB I'm a newbie (In case you all find me dumb)

Last edited by Anoniem (2013-07-18 13:11:10)

Offline

#5 2013-07-18 12:54:16

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Fresh install ArchLinux > Setting up Octopress (git)

Bytheway: I saved my old project in /home/XXX/octopress

Can't I just import SSH key again, after setting up GIT/Ruby etc, and put the folder again in /home/XXXX/octopress?

Offline

#6 2013-07-18 18:07:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fresh install ArchLinux > Setting up Octopress (git)

Read the chruby README: chruby is for managing ruby versions, so yes, you do use something like ruby-build for installing them (it's in the AUR).

You might be better off with one of the more "full-featured" version managers like rvm or rbenv if you are struggling with how it all hangs together...

You shouldn't need to import your key again, you should use the same key-pair to connect to github.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-10-02 21:42:05

Mr_and_Mrs_D
Member
Registered: 2015-09-16
Posts: 5

Re: Fresh install ArchLinux > Setting up Octopress (git)

I know it's ancient but since it's one of the first results (3rd) in google for "octopress arch" here's how I did it:

http://utumno.github.io/blog/2015/09/16 … rch-linux/

Offline

#8 2015-10-02 21:45:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fresh install ArchLinux > Setting up Octopress (git)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB