Load_paths on godaddy hosted account

I am trying to get typo to load on my godaddy account. I’ve loaded
other home grown apps and they work. I get issues when trying to load
libraries from my vendor directory.

In my enviroment.rb I have

config.load_paths += %W(
vendor/rubypants
vendor/akismet
vendor/redcloth/lib
vendor/bluecloth/lib
vendor/flickr
vendor/syntax/lib
vendor/sparklines/lib
vendor/uuidtools/lib
vendor/jabber4r/lib
vendor/rails/railties
vendor/rails/railties/lib
vendor/rails/actionpack/lib
vendor/rails/activesupport/lib
vendor/rails/activerecord/lib
vendor/rails/actionmailer/lib
vendor/rails/actionwebservice/lib
).map {|dir| “#{RAILS_ROOT}/#{dir}”}.select { |dir|
File.directory?(dir) }

and then
require ‘rubypants’

it can’t find rubypants. I looked at the rails source and it looks like
reading load_paths has been in there for a long time.

I can’t get any logging since the app didn’t load correctly.

I guess I could copy everything into lib, but that seems messy.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs