English 中文(简体)
铁路:无此类文件装载——行动——运输
原标题:Rails: no such file to load -- action_dispatch

I cannot start my server, it really doesn t make sense. Traced the paths, found the gems, install, uninstalled, re-installed, and nothing seems to work. Installed on OS X via RVM. So here s the stats: $ which ruby /Users/Ross/.rvm/rubies/ruby-1.9.2-p180/bin/ruby

$ which rails
/Users/Ross/.rvm/gems/ruby-1.9.2-p180/bin/rails

$ which gem
/Users/Ross/.rvm/rubies/ruby-1.9.2-p180/bin/gem

$ gem list

*** LOCAL GEMS ***

actionmailer (3.1.3)
actionpack (3.1.3)
activemodel (3.1.3)
activerecord (3.1.3)
activeresource (3.1.3)
activesupport (3.1.3)
arel (2.2.1)
builder (3.0.0)
bundler (1.0.21)
erubis (2.7.0)
hike (1.2.1)
i18n (0.6.0)
json (1.6.4)
mail (2.3.0)
mime-types (1.17.2)
multi_json (1.0.4)
polyglot (0.3.3)
rack (1.3.6)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.1.3)
railties (3.1.3)
rake (0.9.2.2 ruby, 0.8.7)
rdoc (3.12)
rubygems-update (1.8.15)
sprockets (2.0.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31)

$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.15
  - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-darwin11.2.0]
  - INSTALLATION DIRECTORY: /Users/Ross/.rvm/gems/ruby-1.9.2-p180
  - RUBY EXECUTABLE: /Users/Ross/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/Ross/.rvm/gems/ruby-1.9.2-p180/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-11
  - GEM PATHS:
     - /Users/Ross/.rvm/gems/ruby-1.9.2-p180
     - /Users/Ross/.rvm/gems/ruby-1.9.2-p180@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

更新12/16/12-=>

Gemfile:

source  http://rubygems.org 
require  rubygems 

gem  rails 
gem  actionpack 
gem  jquery-rails 
gem  haml 
gem "devise", :git => "https://github.com/plataformatec/devise.git"
# gem  oa-core 
gem  omniauth 
gem  omniauth-openid 
gem  omniauth-twitter 
gem  omniauth-facebook 
gem  omniauth-github 
gem "settingslogic"
gem  composite_primary_keys 
gem  addressable 
gem  faraday 

# Bundle edge Rails instead:
# gem  rails , :git =>  git://github.com/rails/rails.git 

gem  pg 
gem  squeel 
gem  sqlite3 
gem  mysql2 ,  ~> 0.2.6 
gem "bcrypt-ruby", :require => "bcrypt"

group :development, :test do
  gem  rspec-rails 
  gem  ruby-debug19 , :require =>  ruby-debug 
  gem  hpricot , :require => false #html2haml
  gem  ruby_parser , :require => false # html2haml
  gem  pickle 
  gem  awesome_print , :require =>  ap 
  gem  factory_girl_rails 
end

group :development do
  gem  heroku , :require => false
  gem  sass 
end

group :test do
  gem  shoulda 
  gem  cucumber-rails 
  gem  spork ,  ~> 0.9.0.rc3 
  gem  guard-spork 
  gem  database_cleaner 
end
最佳回答

这是一种安全冲突;我不得不在地名录中清点所有档案。 所有人是根基,除非我想要起诉服务器,否则我只需要我的用户对所有档案拥有权利。

问题回答

暂无回答




相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签