Results 1 to 2 of 2

Thread: rake aborted! when installing redmine on bluehost

  1. #1
    Join Date
    Jul 2012
    Posts
    1

    Lightbulb rake aborted! when installing redmine on bluehost

    Hi, guys, I was trying to install redmine by referencing this: http: // www . activesplit . com / how-to-install-redmine-on-bluehost/
    and all goes well until trying to do the storage initialization, which is written as the following on that page
    # initialize session storaga
    RAILS_ENV=production rake config/initializers/session_store.rb

    The message says:
    ----Erro information----
    (in /home6/NAME/public_html/NAMEX/app/redmine)
    rake aborted!
    no such file to load -- bundler/setup
    /home6/NAME/public_html/NAMEX/app/redmine/Rakefile:5

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

    I have searched, and some page says the bundler should be installed, but it seems that it installed already, as
    --#gem install bundler----
    Successfully installed bundler-1.1.4
    1 gem installed
    Installing ri documentation for bundler-1.1.4...
    Installing RDoc documentation for bundler-1.1.4...


    Any advises? Thanks,


    This is the environment.rb as asked to be modified one step before the initialization
    -----------environment.rb---------------
    # Load the rails application
    require File.expand_path('../application', __FILE__)
    ENV['GEM_PATH'] = '/usr/lib64/ruby/gems/1.8/'
    # Make sure there's no plugin in vendor/plugin before starting
    vendor_plugins_dir = File.join(Rails.root, "vendor", "plugins")
    if Dir.glob(File.join(vendor_plugins_dir, "*")).any?
    $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " +
    "Please, put your Redmine plugins in the `plugins` directory at the root of your " +
    "Redmine directory (#{File.join(Rails.root, "plugins")})"
    exit 1
    end

    # Initialize the rails application
    RedmineApp::Application.initialize!
    ----------environment.rb----
    Last edited by Bob Barr; 07-15-2012 at 12:42 PM. Reason: Live link disabled

  2. #2
    Join Date
    Sep 2006
    Location
    The Wasatch Front
    Posts
    172

    Default

    Comment out ENV['GEM_PATH'] in your environment.rb and try again. It *should* use your local gem path (where bundler is installed) as well then.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •