Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ikhthiandor: Looks like you are a beginner in the ruby/rails world. </p> <p>By running the <code>rake install</code> command, you are installing the default octopress theme using the <a href="http://en.wikibooks.org/wiki/Ruby_on_Rails/Built-In_Rails_Tools/What_is_Rake_anyway%3F" rel="nofollow">rake tool</a>. Not <code>trying to setup rake</code> as you mention in the question. </p> <p>The first error ( <code>Permission denied - source</code> when trying <code>mkdir -p source</code> - as you correctly guessed - is because the user doesn't have permissions to create that directory. </p> <p>The second error ( <code>no such file to load -- bundler/setup</code> ) is because the previous <code>install dependencies</code> steps are not performed correctly (for the user running this command). </p> <p>The install dependencies steps to be completed successfully are:</p> <pre><code>1. gem install bundler 2. rbenv rehash # If you use rbenv, rehash to be able to run the bundle command 3. bundle install </code></pre> <p>I am guessing you ran these steps successfully as 'ikhthiandor' user, so the bundler gem is not available for the 'sudo' user. </p> <p>You can fix this by either of the following options: </p> <ol> <li>changing permissions on <code>/opt/octopress</code> folder so that 'ikhthiandor' user has rights to create sub-folders/files within. </li> <li>Run all the commands in the <a href="http://octopress.org/docs/setup/" rel="nofollow">Octopress Setup doc</a> as 'sudo'</li> </ol> <p>Best practice would be to use either <a href="https://rvm.io/" rel="nofollow">rvm</a> or <a href="https://github.com/sstephenson/rbenv" rel="nofollow">rbenv</a> to manage custom installations of ruby environments per user (and not do everything as super user). </p> <p>If you are indeed a fresher in the ruby-rails world, and want to step up your knowledge of the tools and the best practices in the ruby/rails world, I suggest browsing through the first few chapters of the <a href="http://ruby.railstutorial.org/ruby-on-rails-tutorial-book" rel="nofollow">Ruby on Rails Tutorial</a> book that is available for free on-line. </p> <p>HTH</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload