Ruby on Rails Thursday, April 14, 2016

I managed to get a "Hello World" app working... so what do need to do to
move the app from one server to another? This is apparently a SIMPLE
app and doesn't use a bunch of libraries and such. I though I could
just copy to directory tree over but that didn't seem to work.

The only clue I have is in the command "rake -T". it works beautifully
in the 'hello world' app dir but fails in the one I moved over:

[root@s928-apsaptip tip]# rake -T
rake aborted!
LoadError: cannot load such file -- initializer
/var/rails/tip/config/boot.rb:55:in `load_initializer'
/var/rails/tip/config/boot.rb:38:in `run'
/var/rails/tip/config/boot.rb:11:in `boot!'
/var/rails/tip/config/boot.rb:110:in `<top (required)>'
/var/rails/tip/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)

[root@s928-apsaptip tip]# rake -T --trace
rake aborted!
LoadError: cannot load such file -- initializer
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:119:in
`require'
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:119:in
`require'
/var/rails/tip/config/boot.rb:55:in `load_initializer'
/var/rails/tip/config/boot.rb:38:in `run'
/var/rails/tip/config/boot.rb:11:in `boot!'
/var/rails/tip/config/boot.rb:110:in `<top (required)>'
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:54:in
`require'
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:54:in
`require'
/var/rails/tip/Rakefile:4:in `<top (required)>'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in
`load'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in
`load_rakefile'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:689:in
`raw_load_rakefile'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:94:in
`block in load_rakefile'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:176:in
`standard_exception_handling'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:93:in
`load_rakefile'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:77:in
`block in run'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:176:in
`standard_exception_handling'
/usr/local/share/gems/gems/rake-11.1.2/lib/rake/application.rb:75:in
`run'
/usr/local/share/gems/gems/rake-11.1.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'

library issues?

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3d89ed51648a72038260583ed06b13b4%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment