Skip to content

Linux PATH has "[]" , some file can not loaded by rails ?  #5521

@daigong

Description

@daigong

if app path has "[]", for example, My app is in "/home/daigong/[]/app_name"

My OS is Ubuntu11.10_x86_64

Rails version is 3.1

when I run script/rails s , get warning:

"
You did not specify how you would like Rails to report deprecation notices for your development environment, please set config.active_support.deprecation to :log at config/environments/development.rb
"

when I viste my site ,get error:

"
A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb
"

but same app at path ( for example, " /home/daigong/app_name/ ") ,all is ok... no waring,no error

I think this is a path problom, if app_path has "[]" chars , some file can not loaded by rails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions