I have posted this question before but I had no luck. I am posting it again with extra information that might help solve the problem.
I am having an issue with rails server while working on cloud 9. I was installing the gem 'jquery-ui-rails' and I needed to restart my server.
My friend and I share the workspace. The servers were running on my friends laptop so I decided to go to the tmp/pids/server.pids file and run the command sudo kill -9 <PID>, <PID> was replaced by the number in the file server.pid. It killed the servers perfectly. However, I get the following error after running the command $ rails server -b $IP -p $PORT in the terminal.
kpauls#score_app:~/workspace (dev-messaging) $ rails server -b $IP -p $PORT
bin/rails:6: warning: already initialized constant APP_PATH
/home/ubuntu/workspace/bin/rails:6: warning: previous definition of APP_PATH was here
Error: Command '-b' not recognized
Usage: rails COMMAND [ARGS]
I have done this before and I have had no problems with it. I really don't understand what the problem is.
After I added the gem, I think I ran bundle update and Not bundle install. This updated all the gems in my Gemfile. I ran bundle install after. However, I don't think the bundle update cause any problems though. The app was running fine. Maybe one of the gems got updated and it interfered with the server gem.
I have included the terminal after I ran bundle update.
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Installing minitest 5.8.2 (was 5.7.0)
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.0
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using rails-deprecated_sanitizer 1.0.3
Installing rails-dom-testing 1.0.7 (was 1.0.6)
Installing loofah 2.0.3 (was 2.0.2)
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.0
Installing rack 1.6.4 (was 1.6.1)
Using rack-test 0.6.3
Using actionpack 4.2.0
Installing globalid 0.3.6 (was 0.3.5)
Using activejob 4.2.0
Installing mime-types 2.6.2 (was 2.6.1)
Using mail 2.6.3
Using actionmailer 4.2.0
Using activemodel 4.2.0
Installing arel 6.0.3 (was 6.0.0)
Using activerecord 4.2.0
Using ancestry 2.1.0
Using ansi 1.5.0
Using bcrypt 3.1.7
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.3.pre1
Installing sass 3.4.19 (was 3.4.14)
Using bootstrap-sass 3.2.0.0
Using will_paginate 3.0.7
Using bootstrap-will_paginate 0.0.10
Using bundler 1.8.4
Using columnize 0.9.0
Using debugger-linecache 1.2.0
Using slop 3.6.0
Using byebug 3.4.0
Using carrierwave 0.10.0
Using coderay 1.1.0
Installing coffee-script-source 1.10.0 (was 1.9.1.1)
Installing execjs 2.6.0 (was 2.5.2)
Using coffee-script 2.4.1
Using thor 0.19.1
Using railties 4.2.0
Using coffee-rails 4.1.0
Installing excon 0.45.4 (was 0.45.3)
Using faker 1.4.2
Installing ffi 1.9.10 (was 1.9.8)
Using formatador 0.2.5
Installing fog-core 1.33.0 (was 1.30.0)
Installing multi_json 1.11.2 (was 1.11.0)
Using fog-json 1.0.2
Using inflecto 0.0.2
Installing fog-brightbox 0.9.0 (was 0.7.1)
Installing fog-softlayer 1.0.2 (was 0.4.6)
Using ipaddress 0.8.0
Using fog 1.23.0
Using foreigner 1.7.4
Installing rb-fsevent 0.9.6 (was 0.9.5)
Using rb-inotify 0.9.5
Installing listen 3.0.4 (was 2.10.0)
Using lumberjack 1.0.9
Using nenv 0.2.0
Using shellany 0.0.1
Installing notiffany 0.0.8 (was 0.0.6)
Using method_source 0.8.2
Installing pry 0.10.3 (was 0.10.1)
Installing guard 2.13.0 (was 2.12.6)
Using guard-minitest 2.3.1
Using jbuilder 2.2.3
Using jquery-rails 4.0.3
Using jquery-ui-rails 5.0.5
Installing sprockets 3.4.0 (was 3.2.0)
Installing sprockets-rails 2.3.3 (was 2.3.1)
Using rails 4.2.0
Using mailboxer 0.13.0
Using mini_backtrace 0.1.3
Using subexec 0.2.3
Using mini_magick 3.8.0
Using ruby-progressbar 1.7.5
Using minitest-reporters 1.0.5
Using pg 0.17.1
Using puma 2.11.1
Using rails_serve_static_assets 0.0.4
Installing rails_stdout_logging 0.0.4 (was 0.0.3)
Using rails_12factor 0.0.2
Using rdoc 4.2.0
Using tilt 1.4.1
Using sass-rails 5.0.2
Using sdoc 0.4.0
Using spring 1.1.3
Using sqlite3 1.3.9
Using turbolinks 2.3.0
Using twitter-bootstrap-rails 3.2.0
Using uglifier 2.5.3
Using web-console 2.0.0.beta3
Bundle updated!
config/boot.rb file
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' # Set up gems listed in the Gemfile.
Things I have tried
I had posted this question earlier and I was given a few suggestions. First suggestion was to run the command $ rake rails:update:bin. This command didn't work. Another suggestion was to look in the config/boot.rb file to see if anything was incorrect. I included that file as well. I have never made changes to that file. So it must be good.
I tried looking for answers but couldn't find anything. I am reposting this question with the bundle update code in the terminal hoping it might help solve the problem. Any kind of direction or help would be greatly appreciated. Thanks!!
Related
I just want deploy my code to server, when I try to start the app on server with this syntax bin/puma-init.sh start, I'm getting this error gem not found like this.
[root#arben apps-project]# Puma starting in single mode...
* Version 3.6.2 (jruby 9.1.5.0 - ruby 2.3.1), codename: Sleepy Sunday Serenity
* Min threads: 8, max threads: 16
* Environment: development Could not find tzinfo-1.2.10 in any of the sources Run `bundle install` to install missing gems.
! Unable to load application: SystemExit: exit
I was checked the gem, its installed and when I'm doing rails s its running like normally no problem.
and when I'm doing bundle install, there is no problem found too, here the result
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.
The dependency pg (~> 0.18.4) will be unused by any of the platforms Bundler is installing for. Bundler is installing for java but the dependency is only for ruby. To add those platforms to the bundle, run `bundle lock --add-platform ruby`.
Using rake 11.2.2
Using i18n 0.7.0
Using json 1.8.6 (java)
Using minitest 5.14.4
Using thread_safe 0.3.6 (java)
Using tzinfo 1.2.10
Using activesupport 4.2.7.1
Using builder 3.2.4
Using erubis 2.7.0
Using nokogiri 1.10.10 (java)
Using rails-deprecated_sanitizer 1.0.4
Using rails-dom-testing 1.0.9
Using crass 1.0.6
Using loofah 2.18.0
Using rails-html-sanitizer 1.4.3
Using actionview 4.2.7.1
Using rack 1.6.13
Using rack-test 0.6.3
Using actionpack 4.2.7.1
Using globalid 0.4.2
Using activejob 4.2.7.1
Using mini_mime 1.1.2
Using mail 2.7.1
Using actionmailer 4.2.7.1
Using activemodel 4.2.7.1
Using active_model_serializers 0.9.0.pre from https://github.com/starqle/active_model_serializers (at starqle#df97f23)
jar-dependencies: spec must be either String or Gem::Specification
Using arel 6.0.4
Using activerecord 4.2.7.1
Using activerecord-jdbc-adapter 1.3.25
Using jdbc-postgres 9.4.1206
Using activerecord-jdbcpostgresql-adapter 1.3.25
Using public_suffix 4.0.7
Using addressable 2.8.1
Using rexml 3.2.5
Using gyoku 1.4.0
Using akami 1.3.1
Using ancestry 2.1.0
Using execjs 2.7.0
Using autoprefixer-rails 6.4.0.3
Using awesome_print 1.9.2
Using descendants_tracker 0.0.4
Using ice_nine 0.11.2
Using axiom-types 0.1.1
Using bcrypt 3.1.18 (java)
Using rb-fsevent 0.11.2
Using ffi 1.15.5 (java)
Using rb-inotify 0.10.1
Using sass-listen 4.0.0
Using sass 3.7.4
Using bootstrap-sass 3.3.4.1
Using bundler 1.17.3
Using coercible 1.0.0
Using matrix 0.1.0
Using ruby-rc4 0.1.5
Using combine_pdf 1.0.22
Using concurrent-ruby 1.1.10
Using connection_pool 2.2.5
Using crack 0.4.5
Using database_cleaner 1.5.3
Using orm_adapter 0.5.0
Using thor 1.2.1
Using railties 4.2.7.1
Using responders 2.4.1
Using warden 1.2.7
Using devise 4.2.1
Using diff-lcs 1.5.0
Using docile 1.3.5
Using dotenv 2.8.1
Using dotenv-rails 2.8.1
Using multi_json 1.15.0
Using dragonfly 1.1.5
Using htmlentities 4.3.4
Using spoon 0.0.6
Using launchy 2.4.3 (java)
Using email_spec 2.1.2
Using equalizer 0.0.11
Using factory_girl 4.7.0
Using factory_girl_rails 4.7.0
Using multipart-post 2.2.3
Using faraday 0.9.2
Using finite_machine 0.11.3
Using friendly_id 5.1.0
Using tilt 2.0.11
Using haml 4.0.7
Using sexp_processor 4.16.1
Using ruby_parser 3.19.1
Using html2haml 2.2.0
Using haml-rails 0.9.0
Using hashdiff 1.0.1
Using hirb 0.7.3
Using socksify 1.7.1
Using httpi 2.5.0
Using jwt 2.3.0
Using libreconv 0.9.5
Using lograge 0.4.1
Using mime-types-data 3.2022.0105
Using mime-types 3.4.1
Using net-ldap 0.16.3
Using nori 2.6.0
Using puma 3.6.2 (java)
Using pundit 1.1.0
Using rack-cors 0.4.1
Using rack-protection 1.5.5
Using sprockets 3.7.2
Using sprockets-rails 3.2.2
Using rails 4.2.7.1
Using redis 3.3.5
Using redis-namespace 1.5.3
Using rubyzip 1.3.0
Using roo 2.7.1
Using ruby-ole 1.2.12.2
Using spreadsheet 1.1.9
Using roo-xls 1.0.0
Using rspec-support 3.5.0
Using rspec-core 3.5.4
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using rspec 3.5.0
Using rspec-rails 3.5.2
Using rufus-scheduler 3.2.2
Using sass-rails 5.0.7
Using wasabi 3.7.0
Using savon 2.11.2
Using sentry-raven 2.13.0
Using shoulda-matchers 3.1.3
Using sinatra 1.4.8
Using sidekiq 4.1.4
Using simplecov-html 0.10.2
Using simplecov 0.17.1
Using spring 2.0.2
Using spring-commands-rspec 1.0.4
Using therubyrhino_jar 1.7.6
Using therubyrhino 2.0.5
Using timecop 0.8.1
Using uglifier 3.0.4
Using useragent 0.16.10
Using virtus 1.0.5
Using wicked_pdf 1.1.0
Using will_paginate 3.1.8
Using wisper 1.6.1
Using verp-core 0.0.1 from https://github.com/xxx/verp.git (at master#6057b91)
jar-dependencies: spec must be either String or Gem::Specification
Using verp-ext 0.0.1 from https://github.com/xxx/verp.git (at master#6057b91)
jar-dependencies: spec must be either String or Gem::Specification
Using verp-gateway 0.0.1 from https://github.com/xxx/verp.git (at master#6057b91)
jar-dependencies: spec must be either String or Gem::Specification
Using verp-sap 0.0.1 from https://github.com/xxx/verp.git (at master#6057b91)
jar-dependencies: spec must be either String or Gem::Specification
Using verp 0.0.1 from https://github.com/xxx/verp.git (at master#6057b91)
jar-dependencies: spec must be either String or Gem::Specification
Using webmock 2.1.0
Bundle complete! 26 Gemfile dependencies, 146 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
here my puma-init.sh
here my puma.rb
I was trying uninstall bundler, remove Gemfile.lock and installed again, bundle install again, but the result still same, the app won't started.
any solution to make this bin/puma-init.sh start syntax running without problem ?
I updated the pg gem for my database to the 1.0.0 version and am now having issues. I am trying to revert to the previous version, but am still getting errors. Anyone else having this same issue?
Gemfile
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.21.0'
Error when I run rake db:migrate
dyld: lazy symbol binding failed: Symbol not found: _rb_fd_init
Referenced from: /Users/topher/.rvm/gems/ruby-2.5.0/gems/pg-0.21.0/lib/pg_ext.bundle
Expected in: flat namespace
No error when I run rails s
When I change my Gemfile to the newest version of the pg gem I get these errors:
Gemfile
# Use postgresql as the database for Active Record
gem 'pg', '~> 1.0.0'
Error when I run rake db:migrate
rake aborted!
Gem::LoadError: Specified 'postgresql' for database adapter,
but the gem is not loaded. Add `gem 'pg'` to your Gemfile
(and ensure its version is at the minimum required by
ActiveRecord).
Error when I run rails s
Specified 'postgresql' for database adapter, but the gem is not
loaded. Add `gem 'pg'` to your Gemfile (and ensure its version is
at the minimum required by ActiveRecord). (Gem::LoadError)
Anyone else run into this issue and have a fix?
After looking into the issue a little bit further and with something that #MartinZinovsky stated in a comment, I wondered if it wasn't an issue with the pg gem, but with another gem not being updated, specifically ActiveRecord. This is the part of the error that got me thinking as it was showing up in both errors:
ensure its version is at the minimum required by ActiveRecord
So, instead of doing bundle update pg as Martin suggested, I did bundle update for it to go through and update all gems that had available updates. When doing this, it did in fact update all of the 'action' and 'active' gems to a newer version, along with the 'activerecord' gem. This has seemed to solve the issues. Now rake db:migrate works and so does rails s. Here is the output after I ran bundle update in case someone else runs into this issue and it is not ActiveRecord only that needed to be updated. Maybe you can use this list to see what else updated on my end to track down why it isn't working for you:
After running bundle update
$ bundle update
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Using rake 12.3.0
Using concurrent-ruby 1.0.5
Using i18n 0.9.5 (was 0.9.3)
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5 (was 1.2.4)
Using activesupport 5.1.5 (was 5.1.4)
Using builder 3.2.3
Fetching erubi 1.7.1 (was 1.7.0)
Installing erubi 1.7.1 (was 1.7.0)
Using mini_portile2 2.3.0
Using nokogiri 1.8.2
Using rails-dom-testing 2.0.3
Using crass 1.0.3
Using loofah 2.2.0 (was 2.1.1)
Using rails-html-sanitizer 1.0.3
Using actionview 5.1.5 (was 5.1.4)
Using rack 2.0.4
Using rack-test 0.8.3 (was 0.8.2)
Using actionpack 5.1.5 (was 5.1.4)
Using nio4r 2.2.0
Using websocket-extensions 0.1.3
Using websocket-driver 0.6.5
Using actioncable 5.1.5 (was 5.1.4)
Using globalid 0.4.1
Using activejob 5.1.5 (was 5.1.4)
Using mini_mime 1.0.0
Using mail 2.7.0
Using actionmailer 5.1.5 (was 5.1.4)
Using activemodel 5.1.5 (was 5.1.4)
Using arel 8.0.0
Using activerecord 5.1.5 (was 5.1.4)
Using bundler 1.16.1
Using method_source 0.9.0
Using thor 0.20.0
Using railties 5.1.5 (was 5.1.4)
Using sprockets 3.7.1
Using sprockets-rails 3.2.1
Using rails 5.1.5 (was 5.1.4)
Using actionview-encoded_mail_to 1.0.9
Using public_suffix 3.0.2 (was 3.0.1)
Using addressable 2.5.2
Using execjs 2.7.0
Fetching autoprefixer-rails 8.1.0.1 (was 7.2.5)
Installing autoprefixer-rails 8.1.0.1 (was 7.2.5)
Fetching aws-partitions 1.70.0 (was 1.61.0)
Installing aws-partitions 1.70.0 (was 1.61.0)
Using aws-sigv4 1.0.2
Using jmespath 1.3.1
Fetching aws-sdk-core 3.17.0 (was 3.15.0)
Installing aws-sdk-core 3.17.0 (was 3.15.0)
Using aws-sdk-kms 1.5.0
Fetching aws-sdk-s3 1.8.2 (was 1.8.0)
Installing aws-sdk-s3 1.8.2 (was 1.8.0)
Using bcrypt 3.1.11
Using bindex 0.5.0
Using popper_js 1.12.9
Using rb-fsevent 0.10.3 (was 0.10.2)
Using ffi 1.9.23 (was 1.9.18)
Using rb-inotify 0.9.10
Using sass-listen 4.0.0
Using sass 3.5.5
Using bootstrap 4.0.0
Using bootstrap-table-rails 1.11.1.1
Using uniform_notifier 1.11.0
Fetching bullet 5.7.4 (was 5.7.2)
Installing bullet 5.7.4 (was 5.7.2)
Using byebug 10.0.0
Using xpath 3.0.0
Using capybara 2.18.0 (was 2.17.0)
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using carrierwave 1.2.2
Using carrierwave-aws 1.3.0
Fetching childprocess 0.9.0 (was 0.8.0)
Installing childprocess 0.9.0 (was 0.8.0)
Using coffee-script-source 1.12.2
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using orm_adapter 0.5.0
Using responders 2.4.0
Using warden 1.2.7
Using devise 4.4.1
Using unf_ext 0.0.7.5
Using unf 0.1.4
Using domain_name 0.5.20170404
Using dotenv 2.2.1
Using dotenv-rails 2.2.1
Using font-awesome-rails 4.7.0.3
Using http-cookie 1.0.3
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using jquery-rails 4.3.1
Using jquery-ui-rails 6.0.1
Using json 2.1.0
Using ruby_dep 1.5.0
Using listen 3.1.5
Using mini_magick 4.8.0
Using netrc 0.11.0
Using pg 1.0.0
Fetching puma 3.11.3 (was 3.11.2)
Installing puma 3.11.3 (was 3.11.2) with native extensions
Fetching recaptcha 4.6.6 (was 4.6.5)
Installing recaptcha 4.6.6 (was 4.6.5)
Using redcarpet 2.3.0
Using rest-client 2.0.2
Using rubyzip 1.2.1
Using tilt 2.0.8
Using sass-rails 5.0.7
Using selenium-webdriver 3.10.0 (was 3.8.0)
Using spring 2.0.2
Using spring-watcher-listen 2.0.1
Using turbolinks-source 5.1.0
Using turbolinks 5.1.0
Fetching uglifier 4.1.7 (was 4.1.5)
Installing uglifier 4.1.7 (was 4.1.5)
Using web-console 3.5.1
Bundle updated!
I am creating an application with rails, but when I run rake db:migrate I get the error
Could not find coffee-script-source-1.12.2 in any of the sources
Run bundle install to install missing gems.
I ran bundle install and nothing happens. When I install the gem manually through gem install and run rake db:migrate I get the same error for a different gem.
I suppose my application or bundler can't find the path to the gems /var/lib/gems/2.3.0/gems/[gemname]. Why is that happening? How can I install all gems at once?
EDIT: BUNDLE INSTALL output
Using rake 12.3.0
Using concurrent-ruby 1.0.5
Using i18n 0.9.1
Using json 1.8.6
Using minitest 5.11.1
Using thread_safe 0.3.6
Using tzinfo 1.2.4
Using activesupport 4.2.6
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.3.0
Using nokogiri 1.8.1
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.9
Using crass 1.0.3
Using loofah 2.1.1
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.6
Using rack 1.6.8
Using rack-test 0.6.3
Using actionpack 4.2.6
Using globalid 0.4.1
Using activejob 4.2.6
Using mini_mime 1.0.0
Using mail 2.7.0
Using actionmailer 4.2.6
Using activemodel 4.2.6
Using arel 6.0.4
Using activerecord 4.2.6
Using activerecord-oracle_enhanced-adapter 1.6.9
Using debug_inspector 0.0.3
Using binding_of_caller 0.8.0
Using bundler 1.16.1
Using byebug 9.1.0
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using thor 0.20.0
Using railties 4.2.6
Using coffee-rails 4.1.1
Using ffi 1.9.18
Using multi_json 1.13.1
Using jbuilder 2.7.0
Using jquery-rails 4.3.1
Using sprockets 3.7.1
Using sprockets-rails 3.2.1
Using rails 4.2.6
Using rb-fsevent 0.10.2
Using rb-inotify 0.9.10
Using rdoc 4.3.0
Using ruby-oci8 2.2.5.1
Using sass-listen 4.0.0
Using sass 3.5.5
Using tilt 2.0.8
Using sass-rails 5.0.7
Using sdoc 0.4.2
Using spring 2.0.2
Using turbolinks-source 5.1.0
Using turbolinks 5.1.0
Using uglifier 4.1.3
Using web-console 2.3.0
Bundle complete! 13 Gemfile dependencies, 61 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
I'm trying to run the rake db:migrate command, but when I run it it tells me there is not a gem installed. I'll run bundle install and it'll execute correctly, but then It'll once again tell me that a gem is not installed. The gem it's telling me is not installed is the minitest-5.8.0.
This is what shows up after I do bundle install
Using rake 10.4.2
Using ZenTest 4.11.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.0
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.1
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.6
Using loofah 2.0.2
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.1
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.1
Using globalid 0.3.6
Using activejob 4.2.1
Using mime-types 2.6.1
Using mail 2.6.3
Using actionmailer 4.2.1
Using activemodel 4.2.1
Using arel 6.0.3
Using activerecord 4.2.1
Using autotest 4.4.6
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using columnize 0.9.0
Using byebug 5.0.0
Using coffee-script-source 1.9.1.1
Using execjs 2.5.2
Using coffee-script 2.4.1
Using thor 0.19.1
Using railties 4.2.1
Using coffee-rails 4.1.0
Using diff-lcs 1.2.5
Using tilt 1.4.1
Using haml 4.0.6
Using multi_json 1.11.2
Using jbuilder 2.3.1
Using jquery-rails 4.0.4
Using bundler 1.7.12
Using sprockets 3.2.0
Using sprockets-rails 2.3.2
Using rails 4.2.1
Using rdoc 4.2.0
Using rspec-support 3.3.0
Using rspec-core 3.3.2
Using rspec-expectations 3.3.1
Using rspec-mocks 3.3.2
Using rspec-rails 3.3.3
Using sass 3.4.16
Using sass-rails 5.0.3
Using sdoc 0.4.1
Using spring 1.3.6
Using sqlite3 1.3.10
Using turbolinks 2.5.3
Using uglifier 2.7.1
Using web-console 2.2.1
Your bundle is complete!
Gems in the group production were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
When I run which ruby It'll show me the path /usr/local/bin/ruby and when I run bundle show minitest it'll show me /Library/Ruby/Gems/2.0.0/gems/minitest-5.8.0
Why is it not detecting that minitest is installed.
Try running rake db:migrate with bundle exec.
Your complete run command should be bundle exec rake db:migrate.
I would try reinstall your ruby
rvm get stable
rvm reinstall ruby-2.3.0
Phusion Passenger + Nginx
The web site worked fine for today. Today i updated my code, added my user for sudo group and run 'sudo bundle install' and 'touch tmp/restart.txt'. After that i saw 'bundle install error' - http://url.od.ua it still there
I tryed to run 'bundle install' from root user, but it nothing changed.
It worked before! How i can fix it?
url.od.ua#server:~/web$ bundle install
Using rake 10.1.0
Using i18n 0.6.5
Using minitest 4.7.5
Using multi_json 1.8.0
Using atomic 1.1.14
Using thread_safe 0.1.3
Using tzinfo 0.3.37
Using activesupport 4.0.0
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.0.0
Using mime-types 1.25
Using polyglot 0.3.3
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.0.0
Using activemodel 4.0.0
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.0
Using activerecord 4.0.0
Using coderay 1.0.9
Using coffee-script-source 1.6.3
Using execjs 2.0.1
Using coffee-script 2.2.0
Using thor 0.18.1
Using railties 4.0.0
Using coffee-rails 4.0.0
Using diff-lcs 1.2.4
Using exception_notification 4.0.1
Using factory_girl 4.2.0
Using factory_girl_rails 4.2.1
Using tilt 1.4.1
Using haml 4.0.3
Using hike 1.2.3
Using jbuilder 1.5.1
Using jquery-rails 2.3.0
Using json 1.8.0
Using libv8 3.16.14.3
Using method_source 0.8.2
Using mini_portile 0.5.1
Using mysql2 0.3.11
Using newrelic_rpm 3.6.6.147
Using nokogiri 1.6.0
Using slop 3.4.6
Using pry 0.9.12.2
Using bundler 1.6.1
Using sprockets 2.10.0
Using sprockets-rails 2.0.0
Using rails 4.0.0
Using rdoc 3.12.2
Using ref 1.0.5
Using rspec-core 2.14.5
Using rspec-expectations 2.14.2
Using rspec-mocks 2.14.3
Using rspec-rails 2.14.0
Using sape-rails 0.0.1 from git://github.com/hazg/sape-rails (at master)
Using sass 3.2.10
Using sass-rails 4.0.0
Using sdoc 0.3.20
Using therubyracer 0.12.1
Using turbolinks 1.3.0
Using uglifier 2.2.1
Using webrat 0.7.3
Using will_paginate 3.0.4
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
url.od.ua#server:~/web$ touch tmp/restart.txt
I've referred this link and installed it again.
I installed rvm, and all works fine!