Forum: Ruby on Rails How to move rails 3.2.8 project from ubuntu to windows7?

Posted by wpollans (Guest)
on 2013-01-02 18:39
(Received via mailing list)
Currently, I have xubuntu installed on a bootable 16gb usb drive - the
rails app lives on this drive.  This is for the benefit of a friend that
uses a win7 laptop - she boots from the usb drive to run the rails app -
works fine.  I would like to have this app run in windows, so she 
doesn't
have to reboot to use it.  I see that I can install rails via 
rubyinstaller
(http://rubyinstaller.org/).

QUESTION: Can I just copy the top-level rails application directory to
windows?  Haven't tried yet - trying to get advice before I start  8-)

Feel free to point me elsewhere

Thanks
Posted by Damjan Rems (ther)
on 2013-01-02 19:47
wpollans wrote in post #1090832:
> Currently, I have xubuntu installed on a bootable 16gb usb drive - the
> rails app lives on this drive.  This is for the benefit of a friend that
> uses a win7 laptop - she boots from the usb drive to run the rails app -
> works fine.  I would like to have this app run in windows, so she
> doesn't
> have to reboot to use it.  I see that I can install rails via
> rubyinstaller
> (http://rubyinstaller.org/).
>
> QUESTION: Can I just copy the top-level rails application directory to
> windows?  Haven't tried yet - trying to get advice before I start  8-)
>
> Feel free to point me elsewhere
>
> Thanks

It should work with webrick as server unless you use gems that need 
compilation and are platform specific.


by
TheR
Posted by Robert Walker (robert4723)
on 2013-01-02 21:54
wpollans wrote in post #1090832:
> Currently, I have xubuntu installed on a bootable 16gb usb drive - the
> rails app lives on this drive.  This is for the benefit of a friend that
> uses a win7 laptop - she boots from the usb drive to run the rails app -
> works fine.  I would like to have this app run in windows, so she
> doesn't
> have to reboot to use it.  I see that I can install rails via
> rubyinstaller
> (http://rubyinstaller.org/).

Have you tried a more direct approach so she doesn't have to reboot her 
machine? Like VirtualBox for instance:

https://www.virtualbox.org

That might actually end up being less painful for you since you can 
continue using your favorite linux inside the virtual machine since you 
then don't have to worry about gems that use native extensions.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.