TurnKey Linux Virtual Appliance Library

Ruby on Rails Sample program startup

I am new to Turnkey, but found the installation very easy.

I am using a static IP and can get to the Webadmin screen via Https with no problems.

Should the sample Ruby on Rails app fire up automatically or am I missing a step?

The Passanger module is a new thing for me as well so perhaps I missed something there.

From the description it looks like Mongrel was dropped so the script/server command is not going to help.

Jeremy's picture

Did you check the appliance page?

Glad to hear you've got your TKL server up and running no worries!

On the appliance page it says:

"Preconfigured example Rails application located at /var/www/railsapp"

I would assume that'd be equate to http://appliance-ip/railsapp/ Is that where you looked?

I have a very similar issue. I cannot see the sample apps.

Were you able to fix this? If so how?

I gave up

My limited experience with Ruby on Rails has sent me in a new direction.  If I want to deploy to Heroku or EngineYard, everything is very easy and tied in with GIT.

When I want to host my own Ruby on Rails Server at our company, deployment become unknown with documentation that was incomplete.

I gave up because I never figured out how to deploy.  Great Language, Ruby, but the Ruby and Rails arrogance of convention over configuration and only one way to do something, became to much work.

I am using PHP instead.

Thanks for the reply

Thanks for the reply.

passenger no go

I'm also stuck on this, I have been able to run webrick inside the app by updating rails and doing:

"rails s"

but still no go with the apache passenger module, tried running:

http://tk-rails-ip/ (takes me to webmin)

http://tk-rails-ip/railsapp/ (404)

http://tk-rails-ip/railsapp/public (404)

passenger go!

Sorry!! I figured out now that in fact im seeing the default railsapp at http://tk-rails-ip/

the thing is that its not the default railsapp that I (and many of us) expected so we were all thinking it was not working!

So if you are seeing this:

You are now on the default railsapp

Default Display Missing

The external image linked from the comment is no longer valid. What did it show?



Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)