diaspora* Environment setup

38 views
Skip to first unread message

chathurika senani

unread,
Mar 13, 2017, 5:27:52 AM3/13/17
to diaspora-dev
I have Folked and cloned https://github.com/diaspora/diaspora, this repository to my local computer. And I want to start contributing to this project and searched for a document to setup the environment. Can anyone help e on this.
I have installed Ruby on my machine.

ruby -v
ruby
1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

Where can I start diaspora development and how to start?

chathurika senani

unread,
Mar 13, 2017, 3:16:49 PM3/13/17
to diaspora-dev
https://wiki.diasporafoundation.org/Installation/Ubuntu/Trusty I found this and started following this article. While proceeding I met with this problem. Could not proceed installing bundle

ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]

cd diaspora/
bundle install
/usr/local/lib/site_ruby/1.9.1/rubygems.rb:270:in `find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
    from /usr/local/lib/site_ruby/1.9.1/rubygems.rb:298:in `
activate_bin_path'
    from /usr/bin/bundle:22:in `<main>'


sudo bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rails-assets.org/....
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rails-assets.org/..
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rails-assets.org/..
Fetching dependency metadata from https://rubygems.org/..
Fetching gem metadata from https://rails-assets.org/....
Fetching version metadata from https://rails-assets.org/..
Fetching dependency metadata from https://rails-assets.org/..
Using rake 12.0.0
Using i18n 0.8.1
Using minitest 5.10.1
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.5
Installing mime-types-data 3.2016.0521
Using arel 6.0.4
Installing public_suffix 2.0.5
Using excon 0.55.0
Using formatador 0.2.5
Using unf_ext 0.0.7.2
Using ast 2.3.0
Using attr_required 1.0.1
Using execjs 2.7.0
Using bcrypt 3.1.11
Using bindata 2.3.5
Using sass 3.4.23
Using bootstrap-switch-rails 3.3.3
Using buftok 0.2.0
Installing byebug 9.0.6 with native extensions
Using json 1.8.6
Using mimemagic 0.3.2
Using hitimes 1.2.4
Installing nio4r 2.0.0 with native extensions
Using chunky_png 1.3.8
Using cliver 0.3.2
Using coderay 1.1.1
Using coffee-script-source 1.12.2
Using thor 0.19.1
Using multi_json 1.12.1
Using rb-fsevent 0.9.8
Using ffi 1.9.17
Using hike 1.2.3
Using tilt 1.4.1
Using concurrent-ruby 1.0.5
Using configurate 0.3.1
Using connection_pool 2.2.1
Using docile 1.1.5
Using simplecov-html 0.10.0
Installing tins 1.13.2
Using safe_yaml 1.0.4
Using gherkin 4.0.0
Using cucumber-wire 0.0.1
Using diff-lcs 1.3
Using multi_test 0.1.2
Using rspec-support 3.5.0
Using database_cleaner 1.5.3
Using orm_adapter 0.5.0
Using bundler 1.14.6
Using diaspora-prosody-config 0.0.7
Using multipart-post 2.0.0
Using valid 1.2.0
Using systemu 2.6.5
Using equalizer 0.0.11
Using sigar 0.7.3
Using state_machines 0.4.0
Using ipaddress 0.8.3
Using ruby-progressbar 1.8.1
Using get_process_mem 0.2.1
Using multi_xml 0.6.0
Using unicode-display_width 1.1.3
Using request_store 1.3.2
Installing ruby_dep 1.5.0
Using lumberjack 1.0.11
Using nenv 0.3.0
Using shellany 0.0.1
Using method_source 0.8.2
Using slop 3.6.0
Using guard-compat 1.2.1
Using powerpack 0.1.1
Using rainbow 2.2.1
Using sysexits 1.2.0
Using temple 0.8.0
Using hashdiff 0.3.2
Using hashie 3.5.5
Using http-form_data 1.0.1
Using http_parser.rb 0.6.0
Using http_accept_language 2.1.0
Using httpclient 2.8.3
Using jasmine-core 2.5.2
Using phantomjs 2.1.1.0
Using jasmine-jquery-rails 2.0.3
Using securecompare 1.0.0
Using url_safe_base64 0.2.2
Using jwt 1.5.6
Using kgio 2.11.0
Using leaflet-rails 0.7.7
Using little-plugger 1.1.4
Using markerb 1.1.0
Using mini_magick 4.6.1
Using naught 1.1.0
Using nested_form 0.3.2
Using oauth 0.5.1
Using websocket-extensions 0.1.2
Installing rugged 0.25.1.1 with native extensions
Using rack-cors 0.4.1
Using rack-piwik 0.3.0
Using rack-rewrite 1.5.1
Using rails-assets-autosize 3.0.20
Using rails-assets-underscore 1.8.3
Using rails-assets-blueimp-gallery 2.25.0
Using rails-assets-jquery 2.2.4
Using rails-assets-emojione 2.0.1
Using rails-assets-favico.js 0.3.10
Using rails-assets-jquery-fullscreen-plugin 0.5.0
Using rails-assets-jquery.slimscroll 1.3.8
Using rails-assets-fine-uploader 5.13.0
Using rails-assets-highlightjs 9.9.0
Using rails-assets-jasmine 2.5.2
Using rails-assets-markdown-it 8.3.0
Using rails-assets-markdown-it--markdown-it-for-inline 0.1.1
Using rails-assets-markdown-it-diaspora-mention 1.2.0
Using rails-assets-markdown-it-hashtag 0.4.0
Using rails-assets-markdown-it-sanitizer 0.4.3
Using rails-assets-markdown-it-sub 1.0.0
Using rails-assets-markdown-it-sup 1.0.0
Using rails-assets-perfect-scrollbar 0.6.16
Using remotipart 1.3.1
Using raindrops 0.17.0
Using redcarpet 3.4.0
Using redis 3.3.3
Using ruby-oembed 0.10.1
Using rubyzip 1.2.1
Using useragent 0.16.8
Using simple_oauth 0.3.1
Using yard 0.9.8
Using timecop 0.8.1
Using turbo_dev_assets 0.0.2
Using will_paginate 3.1.5
Using i18n-inflector 2.6.7
Using tzinfo 1.2.2
Using memoizable 0.4.2
Installing nokogiri 1.7.0.1 with native extensions
Using rack-test 0.6.3
Using warden 1.2.7
Using rack-mobile-detect 0.4.0
Using rack-protection 1.5.3
Using rack-ssl 1.4.1
Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
An error occurred while installing mime-types-data (3.2016.0521),
and Bundler cannot continue.
Make sure that `gem install mime-types-data -v '
3.2016.0521'` succeeds before
bundling.

error:Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
An error occurred while installing mime-types-data (3.2016.0521),
and Bundler cannot continue.
Make sure that `gem install mime-types-data -v '
3.2016.0521'` succeeds before
bundling.


sudo ruby -v

ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

bundle install
/usr/local/lib/site_ruby/1.9.1/rubygems.rb:270:in `find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
    from /usr/local/lib/site_ruby/1.9.1/rubygems.rb:298:in `
activate_bin_path'
    from /usr/bin/bundle:22:in `<main>'




Reply all
Reply to author
Forward
0 new messages