Displaying 4 results from an estimated 4 matches for "load_error".
2008 Mar 21
3
Error in new project boot.rb
....class.gem_version
is an assignment
Should this not read:
if version == self.class.gem_version
def load_rails_gem
if version = self.class.gem_version
gem ''rails'', version
else
gem ''rails''
end
rescue Gem::LoadError => load_error
$stderr.puts %(Missing the Rails #{version} gem. Please `gem
install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in
config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.)
exit 1
end
T...
2009 Dec 24
12
no such file to load -- ferret
Hi there,
I''m just trying to deploy my app to my vhost, and i''m getting an error
on the phusion passenger page:
no such file to load -- ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again? if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
--
You received
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
....class.load_rubygems
load_rails_gem
require ''initializer''
end
def load_rails_gem
if version = self.class.gem_version
gem ''rails'', version
else
gem ''rails''
end
rescue Gem::LoadError => load_error
$stderr.puts %(Missing the Rails #{version} gem. Please `gem install
-v=#{version} rails`, update your RAILS_GEM_VERSION setting in
config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.)
exit 1
end...
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
sudo gem install rails --include-dependencies
3) Then i made a rails applcation from terminal as
rails new demo
then
cd demo
ruby