GithubHelp home page GithubHelp logo

scaffeinate / socify Goto Github PK

View Code? Open in Web Editor NEW
375.0 30.0 211.0 1.71 MB

:rocket: Socify is an open source social networking platform written in Ruby on Rails

Home Page: http://socifyapp.herokuapp.com

License: GNU General Public License v2.0

Ruby 64.56% JavaScript 2.62% CSS 4.55% HTML 28.27%
rails ruby social-network socify heroku

socify's Introduction

Socify

Socify is an open source social networking platform written in Ruby on Rails. Here is the blog post: How to build a social network using Rails.

Heroku

Do you want to see it in action? Here is a working version deployed to heroku http://socifyapp.herokuapp.com

UPDATE

Since my cloudinary free tier hit a bandwidth overload. So had to switch to AWS. If you plan on deploying to production please set the AWS key and secret as environment variables. Or you can checkout the older version which uses cloudinary https://github.com/sudharti/socify/tree/930b2f7c6a6eb6b442189dc6237765dbf16d461c

UPDATE #2

Updated the Rails version to 5.0. Thanks to @briankung for the Pull Request. There are some more things to be upgraded which will be done shortly. Refer this for the list of changes to be done https://hashrocket.com/blog/posts/how-to-upgrade-to-rails-5.

What it uses?

How do I get set up?

To set it up on your local machine here is what you need to do. Install Ruby & Rails. Clone this repo using the following command:

git clone https://github.com/sudharti/socify
cd socify

Then resolve dependencies using bundler:

bundle install

Run Migrations:

rake db:migrate

Run rails using

rails server

Populate Mock data

To test the app with mock data by running the following rake task:

rake fill:data

This will create records with values from faker & populator gems. Also here are the test user credentials:

Screenshots

index home profile post find_friends

Pull Requests

  • Fork this repo
  • Make changes to code
  • Send Pull Request

Issues

If you find any issue with the app please do raise an issue here https://github.com/sudharti/socify/issues

License

This project is Licensed under the GNU GPL V2. See LICENSE for more info.

socify's People

Contributors

briankung avatar leobogod22 avatar peterortiz82 avatar piupius avatar scaffeinate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

socify's Issues

Did not send the confirmation email

i`ve tried to signup but the app did not send the email.
and if i try to resend show a error!

**

We're sorry, but something went wrong.
If you are the application owner check the logs for more information.

**

Error when logging-in

Hi,
Thank you for the Medium article and this repo.
I just got the error You have to confirm your email address before continuing when trying to log-in with the credentials.
Can you help ?
Thank you :)

Change Menu Options

When logged in, how can i move the newsfeed and other links to the left side under avatar icon vs being on the right? Also how can I make a drop down menu or add more options to nav bar?

Photo Album features

I have seen in other branch that the feature is implemented but in master not appear. ยฟWhy?

AWS Setup and Error

when trying to push to heroku master

remote: rake aborted!
remote: ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key

Please help ASAP

Migration Error

I got a clone of the project and tried to run it.

When connecting to localhost:3000 I get the error ActiveRecord::PendingMigrationError.
I tried to fix it but nothing worked.

Could you help me with this error?

sqlite3 to postgresql

tried everything but cannot figure out plz post with empty postgresql database set and how to set it

Error when rake fill:data

C:\Sites\socify>rake fill:data

Erasing existing data

rake aborted!
NoMethodError: undefined method auto_html_for' for Post (call 'Post.connection' to establish a connection):Class C:/Sites/socify/app/models/post.rb:23:inclass:Post'
C:/Sites/socify/app/models/post.rb:5:in <top (required)>' C:/Sites/socify/lib/tasks/populate.rake:9:inblock (2 levels) in <top (required)>'
Tasks: TOP => fill:data
(See full trace by running task with --trace)

Problem in Heroku Deploy

i am getiing this error while deploying my ruby app society -

ubuntu@ubuntu-HP-Compaq-dc7800p-Convertible-Minitower:/society$ git push heroku master
Counting objects: 274, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (255/255), done.
Writing objects: 100% (274/274), 125.95 KiB | 0 bytes/s, done.
Total 274 (delta 51), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/.............
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Installing rake 11.2.2
remote: Installing i18n 0.7.0
remote: Installing json 1.8.3 with native extensions
remote: Installing minitest 5.9.0
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.1.0
remote: Installing pkg-config 1.1.7
remote: Installing rack 1.6.4
remote: Installing mime-types-data 3.2016.0521
remote: Installing arel 6.0.3
remote: Installing acts_as_follower 0.2.1
remote: Installing acts_as_commentable 4.0.2
remote: Installing acts_as_votable 0.10.0
remote: Installing bcrypt 3.1.11 with native extensions
remote: Installing sass 3.4.22
remote: Installing mimemagic 0.3.2
remote: Installing coffee-script-source 1.10.0
remote: Installing execjs 2.7.0
remote: Installing thor 0.19.1
remote: Installing concurrent-ruby 1.0.2
remote: Installing orm_adapter 0.5.0
remote: Installing multi_json 1.12.1
remote: Using bundler 1.11.2
remote: Installing jquery-atwho-rails 1.3.2
remote: Installing mysql2 0.4.4 with native extensions
remote: Installing rails_serve_static_assets 0.0.5
remote: Installing rails_stdout_logging 0.0.5
remote: Installing tilt 2.0.5
remote: Installing turbolinks-source 5.0.0
remote: Installing will_paginate 3.1.0
remote: Installing tzinfo 1.2.2
remote: Installing rdoc 4.2.2
remote: Installing nokogiri 1.6.8 with native extensions
remote: Installing rack-test 0.6.3
remote: Installing warden 1.2.6
remote: Installing mime-types 3.1
remote: Installing bootstrap-sass 3.2.0.2
remote: Installing coffee-script 2.4.1
remote: Installing uglifier 3.0.1
remote: Installing sprockets 3.7.0
remote: Installing rails_12factor 0.0.3
remote: Installing turbolinks 5.0.1
remote: Installing activesupport 4.2.6
remote: Installing sdoc 0.4.1
remote: Installing rails-deprecated_sanitizer 1.0.3
remote: Installing mail 2.6.4
remote: Installing globalid 0.3.7
remote: Installing activemodel 4.2.6
remote: Installing jbuilder 2.6.0
remote: Installing activejob 4.2.6
remote: Installing activerecord 4.2.6
remote: Installing carrierwave 0.11.2
remote: Installing loofah 2.0.3
remote: Installing rails-dom-testing 1.0.7
remote: Installing rails-html-sanitizer 1.0.3
remote: Installing actionview 4.2.6
remote: Installing actionpack 4.2.6
remote: Installing actionmailer 4.2.6
remote: Installing railties 4.2.6
remote: Installing sprockets-rails 3.1.1
remote: Installing coffee-rails 4.1.1
remote: Installing font-awesome-rails 4.6.3.1
remote: Installing responders 2.3.0
remote: Installing jquery-rails 4.1.1
remote: Installing public_activity 1.5.0
remote: Installing rails 4.2.6
remote: Installing sass-rails 5.0.6
remote: Installing devise 4.2.0
remote: Bundle complete! 23 Gemfile dependencies, 70 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Post-install message from rdoc:
remote: Depending on your version of ruby, you may need to install ruby rdoc/ri data:
remote: <= 1.8.6 : unsupported
remote: = 1.8.7 : gem install rdoc-data; rdoc-data --install
remote: = 1.9.1 : gem install rdoc-data; rdoc-data --install
remote: >= 1.9.2 : nothing to do! Yay!
remote: Bundle completed (25.55s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: NameError: uninitialized constant AvatarUploader::Cloudinary
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/app/uploaders/avatar_uploader.rb:10:in <class:AvatarUploader>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/app/uploaders/avatar_uploader.rb:3:in<top (required)>'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/app/models/user.rb:15:in <class:User>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/app/models/user.rb:1:in<top (required)>'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in const_get' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:inblock in constantize'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in each' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:ininject'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in constantize' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise.rb:301:inget'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/mapping.rb:81:in to' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/mapping.rb:76:inmodules'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/mapping.rb:93:in routes' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/mapping.rb:160:indefault_used_route'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/mapping.rb:70:in initialize' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise.rb:331:innew'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise.rb:331:in add_mapping' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:241:inblock in devise_for'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in each' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:indevise_for'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/config/routes.rb:5:in block in <top (required)>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:ininstance_exec'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:in eval_block' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:410:indraw'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/config/routes.rb:1:in <top (required)>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:inblock in load_paths'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in each' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:inload_paths'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:16:in reload!' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:26:inblock in updater'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/file_update_checker.rb:75:in call' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/file_update_checker.rb:75:inexecute'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:27:in updater' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:ininstance_exec'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in run' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:inblock in run_initializers'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in run_initializers' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:352:ininitialize!'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/config/environment.rb:5:in <top (required)>' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:328:inrequire_environment!'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:457:in block in run_tasks_blocks' remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:62:inblock (2 levels) in define'
remote: /tmp/build_2510ec9e0d74081dcb21a288068cdad0/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to societyapp.
remote:
To https://git.heroku.com/societyapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/societyapp.git'
ubuntu@ubuntu-HP-Compaq-dc7800p-Convertible-Minitower:
/society$

Error at signup

Hello,

I followed the instructions, generated my AWS Keys and configured SendGrid with my SMTP username and password. Now the app is running fine on Heroku until I try to sign up, it gives me the following error:

image

Here's my log file:
image

Any sugggestions?
Thanks

Displaying html in newsfeed

In Newsfeed the html tags like &nbsp and <br> etc. are displayed whenever there is a new activity
like this
screenshot

Error

After sucesfull installation of ROR and posgresQL : I have run the command ๐Ÿ‘
git clone https://github.com/sudharti/socify cd socify bundle install

got this error

screen shot 2017-08-05 at 15 31 47

The i creat new sudo user by running ๐Ÿ‘
adduser swap2
su - swap2
i dropped into

swap2@soucify
As my instance name is socify

Than i tried to cd socify but didn't get it

Then i run the above mentioned command as sudo user ๐Ÿ‘

sudo apt install ruby-bundler
rake db:create
got this error
screen shot 2017-08-05 at 16 04 03
screen shot 2017-08-05 at 16 04 03

sudo apt install ruby-railties

i think i am going wrong . how to run the commands

bundle install
rake db:create
rails server

As sudo -user ? I hope that you got it.

I just added the rake gem
gem install rake
and run the command

bundle install

got this error

screen shot 2017-08-05 at 18 40 33

Try to install the rake from bundle install rake. But got this error

screen shot 2017-08-05 at 18 52 31

After installing rake and running the command rake db:create got this ๐Ÿ‘
screen shot 2017-08-05 at 18 56 40

Thanks

Event Calendar

The event calendar only provides access to past dates, not future dates

ETIMEDOUT: connect ETIMEDOUT 50.19.103.36:5000

I am from INDIA. I am getting ETIMEDOUT: connect ETIMEDOUT 50.19.103.36:5000 while i trying heroku run bash command and same when trying heroku run rake db:migrate.
I also tried telnet rendezvous.runtime.heroku.com 5000 but it shows
telnet: Unable to connect to remote host: Connection timed out.
Is it port block problem, if yes then how to solve it.

Note error

after all steps I get this error
Current ExecJS runtime does't support ES5. Please install node.js. (in C:/Sites/socify/app/assets/stylesheets/application.css.scss)

Problem in Heroku Deploy

I apologize but its very important for me. Now i am getting this error while deploying.

ubuntu@ubuntu-HP-Compaq-dc7800p-Convertible-Minitower:/society$ git push heroku master
Counting objects: 359, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (338/338), done.
Writing objects: 100% (359/359), 146.53 KiB | 0 bytes/s, done.
Total 359 (delta 98), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/.Retrying dependency api due to error (2/4): Bundler::MarshalError ArgumentError: marshal data too short
remote: ........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Installing i18n 0.7.0
remote: Installing CFPropertyList 2.3.2
remote: Installing rake 11.2.2
remote: Installing minitest 5.9.0
remote: Installing json 1.8.3 with native extensions
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.1.0
remote: Installing pkg-config 1.1.7
remote: Installing rack 1.6.4
remote: Installing mime-types-data 3.2016.0521
remote: Installing arel 6.0.3
remote: Installing acts_as_commentable 4.0.2
remote: Installing acts_as_follower 0.2.1
remote: Installing acts_as_votable 0.10.0
remote: Installing redcarpet 3.3.4 with native extensions
remote: Installing rinku 1.5.1 with native extensions
remote: Installing execjs 2.7.0
remote: Installing aws_cf_signer 0.1.3
remote: Installing bcrypt 3.1.11 with native extensions
remote: Installing sass 3.4.22
remote: Installing mimemagic 0.3.2
remote: Installing unf_ext 0.0.7.2 with native extensions
remote: Installing netrc 0.11.0
remote: Installing coffee-script-source 1.10.0
remote: Installing thor 0.19.1
remote: Installing concurrent-ruby 1.0.2
remote: Installing crass 1.0.2
remote: Installing orm_adapter 0.5.0
remote: Installing excon 0.52.0
remote: Installing formatador 0.2.5
remote: Installing multi_json 1.12.1
remote: Installing ipaddress 0.8.3
remote: Installing xml-simple 1.1.5
remote: Installing inflecto 0.0.2
remote: Installing trollop 2.1.2
remote: Installing jquery-atwho-rails 1.3.2
remote: Installing kgio 2.10.0 with native extensions
remote: Installing pg 0.18.4 with native extensions
remote: Installing populator 1.0.0
remote: Using bundler 1.11.2
remote: Installing rails_serve_static_assets 0.0.5
remote: Installing rails_stdout_logging 0.0.5
remote: Installing raindrops 0.17.0 with native extensions
remote: Installing tilt 2.0.5
remote: Installing will_paginate 3.0.7
remote: Installing fission 0.5.0
remote: Installing faker 1.6.6
remote: Installing tzinfo 1.2.2
remote: Installing nokogiri 1.6.8 with native extensions
remote: Installing rack-test 0.6.3
remote: Installing warden 1.2.6
remote: Installing mime-types 3.1
remote: Installing autoprefixer-rails 6.4.0.2
remote: Installing uglifier 3.0.2
remote: Installing auto_html 1.6.4
remote: Installing bootstrap-sass 3.2.0.2
remote: Installing coffee-script 2.4.1
remote: Installing sprockets 3.7.0
remote: Installing fog-core 1.42.0
remote: Installing unf 0.1.4
remote: Installing rails_12factor 0.0.3
remote: Installing activesupport 4.2.6
remote: Installing mail 2.6.4
remote: Installing fog-json 1.0.2
remote: Installing unicorn 5.1.0 with native extensions
remote: Installing fog-local 0.3.0
remote: Installing fog-vmfusion 0.1.0
remote: Installing domain_name 0.5.20160615
remote: Installing rails-deprecated_sanitizer 1.0.3
remote: Installing globalid 0.3.7
remote: Installing activemodel 4.2.6
remote: Installing fog-aliyun 0.1.0
remote: Installing fog-brightbox 0.11.0
remote: Installing fog-openstack 0.1.11
remote: Installing fog-sakuracloud 1.7.5
remote: Installing fog-serverlove 0.1.2
remote: Installing fog-softlayer 1.1.4
remote: Installing fog-storm_on_demand 0.1.1
remote: Installing http-cookie 1.0.2
remote: Installing activejob 4.2.6
remote: Installing activerecord 4.2.6
remote: Installing carrierwave 0.11.2
remote: Installing rails-dom-testing 1.0.7
remote: Installing loofah 2.0.3
remote: Installing fog-xml 0.1.2
remote: Installing rbvmomi 1.8.2
remote: Installing nokogumbo 1.4.9 with native extensions
remote: Installing rest-client 2.0.0
remote: Installing after_commit_action 1.0.1
remote: Installing friendly_id 5.0.5
remote: Installing rails-html-sanitizer 1.0.3
remote: Installing fog-atmos 0.1.0
remote: Installing fog-cloudatcost 0.1.2
remote: Installing fog-aws 0.11.0
remote: Installing fog-dynect 0.0.3
remote: Installing fog-ecloud 0.3.0
remote: Installing fog-google 0.1.0
remote: Installing fog-powerdns 0.1.1
remote: Installing fog-profitbricks 0.0.5
remote: Installing fog-rackspace 0.1.1
remote: Installing fog-radosgw 0.0.5
remote: Installing fog-riakcs 0.1.0
remote: Installing fog-terremark 0.1.0
remote: Installing fog-voxel 0.1.0
remote: Installing fog-xenserver 0.2.3
remote: Installing fog-vsphere 1.0.1
remote: Installing cloudinary 1.2.3
remote: Installing counter_culture 0.1.34
remote: Installing actionview 4.2.6
remote: Installing fog 1.38.0
remote: Installing actionpack 4.2.6
remote: Installing actionmailer 4.2.6
remote: Installing railties 4.2.6
remote: Installing sprockets-rails 3.1.1
remote: Installing coffee-rails 4.1.1
remote: Installing responders 2.3.0
remote: Installing font-awesome-rails 4.6.3.1
remote: Installing jquery-rails 4.2.1
remote: Installing public_activity 1.5.0
remote: Installing rails 4.2.6
remote: Installing sass-rails 5.0.6
remote: Installing devise 4.2.0
remote: Installing sanitize 4.1.0
remote: Bundle complete! 35 Gemfile dependencies, 125 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Bundle completed (60.16s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/fog-core-1.42.0/lib/fog/core/service.rb:244:in validate_options' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/fog-core-1.42.0/lib/fog/core/service.rb:268:inhandle_settings'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/fog-core-1.42.0/lib/fog/core/service.rb:98:in new' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/fog-core-1.42.0/lib/fog/core/services_mixin.rb:16:innew'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/fog-core-1.42.0/lib/fog/storage.rb:27:in new' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/carrierwave-0.11.2/lib/carrierwave/uploader/configuration.rb:83:ineager_load_fog'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/carrierwave-0.11.2/lib/carrierwave/uploader/configuration.rb:96:in fog_credentials=' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/config/initializers/carrierwave.rb:3:inblock in <top (required)>'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/carrierwave-0.11.2/lib/carrierwave/uploader/configuration.rb:118:in configure' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/carrierwave-0.11.2/lib/carrierwave.rb:14:inconfigure'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/config/initializers/carrierwave.rb:1:in <top (required)>' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:inload'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in block in load' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:inload_dependency'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:652:inblock in load_config_initializer'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in instrument' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:651:inload_config_initializer'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in block (2 levels) in <class:Engine>' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:ineach'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in block in <class:Engine>' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:ininstance_exec'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in run' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:inblock in run_initializers'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in each' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:intsort_each_child'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in run_initializers' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:352:ininitialize!'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/config/environment.rb:5:in <top (required)>' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:inrequire'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in block in require' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:inload_dependency'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:328:inrequire_environment!'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:457:in block in run_tasks_blocks' remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:62:inblock (2 levels) in define'
remote: /tmp/build_8d794e2710d7b49a467b0718d04f77cd/vendor/bundle/ruby/2.2.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to societyapp.
remote:
To https://git.heroku.com/societyapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/societyapp.git'
ubuntu@ubuntu-HP-Compaq-dc7800p-Convertible-Minitower:
/society$ ^C

Can't upload images

I tried uploading an image as a post and another as a profile picture and got the "We're sorry; something went wrong" message both times. I've tried with various file formats and sizes of images. Mentions also give me this error.

Can't update posts

After looking into it briefly, it seems like the javascript targets $('#new_post'), which doesn't exist when editing a post. Thoughts on how to solve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.