undefined method `timezone' for nil:NilClass

winston's Avatar

winston

04 Feb, 2015 09:12 PM

Hi Team

I got undefined method `timezone' for nil:NilClass error(attach image) when I run rails server. Can you have a look

Thanks

  1. Support Staff 1 Posted by Tasos Laskos on 04 Feb, 2015 09:22 PM

    Tasos Laskos's Avatar

    Hello there,

    I'm assuming you ran it from source, if so, can you please paste the steps you followed to set it up along with the branch you checked out?

    Cheers

  2. 2 Posted by winston on 04 Feb, 2015 09:40 PM

    winston's Avatar

    Hi Tasos,

    thanks for immediate response

    When I ran bundle install I got problem with libv8 and ruby racer so I changed the gemfile
    gem 'libv8', '~> 3.16.14.0' gem 'therubyracer', '0.12.1', platforms: :ruby Then I got problem pg then
    then uninstall pg and run
    sudo ARCHFLAGS="-arch x86_64" gem install pg then bundle was installed fine.
    rake db:migrate RAILS_ENV=development
    rails s

  3. Support Staff 3 Posted by Tasos Laskos on 04 Feb, 2015 10:02 PM

    Tasos Laskos's Avatar

    No worries.

    First off, here are some up-to-date instructions on working with the source: https://github.com/Arachni/arachni-ui-web/tree/framework-v1.1#linux...

    That's for the upcoming Framework v1.1 release branch, so if you don't mind I'd appreciate it if you tested it and provided feedback, that'll help speed the release process quite a bit -- ignore the Windows instructions for now.

    Also, is there a reason that you're working with the source and not using the official self-contained packages?
    Like I said, I could use some v1.1 testers right now, but in general you better stick to the packages -- unless you really need an unreleased fix or feature or something.

    Cheers

  4. 4 Posted by winston on 04 Feb, 2015 10:23 PM

    winston's Avatar

    Ok Thanks....

    There is nothing important not using official self-contained package.

  5. Support Staff 5 Posted by Tasos Laskos on 04 Feb, 2015 10:38 PM

    Tasos Laskos's Avatar

    Cool, closing this discussion for now, let me know if anything else comes up.

    Cheers

  6. Tasos Laskos closed this discussion on 04 Feb, 2015 10:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac