AustinH00
Joined
110 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Can't connect to rails server
Yes. Ill try this and start again. Thank you so much for the help!
Posted in Can't connect to rails server
I'm on Windows 10 using AWS Cloud9. And I believe I may have ran as sudo. I can also post my gemfile if that would help. Sorry for the vagueness, as this is all really new.
Posted in Can't connect to rails server
From the post jaems linked above I tried,
bundle install --path vendor/bundle
then tried launching server, didn't work. Then I tried,
config/application.rb
and was denied permission.
Posted in Can't connect to rails server
Then yes, using a local machine
Posted in Can't connect to rails server
Do you have bundler installed and have you completely bundled everything in your Gemfile?
Before making this post, i had successfully installed and updated my bundle.
I randomly searched for the error in your stacktrace and found [this]
The OP did find a solution with the gemfile he/she posted, but I'm afraid to copy and paste it since I'm following a course online and don't want to get even more lost with a different gemfile.
Also, can you clarify if you are trying to launch rails in development or is this a deployment you're trying to work with?
I believe I am trying to launch rails in development but i am still hazy on general terminology thus far.
Posted in Can't connect to rails server
@jaems, thank you for the response! Unfortunately i got the same response from all the commands you suggested.
Posted in Can't connect to rails server
Hello, I am very new to programming and Ruby on Rails (day 3). I'm having a lot of trouble connecting to a server. I have tried,
rails s -b $IP -p $PORT
rails s bundle exec
and several other commands I could find to connect. They all give me the same the response.
/usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/activesupport-5.0.0/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/activesupport-5.0.0/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `load_defaults' for #<Rails::Application::Configuration:0x00000001ccb018> (NoMethodError) from /home/ec2-user/environment/saasapp/config/application.rb:12:in `<class:Application>' from /home/ec2-user/environment/saasapp/config/application.rb:10:in `<module:Saasapp>' from /home/ec2-user/environment/saasapp/config/application.rb:9:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:88:in `require' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:88:in `block in server' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:85:in `tap' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:85:in `server' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:49:in `run_command!' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/railties-5.0.0/lib/rails/commands.rb:18:in `<top (required)>' from /home/ec2-user/environment/saasapp/bin/rails:9:in `require' from /home/ec2-user/environment/saasapp/bin/rails:9:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/client.rb:30:in `run' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/bin/spring:49:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load' from /usr/local/rvm/gems/ruby-2.4.1@saasapp/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>' from /home/ec2-user/environment/saasapp/bin/spring:15:in `require' from /home/ec2-user/environment/saasapp/bin/spring:15:in `<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in `<main>'
I get a simple error page when attempting to open up in browser saying "No application seems to be running here". Thank you for your time.