Leela
Leela

Reputation: 9

Ruby and Jekyll installation in Linux host without root

Can anyone help me installing ruby and jekyll packages in linux host under an application account without root access?

Upvotes: 0

Views: 149

Answers (1)

Segfault
Segfault

Reputation: 8290

If you want to install ruby on a server where you only have a user account and no root privileges, you can build it from source. RVM is a tool that can help with this, that can be installed locally. You may run into issues with missing tools (like a compiler) or dependencies. Depending on what is missing, you may be able to upload it to your user directory some where and continue trying to build ruby. How much work this will be depends on how much is already present on this host.

Although, I will go a bit further and say, if you're planning to use jekyll to generate a static site and server the pages from this linux host, it's probably going to be easier to install ruby and jekyll locally and generate the static site from your development computer, and just upload the results to the server.

Upvotes: 1

Related Questions