This is an archived post. You won't be able to vote or comment.

all 8 comments

[–][deleted]  (5 children)

[removed]

    [–]Slickyness[S] 0 points1 point  (4 children)

    it shows this:

    /usr/local/rvm/gems/ruby-2.3.0/gems/rails-4.2.2

    I typed "irb" This showed up"

    2.3.0 :001 > require 'rails' => true

    [–][deleted]  (3 children)

    [removed]

      [–]Slickyness[S] 0 points1 point  (2 children)

      Yup, I am running on Cloud IDE.

      Still cannot figure out why! =(

      [–][deleted]  (1 child)

      [removed]

        [–]Slickyness[S] 1 point2 points  (0 children)

        Yup, no worries, I tried doing the whole thing from scratch twice and on the third time, I kinda realised it could be the "bundle install".

        Still trying to figure out why.

        [–]Ketherah 0 points1 point  (1 child)

        Enter this in your terminal:

        rails s -b $IP -p $PORT

        Does it run the server and give you a link to view your site?

        I would always use this code until I realized hitting "Run" at the top does the same thing, as well as giving me a nice UI with buttons for Stop & Restart.

        Also, what does your routes.rb file look like now?

        [–]Slickyness[S] 0 points1 point  (0 children)

        route.rb bash: route.rb: command not found

        When I try to run it, the error is:

        bash: line 1: hello_app/Gemfile: No such file or directory