# Execute environment - rake aborted! - no such file to load -

**URL:** <https://www.ruby-forum.com/t/execute-environment-rake-aborted-no-such-file-to-load/78740>\
**Category:** Ruby\
**Created:** [December 8, 2006, 6:55am UTC](https://www.ruby-forum.com/t/execute-environment-rake-aborted-no-such-file-to-load/78740 "2006-12-08T06:55:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 8, 2006, 6:55am UTC](https://www.ruby-forum.com/t/execute-environment-rake-aborted-no-such-file-to-load/78740/1 "2006-12-08T06:55:55Z")

</div>

Env: Ruby 1.8.5, Linux  
Any help would be greatly appreciated with this issue  
Thanks

This post contains:

1. rake --trace db:schema:load
2. gem list --local
3. environment.rb

1.////////////////////////////////////////////////////////////////////////////////////////////////////////  
root@server [/home/user/testapp]# rake --trace db:schema:load  
(in /home/user/testapp)  
\*\* Invoke db:schema:load (first\_time)  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
rake aborted!  
no such file to load – openssl  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require' /usr/local/lib/ruby/1.8/net/https.rb:102 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem\_original\_require’  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require’  
/usr/local/lib/ruby/gems/1.8/gems/payment-1.0.1/lib/payment.rb:29  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:33:in  
`gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require' /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:229:in `activate’  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:228:in `each' /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:228:in `activate’  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:66:in  
`active_gem_with_options' /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:59:in `require\_gem’  
/home/user/testapp/config/…/config/environment.rb:54  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/misc.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke’  
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in  
`invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in  
`invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke’  
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:18:in `load’  
/usr/local/bin/rake:18  
2./////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  
root@server [/home/user/testapp]# gem list --local

\*\*\* LOCAL GEMS \*\*\*

actionmailer (1.2.5)  
Service layer for easy email delivery and testing.

actionpack (1.12.5)  
Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.1.6)  
Web service support for Action Pack.

activerecord (1.14.4)  
Implements the ActiveRecord pattern for ORM.

activesupport (1.3.1)  
Support and utility classes used by the Rails framework.

builder (2.0.0)  
Builders for MarkUp.

fastercsv (1.0.0)  
FasterCSV is CSV, but faster, smaller, and cleaner.

fcgi (0.8.7)  
FastCGI library for Ruby.

mysql (2.7)  
MySQL/Ruby provides the same functions for Ruby programs that the  
MySQL C API provides for C programs.

needle (1.3.0)  
Needle is a Dependency Injection/Inversion of Control container for  
Ruby. It supports both type-2 (setter) and type-3 (constructor)  
injection. It takes advantage of the dynamic nature of Ruby to  
provide a rich and flexible approach to injecting dependencies.

net-ssh (1.0.10)  
Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.

payment (1.0.1)  
Payment is used to process credit cards and electronic cash through  
merchant accounts.

rails (1.1.6)  
Web-application framework with template engine, control-flow layer,  
and ORM.

rake (0.7.1)  
Ruby based make-like utility.

RedCloth (3.0.4)  
RedCloth is a module for using Textile and Markdown in Ruby.  
Textile  
and Markdown are text formats. A very simple text format. Another  
stab at making readable text that can be converted to HTML.

rmagick (1.14.1)  
RMagick is an interface between the Ruby programming language and  
the ImageMagick and GraphicsMagick image processing libraries.

rubygems-update (0.9.0)  
RubyGems Update GEM

shipping (1.3.0)  
A general shipping module to find out the shipping prices via UPS  
or  
FedEx.

sources (0.0.1)  
This package provides download sources for remote gem installation  
3.////////////////////////////////////////////////////////////////////////////////////////////////////////

# Be sure to restart your web server when you modify this file.

# Uncomment below to force Rails into production mode

# (Use only when you can’t set environment variables through your

web/app server)

# ENV[‘RAILS\_ENV’] ||= ‘production’

# Bootstrap the Rails environment, frameworks, and default

configuration  
require File.join(File.dirname( **FILE** ), ‘boot’)

Rails::Initializer.run do |config|

# Skip frameworks you’re not going to use

# config.frameworks -= [:action\_web\_service, :action\_mailer]

# Add additional load paths for your own custom dirs

# config.load\_paths += %W( #{RAILS\_ROOT}/extras )

# Force all environments to use the same logger level

# (by default production uses :info, the others :debug)

# config.log\_level = :debug

# Use the database for sessions instead of the file system

# (create the session table with ‘rake create\_sessions\_table’)

config.action\_controller.session\_store = :active\_record\_store

# Enable page/fragment caching by setting a file-based store

# (remember to create the caching directory and make it readable to

the application)

# config.action\_controller.fragment\_cache\_store = :file\_store,

“#{RAILS\_ROOT}/cache”

# Activate observers that should always be running

# config.active\_record.observers = :cacher, :garbage\_collector

# Make Active Record use UTC-base instead of local time

# config.active\_record.default\_timezone = :utc

# Use Active Record’s schema dumper instead of SQL when creating the

test database

# (enables use of different database adapters for development and

test environments)

# config.active\_record.schema\_format = :ruby

# See Rails::Configuration for more options

end

# Add new inflection rules using the following format

# (all these examples are active by default):

# Inflector.inflections do |inflect|

# inflect.plural /^(ox)$/i, ‘\1en’

# inflect.singular /^(ox)en/i, ‘\1’

# inflect.irregular ‘person’, ‘people’

# inflect.uncountable %w( fish sheep )

# end

# Include your application configuration below

require ‘rubygems’  
require\_gem ‘RedCloth’  
require\_gem ‘payment’  
require\_gem ‘fastercsv’

# Start up substruct

Engines.start :substruct

ActionMailer::Base.server\_settings = {  
:address =\> “”,  
:port =\> 25,  
:domain =\> “”,  
:authentication =\> :login,  
:user\_name =\> “”,  
:password =\> “”,  
}

# Globals

ERROR\_EMPTY = ‘Please fill in this field.’  
ERROR\_NUMBER = ‘Please enter only numbers (0-9) in this field.’

# Shipping Info - Get this from your boys at FedEx

SHIP\_FEDEX\_URL = ‘’  
SHIP\_FEDEX\_ACCOUNT = ‘’  
SHIP\_FEDEX\_METER = ‘’  
SHIP\_SENDER\_ZIP = ‘’  
SHIP\_SENDER\_COUNTRY = ‘’

# [Authorize.net](http://Authorize.net) Info

PAY\_LOGIN = ‘’  
PAY\_PASS = ‘’

# If this is defined then payment will use it

# If not it defaults to [authorize.net](http://authorize.net)

# This is so you can use [auth.net](http://auth.net)’s testing facilities

# or perhaps a service like [2CheckOut.com](http://2CheckOut.com)

PAY\_URL = nil

# You don’t always need this, but it’s used if not nil

PAY\_TRANS\_KEY = nil
