On Tuesday, August 12, 2014 11:19:53 PM UTC+2, Ruby-Forum.com User wrote:
>
> Hi, I'm new to Ruby and Ruby on Rails. I have a CentOS server which is 
> part of an offline/private network. I need to install Ruby on Rails, 
> MySQL, Apache, and PHPmyAdmin on the server and be able to take and keep 
> the server offline after the install. Does anyone have any resources on 
> how to go about all this? Thanks! 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>

It will be really difficult to install all that stuff off-line. Once you 
install RVM, Ruby, you can init a simple Rails app by just packaging all 
the needed gems into vendor/cache directory of the Rails application to 
copy:
Just create a Rails app locally on your PC, then  run (from insde of your 
Rails app created somewhere on your PC):

bundle package

Then copy the locally created app to the server and run

bundle install

This use the gems in the cache in preference to the ones onrubygems.org.

But install Mysql, Apache & Co - dont think it to be possible offline.
Even when using tolls like Chief, Puppet.

May be the best solution will be to use Vagrant and then copy the VM to the 
server. 




-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/90758988-fc43-486a-926a-0372f53e5348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to