trouble running ruby on rails console on mac -


i having trouble getting rails run on mac. output get. seems problem packages or ruby or rvm version, don't know how resolve it. end having deploy heroku every time test something.

pauls-macbook-pro:heroku paulyang$ rails console /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:108:in `ensure in preload': undefined method `application' rails:module (nomethoderror)     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:112:in `preload'     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:143:in `serve'     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:131:in `block in run'     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:125:in `loop'     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application.rb:125:in `run'     /users/paulyang/.rvm/gems/ruby-2.3.3/gems/spring-2.0.1/lib/spring/application/boot.rb:19:in `<top (required)>'     /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'     /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'     -e:1:in `<main>' 

this gemfile i'm using rails app:

source 'https://rubygems.org' ruby '2.3.3'  gem 'sinatra' # sinatra needs old tilt version: http://stackoverflow.com/questions/20648394/moduletemplates-uninitialized-constant-tiltcompilesite-nameerror-using #https://groups.google.com/forum/#!topic/sinatrarb/matn7azbvmy gem 'tilt', '~> 1.4.1', group: :production gem 'rest-client' gem 'sequel' gem 'sqlite3', group: :development gem 'pg', '~> 0.18', group: :development gem 'cowsay' # bundle edge rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.2.5' # use postgresql database active record gem 'pg', '~> 0.18', group: :production gem 'rails_12factor', group: :production # use scss stylesheets gem 'sass-rails', '~> 5.0.3' # use uglifier compressor javascript assets gem 'uglifier', '>= 1.3.0' # use coffeescript .js.coffee assets , views gem 'coffee-rails', '~> 4.0.0' # see https://github.com/sstephenson/execjs#readme more supported runtimes # gem 'therubyracer',  platforms: :ruby  # use jquery javascript library gem 'jquery-rails' # turbolinks makes following links in web application faster. read more: https://github.com/rails/turbolinks gem 'turbolinks' # build json apis ease. read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.0' # bundle exec rake doc:rails generates api under doc/api. gem 'sdoc', '~> 0.4.0',          group: :doc  # spring speeds development keeping application running in background. read more: https://github.com/rails/spring gem 'spring',        group: :development  # use activemodel has_secure_password # gem 'bcrypt', '~> 3.1.7'  gem 'puma'  # use capistrano deployment # gem 'capistrano-rails', group: :development  # auto-renewable subscription validation # https://github.com/gabrielgarza/monza/blob/master/readme.md gem 'monza' gem 'itunes-receipt' 

any great.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -