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 Info
PAY_LOGIN = ''
PAY_PASS = ''
# If this is defined then payment will use it
# If not it defaults to authorize.net
# This is so you can use auth.net's testing facilities
# or perhaps a service like 2CheckOut.com
PAY_URL = nil
# You don't always need this, but it's used if not nil
PAY_TRANS_KEY = nil
···
_________________________________________________________________
Not only does WindowsOff to school, going on a trip, or moving? Windows Live (MSN) Messenger lets you stay in touch with friends and family wherever you go. Click here to find out how to sign up! Live OneCare provide all-in-one PC care to keep your computer protected and well-maintained, but it also makes creating backup files a breeze. Try it today! http://www.telusmobility.com/msnxbox/