Displaying 4 results from an estimated 4 matches for "app_base".
Did you mean:
agp_base
2007 Jun 19
1
Reloader paths/
after investigating why the reloader wasnt working , i discovered 2 probs, one of which was sorta my fault (but will likely happen to others who make one-file apps)
first, my app was like this:
#!/usr/bn/env ruby
%w{applib1 applib2 digest/md80 airbus}.each{|r| require r}}
if __FILE__ == $0
Mongrel.config do
handler ''/'', Camping.reloader.new(__FILE__)
end
end
not
2012 Jun 07
2
load_missing_constant: Expected to define class in module
Hi I''m having some weird issues with Rails 3 and classes defined in
modules.
To be more precise I''ve created several files that define classes in the
AppBase module like:
module AppBase
class BackendMenu
[content omitted]
end
end
When a page tries to use the BackendMenu class like AppBase::BackendMenu
I get an error saying "Expected backend_menu.rb to define
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
....9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require''
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/lib/rails/generators/app_base.rb:1:in `<top (required)>''
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require''
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require''...
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here:
http://rubyonrails.org/download
however, when it came time to make a rails new path/etc/etc I get this
message:
Can''t initialize a new Rails application within the directory of
another, please change to a non-Rails directory first.
The only complication during the download was that I had to upgrade from
version 1.8.6 to