Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8669289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:26:15+00:00 2026-06-12T18:26:15+00:00

I am trying to setup rake via this doc. http://octopress.org/docs/setup/ But I get some

  • 0

I am trying to setup rake via this doc.

http://octopress.org/docs/setup/

But I get some errors.

ikhthiandor@ikhthiandor-Satellite-L450:/opt/octopress$ rake install
## Copying classic theme into ./source and ./sass
mkdir -p source
rake aborted!
Permission denied - source

Tasks: TOP => install
(See full trace by running task with --trace)

With sudo I get this output.

ikhthiandor@ikhthiandor-Satellite-L450:/opt/octopress$ sudo rake install
rake aborted!
no such file to load -- bundler/setup

(See full trace by running task with --trace)

Here is a list of files in the directory.

ikhthiandor@ikhthiandor-Satellite-L450:/opt/octopress$ ls -a
.                   config.ru     .git        Rakefile         .slugignore
..                  _config.yml   .gitignore  .rbenv-version   .themes
CHANGELOG.markdown  Gemfile       plugins     README.markdown
config.rb           Gemfile.lock  .powrc      .rvmrc

How can I solve the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:26:17+00:00Added an answer on June 12, 2026 at 6:26 pm

    Ikhthiandor: Looks like you are a beginner in the ruby/rails world.

    By running the rake install command, you are installing the default octopress theme using the rake tool. Not trying to setup rake as you mention in the question.

    The first error ( Permission denied - source when trying mkdir -p source – as you correctly guessed – is because the user doesn’t have permissions to create that directory.

    The second error ( no such file to load -- bundler/setup ) is because the previous install dependencies steps are not performed correctly (for the user running this command).

    The install dependencies steps to be completed successfully are:

    1. gem install bundler
    2. rbenv rehash    # If you use rbenv, rehash to be able to run the bundle command
    3. bundle install
    

    I am guessing you ran these steps successfully as ‘ikhthiandor’ user, so the bundler gem is not available for the ‘sudo’ user.

    You can fix this by either of the following options:

    1. changing permissions on /opt/octopress folder so that ‘ikhthiandor’ user has rights to create sub-folders/files within.
    2. Run all the commands in the Octopress Setup doc as ‘sudo’

    Best practice would be to use either rvm or rbenv to manage custom installations of ruby environments per user (and not do everything as super user).

    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 Ruby on Rails Tutorial book that is available for free on-line.

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to setup a mysql database, but I am getting this error
I am trying to get my rails app to production but this is my
I'm trying to get delayed job to work as a rake task, but for
trying to setup drupal's taxonomy module ( http://drupal.org/project/taxonomy_access ) to administer access to specific
Trying to setup some validation on the add to cart button for the dropdown
Trying to setup and get going with the RestKit library for a cocoa project
I have been trying to setup git for our web development team unsuccessfully. Some
I'm trying to setup the application server part of C2DM push messaging using this
I'm trying to get the premailer gem working by following these instructions I've setup
Using this railscast http://railscasts.com/episodes/127-rake-in-background?autoplay=true as an example/inspiration (i.e. I'm not trying to implement the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.