On 19 December 2015 at 21:37, tom <[email protected]> wrote:
> hi collin,
>
> this is a ror3 app which i have convertred to a ror4 app - but it was all
> good and i even deployed it couple of times. not sure what changed in the
> last 10 days, in fact i havent changed anything...
Go back to the last working version from you source control system.
Something must have changed, either the app or the environment.
Do you get any errors when you run
bundle install
If not then post your Gemfile.lock
Colin
> for sanity check i took a application.rb file from a new app and replaced
> mine with it after renaming the module - but same error.
> how can i trace that down?
>
> ----------require File.expand_path('../boot', __FILE__)
>
> require 'rails/all'
>
> # Require the gems listed in Gemfile, including any gems
> # you've limited to :test, :development, or :production.
> Bundler.require(*Rails.groups)
>
> module SomeNameHere
> class Application < Rails::Application
> # Settings in config/environments/* take precedence over those specified
> here.
> # Application configuration should go into files in config/initializers
> # -- all .rb files in that directory are automatically loaded.
>
> # Set Time.zone default to the specified zone and make Active Record
> auto-convert to this zone.
> # Run "rake -D time" for a list of tasks for finding time zone names.
> Default is UTC.
> # config.time_zone = 'Central Time (US & Canada)'
>
> # The default locale is :en and all translations from
> config/locales/*.rb,yml are auto loaded.
> # config.i18n.load_path += Dir[Rails.root.join('my', 'locales',
> '*.{rb,yml}').to_s]
> # config.i18n.default_locale = :de
>
> # Do not swallow errors in after_commit/after_rollback callbacks.
> config.active_record.raise_in_transactional_callbacks = true
> end
> end
>
>
>
> On Sat, Dec 19, 2015 at 4:57 AM, Colin Law <[email protected]> wrote:
>>
>> n 18 December 2015 at 19:58, tom <[email protected]> wrote:
>> > hi, need help with a rails 4 app:
>> >
>> > $ bundle exec rails s -b 0.0.0.0 -p 3001
>> >
>> > /home/administrator/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78:
>> > warning: Insecure world writable dir /home/administrator/.rvm/gems in
>> > PATH,
>> > mode 042777
>> >
>> > /home/administrator/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78:
>> > warning: Insecure world writable dir /home/administrator/.rvm/gems in
>> > PATH,
>> > mode 042777
>> >
>> > /home/administrator/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78:
>> > warning: Insecure world writable dir /home/administrator/.rvm/gems in
>> > PATH,
>> > mode 042777
>> >
>> > /home/administrator/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in
>> > `require': cannot load such file -- global (LoadError)
>>
>> Can you post your application.rb here please.
>>
>> Colin
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsG028uiNyPmpGcHrdqSBY72DwjndmS5VjsicZ8RC%3DPhQ%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfxuFE22pqxhL4OmW3J%2B7W-QEkr%3DPYfSnDTi%3DGaTBz7TA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLs25F%3Dav5hoxsK1rvEwWty3uDQfmfFUD_wXd-_RVmxvqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.