undefined method environment for nil:NilClass when importing Bootstrap