brighton36 / CoinPost

A Ruby-On-Rails-based Bitcoin Item listing and marketplace system
50 stars 28 forks source link

Install on Ubuntu 14 #6

Open Freefromchainz opened 9 years ago

Freefromchainz commented 9 years ago

After Putting the CoinPost Repo in the My project directory, I did the rake db:create and rake db:migrate2 i got this could not find ruby-prof 0.11.2, run the bundle install i get cant ruby-prof 0.11.2, say there is not repository for it! but i do see it in the Coinpost/Rails/Ruby/1.9.1/Gems Dir! ruby 2..2.1 rails 4.2.3

Freefromchainz commented 9 years ago

also new error after install ruby-prof and 0.15.8 its still trying to install 0.11.2 with native extensions then this happens

Gem::Ext::BuildError: Error Failed to build gem native extension

brighton36 commented 9 years ago

So, this is running on coinpost.com with ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] and Rails 3.2.13

Freefromchainz commented 9 years ago

yes that is what Iam trying to run see error here http://104.236.226.212:3000/

brighton36 commented 9 years ago

Hmm, sites not loading for me. Is it still up?

Freefromchainz commented 9 years ago

let me put it back up i was working on the server, it up again!

brighton36 commented 9 years ago

Can I see your Gemfile.lock?

Freefromchainz commented 9 years ago

GEM remote: https://rubygems.org/ specs: actionmailer (4.2.3) actionpack (= 4.2.3) actionview (= 4.2.3) activejob (= 4.2.3) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 1.0, >= 1.0.5) actionpack (4.2.3) actionview (= 4.2.3) activesupport (= 4.2.3) rack (~> 1.6) rack-test (~> 0.6.2) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) actionview (4.2.3) activesupport (= 4.2.3) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) activejob (4.2.3) activesupport (= 4.2.3) globalid (>= 0.3.0) activemodel (4.2.3) activesupport (= 4.2.3) builder (~> 3.1) activerecord (4.2.3) activemodel (= 4.2.3) activesupport (= 4.2.3) arel (~> 6.0) activesupport (4.2.3) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) arel (6.0.3) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) builder (3.2.2) byebug (5.0.0) columnize (= 0.9.0) coffee-rails (4.1.0) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.9.1.1) columnize (0.9.0) debug_inspector (0.0.2) erubis (2.7.0) execjs (2.6.0) globalid (0.3.6) activesupport (>= 4.1.0) i18n (0.7.0) jbuilder (2.3.1) activesupport (>= 3.0.0, < 5) multi_json (~> 1.2) jquery-rails (4.0.4) rails-dom-testing (~> 1.0) railties (>= 4.2.0) thor (>= 0.14, < 2.0) json (1.8.3) loofah (2.0.2) nokogiri (>= 1.5.9) mail (2.6.3) mime-types (>= 1.16, < 3) mime-types (2.6.1) mini_portile (0.6.2) minitest (5.8.0) multi_json (1.11.2) nokogiri (1.6.6.2) mini_portile (~> 0.6.0) rack (1.6.4) rack-test (0.6.3) rack (>= 1.0) rails (4.2.3) actionmailer (= 4.2.3) actionpack (= 4.2.3) actionview (= 4.2.3) activejob (= 4.2.3) activemodel (= 4.2.3) activerecord (= 4.2.3) activesupport (= 4.2.3) bundler (>= 1.3.0, < 2.0) railties (= 4.2.3) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) rails-dom-testing (1.0.7) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.2) loofah (~> 2.0) railties (4.2.3) actionpack (= 4.2.3) activesupport (= 4.2.3) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (10.4.2) rdoc (4.2.0) sass (3.4.16) sass-rails (5.0.3) railties (>= 4.0.0, < 5.0) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (~> 1.1) sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) spring (1.3.6) sprockets (3.3.1) rack (~> 1.0) sprockets-rails (2.3.2) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.10) thor (0.19.1) thread_safe (0.3.5) tilt (1.4.1) turbolinks (2.5.3) coffee-rails tzinfo (1.2.2) thread_safe (~> 0.1) uglifier (2.7.1) execjs (>= 0.3.0) json (>= 1.8.0) web-console (2.2.1) activemodel (>= 4.0) binding_of_caller (>= 0.7.2) railties (>= 4.0) sprockets-rails (>= 2.0, < 4.0)

PLATFORMS ruby

DEPENDENCIES byebug coffee-rails (~> 4.1.0) jbuilder (~> 2.0) jquery-rails rails (= 4.2.3) sass-rails (~> 5.0) sdoc (~> 0.4.0) spring sqlite3 turbolinks uglifier (>= 1.3.0) web-console (~> 2.0)

BUNDLED WITH 1.10.6

brighton36 commented 9 years ago

So, you're way off from what I'm using. Care to try this out? GIT remote: git://github.com/ging/mailboxer.git revision: fcbbea2cce5c19adffe83ad57f008d2569322a4c specs: mailboxer (0.6.5) carrierwave (>= 0.5.8) foreigner (>= 0.9.1) rails (> 3.0.0)

GEM remote: https://rubygems.org/ specs: actionmailer (3.2.13) actionpack (= 3.2.13) mail (~> 2.5.3) actionpack (3.2.13) activemodel (= 3.2.13) activesupport (= 3.2.13) builder (~> 3.0.0) erubis (~> 2.7.0) journey (~> 1.0.4) rack (~> 1.4.5) rack-cache (~> 1.2) rack-test (~> 0.6.1) sprockets (~> 2.2.1) activemodel (3.2.13) activesupport (= 3.2.13) builder (~> 3.0.0) activerecord (3.2.13) activemodel (= 3.2.13) activesupport (= 3.2.13) arel (~> 3.0.2) tzinfo (~> 0.3.29) activeresource (3.2.13) activemodel (= 3.2.13) activesupport (= 3.2.13) activesupport (3.2.13) i18n (= 0.6.1) multi_json (~> 1.0) addressable (2.2.8) arel (3.0.2) awesome_nested_set (2.1.3) activerecord (>= 3.0.0) bcrypt-ruby (3.0.1) bootstrap-datepicker-rails (0.6.14) railties (>= 3.0) bootstrap-sass (2.0.3.1) builder (3.0.4) capybara (2.2.1) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) carrierwave (0.6.2) activemodel (>= 3.2.0) activesupport (>= 3.2.0) carrierwave-meta (0.0.3) activesupport (>= 3.0) carrierwave (>= 0.5.7) mime-types cells (3.8.5) actionpack (~> 3.0) railties (~> 3.0) chronic (0.9.0) cliver (0.3.2) coffee-rails (3.2.2) coffee-script (>= 2.2.0) railties (~> 3.2.0) coffee-script (2.2.0) coffee-script-source execjs coffee-script-source (1.3.3) coinbase (1.3.0) hashie (>= 1.2.0) httparty (>= 0.8.3) money (= 5.1.1) multi_json (>= 1.3.4) cucumber (1.2.1) builder (>= 2.1.2) diff-lcs (>= 1.1.3) gherkin (~> 2.11.0) json (>= 1.4.6) cucumber-rails (1.3.0) capybara (>= 1.1.2) cucumber (>= 1.1.8) nokogiri (>= 1.5.0) database_cleaner (0.8.0) date_validator (0.6.3) activemodel (~> 3.0) declarative_authorization (0.5.5) delorean (2.1.0) chronic detect_timezone_rails (0.0.3) railties (~> 3.1) devise (2.1.3) bcrypt-ruby (~> 3.0) orm_adapter (~> 0.1) railties (~> 3.1) warden (~> 1.2.1) diff-lcs (1.1.3) email_spec (1.2.1) mail (~> 2.2) rspec (~> 2.0) erubis (2.7.0) execjs (1.4.0) multi_json (~> 1.0) factory_girl (3.4.1) activesupport (>= 3.0.0) factory_girl_rails (3.4.0) factory_girl (~> 3.4.0) railties (>= 3.0.0) foreigner (1.1.6) activerecord (>= 3.0.0) formtastic (2.1.1) actionpack (~> 3.0) formtastic-bootstrap (1.1.1) formtastic rails (~> 3.1) friendly_id (4.0.9) gherkin (2.11.0) json (>= 1.4.6) google_currency (3.0.0) money (~> 5.1.1) haml (3.1.6) hashie (2.0.5) hike (1.2.2) httparty (0.10.2) multi_json (~> 1.0) multi_xml (>= 0.5.2) i18n (0.6.1) journey (1.0.4) jquery-rails (2.0.2) railties (>= 3.2.0, < 5.0) thor (~> 0.14) json (1.8.1) kaminari (0.13.0) actionpack (>= 3.0.0) activesupport (>= 3.0.0) railties (>= 3.0.0) launchy (2.1.0) addressable (~> 2.2.6) mail (2.5.3) i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) mime-types (1.25.1) mini_magick (3.4) subexec (~> 0.2.1) mini_portile (0.5.2) money (5.1.1) i18n (~> 0.6.0) multi_json (1.8.4) multi_xml (0.5.3) newrelic_rpm (3.3.5) nokogiri (1.6.1) mini_portile (~> 0.5.0) orm_adapter (0.4.0) pg (0.13.2) poltergeist (1.5.0) capybara (~> 2.1) cliver (~> 0.3.1) multi_json (~> 1.0) websocket-driver (>= 0.2.0) polyglot (0.3.3) rack (1.4.5) rack-cache (1.2) rack (>= 0.4) rack-ssl (1.3.3) rack rack-test (0.6.2) rack (>= 1.0) rails (3.2.13) actionmailer (= 3.2.13) actionpack (= 3.2.13) activerecord (= 3.2.13) activeresource (= 3.2.13) activesupport (= 3.2.13) bundler (~> 1.0) railties (= 3.2.13) railties (3.2.13) actionpack (= 3.2.13) activesupport (= 3.2.13) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) rake (10.0.4) rdiscount (1.6.8) rdoc (3.12.2) json (~> 1.4) recaptcha (0.3.4) rspec (2.10.0) rspec-core (~> 2.10.0) rspec-expectations (~> 2.10.0) rspec-mocks (~> 2.10.0) rspec-core (2.10.1) rspec-expectations (2.10.0) diff-lcs (~> 1.1.3) rspec-mocks (2.10.1) rspec-rails (2.10.1) actionpack (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) rspec (~> 2.10.0) ruby-prof (0.11.2) sanitize (2.1.0) nokogiri (>= 1.4.4) sass (3.1.19) sass-rails (3.2.5) railties (~> 3.2.0) sass (>= 3.1.10) tilt (~> 1.3) sitemap (0.3.3) snoo (0.1.1) httparty nokogiri sprockets (2.2.2) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) sqlite3 (1.3.6) subexec (0.2.2) thor (0.18.1) tilt (1.3.7) tinymce-rails (3.5.2) railties (>= 3.1.1) treetop (1.4.12) polyglot polyglot (>= 0.3.1) tzinfo (0.3.37) uglifier (1.2.4) execjs (>= 0.3.0) multi_json (>= 1.0.2) warden (1.2.1) rack (>= 1.0) websocket-driver (0.3.2) xpath (2.0.0) nokogiri (~> 1.3)

PLATFORMS ruby

DEPENDENCIES awesome_nested_set bootstrap-datepicker-rails bootstrap-sass (~> 2.0.1) capybara carrierwave carrierwave-meta cells coffee-rails (~> 3.2.1) coinbase (= 1.3.0) cucumber cucumber-rails database_cleaner date_validator declarative_authorization delorean detect_timezone_rails devise (~> 2.1.3) email_spec factory_girl factory_girl_rails formtastic (~> 2.1.1) formtastic-bootstrap friendly_id (= 4.0.9) google_currency haml jquery-rails kaminari launchy mailboxer! mini_magick money newrelic_rpm pg poltergeist rails (= 3.2.13) rdiscount recaptcha rspec-rails ruby-prof sanitize sass-rails (~> 3.2.3) sitemap snoo sqlite3 tinymce-rails uglifier (>= 1.0.3)

Freefromchainz commented 9 years ago

no effect still same which is a css compling error also this gem is in the original file from the repo and the tried that to deploy the project (CoinPost) directly that where first errors where from so decided to thru a project where i knew the route.rb was correct and all the bundles installed. so the only thing i think now is start over now that i have attention on the matter and see where we get thx for your help! I set it all back to here http://104.236.226.212:3000/ what would b your next step

brighton36 commented 9 years ago

So, I think you should probaly clone this repo into a new directory, and run a bundle install inside that directory. Is this new site generated from 'rails new'?

Freefromchainz commented 9 years ago

coinpost error Ran the Bundle install that is what i got!

Freefromchainz commented 9 years ago

b install Ok now bundle is installed in the project and CoinPost is cloned. the error was when i tried to the run the bundle install in the root@moab MbX/CoinPost# part of root@moab MbX# project.

brighton36 commented 9 years ago

So regarding that first screenshot - I see you're using ruby 2.2 instead of 1.9. As for the second screenshot, I'm guessing you figured that out :) But - your rails still looks weird. What happens when you run a "rails server'?

Freefromchainz commented 9 years ago

both are still ruby 2.2 but the second screen shot is when I'm the directory root@moab: Mbx# the first screenshot is when I'm in the directory root@moab: Mbx/Coinpost# so the bundle works in primary project directory once i enter coinpost n run the bundle no dice! and i tried to get 1.9 but for some reason I can't find the 1.9 version for Digital ocean/ubuntu14 cloud/server that I'm using.

brighton36 commented 9 years ago

1.9 is a bit old. I strongly believe that will solve your issues. However You might get lucky and just be able to remove the ruby-prof from the Gemfile and be just fine. Want to try that?

Freefromchainz commented 9 years ago

found 1.9.3 n i will try remove the ruby-prof from 2,2 project thanks will keep you updated!

Freefromchainz commented 9 years ago

errors ok this is using 1.9.3, after the bundle install was successful and i tried rake db:migrate, rake db:seeds and rails server to port 3000

brighton36 commented 9 years ago

So, I think the solution here is to prefix the rake commands with "bundle exec". So rather than "rake db:migrate" instead try "bundle exec rake db:migrate". See what happens there? (and do the same for the seed task and the rails server command)

Freefromchainz commented 9 years ago

migrate n seed errors this was what I got for migrate and seed rake

Freefromchainz commented 9 years ago

migrate output 2 migrate output these are with --trace added and it is similar for the seed task

Freefromchainz commented 9 years ago

Hello there so is there any update on this issue, i read in sum of your other issues that you were switching to coinbase instead of Mt Gox!