Deploy: Developing on Windows Deploying on Linux hosting

I am trying from a week to deploy my application. Please help me how
to do this.

Thanks

What's not working? What's your setup (unicorn/passenger/mongrel/
something else) ?

Fred

Ali Imran wrote:

I am trying from a week to deploy my application. Please help me how
to do this.

Thanks

To save yourself tons of potential future grief, try setting up a VM on
your Windows machine that is based on the same Linux OS as your
deployment target OS.

Then it becomes easy-peasy, otherwise you're caught trying to make sure
that the gems you have been using under Windows behave the same under
your Linux OS. Generally (very generally) not an issue.

Thanks for the reply

How to install the passenger on windows xp. I am trying to install it
but it is giving me
this error...

C:\>gem install passenger
Building native extensions. This could take a while...
ERROR: Error installing passenger:
        ERROR: Failed to build gem native extension.

C:/Ruby191/bin/ruby.exe extconf.rb

make
'make' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in C:/Ruby191/lib/ruby/gems/1.9.1/gems/
fastthrea
d-1.0.7 for inspection.
Results logged to C:/Ruby191/lib/ruby/gems/1.9.1/gems/fastthread-1.0.7/
ext/fastt
hread/gem_make.out

C:\>

Ar is correct - Virtual Box http://www.virtualbox.org/ is one such
path and is free for personal use.

You might checkout Capistrano - http://www.capify.org/index.php/Tutorials

And depending on what you're deploying you might be interested in
Heroku - http://heroku.com/

Ali Imran wrote:

Thanks for the reply

How to install the passenger on windows xp.

Please see
http://www.modrails.com/documentation/Users%20guide%20Apache.html#_supported_operating_systems

Best,

Buddy Thanks for reply..

Thanks...
it says

"Phusion Passenger works on any POSIX-compliant operating system. In
other words: practically any operating system on earth, except
Microsoft Windows"

so it is not possible to install on windows ...

Ali Imran wrote:

Thanks...
it says

"Phusion Passenger works on any POSIX-compliant operating system. In
other words: practically any operating system on earth, except
Microsoft Windows"

so it is not possible to install on windows ...

Right (unless you're using a VM, of course).

Best,

Please if some one tell me how to setup the virtual machine on windows
PC,..

Thanks...

I found it here

http://www.pendrivelinux.com/running-linux-from-within-windows-virtually/

here is how...

http://www.pendrivelinux.com/running-linux-from-within-windows-virtually/

here is iso

http://www.linuxlookup.com/linux_iso

this is virtual box

http://www.virtualbox.org/wiki/Downloads

Do Now I need to install Ruby on rails on my virtual machine..

Probably; if it's not in there by default. Or you could use a
full-stack that's already prepared for you. There was an email the
other day about a Rails VM that was ready-to-use:

http://capslog-informatique.fr/site_virtualrails/

Haven't used it myself though...

I installed It , Can you please help me how to setup the Ruby on rails
over this virtual machine.?

Thanks..

I found this and use this method to install ruby on rails on virtual
box

http://panthersoftware.com/articles/view/6/ruby-on-rails-development-on-ubuntu-9-04-jaunty-using-ruby-1-8-6

Ali Imran wrote:

I installed It , Can you please help me how to setup the Ruby on rails
over this virtual machine.?

Thanks..

Hi, I'm the Project Manager of VirtualRails :slight_smile:

you don't have to setup Ruby on Rails on VirtualRails, It's already
done.

In fact, the VirtualRails virtual machine is already fully configured to
develop and/or deploy Ruby on Rails applications on an ubuntu basis.

You don't have to follow the instructions of Panther Software, the job
is already done :wink:
All you want to use is already there up and running : Ruby, Rails,
Netbeans, MySQL, and so on...

All you have to do is to run VirtualRails and get your source code into
it, with subversion or git for exemple, or even by pasting it from your
windows hard drive.

Let me know how I can help you :slight_smile:

Jérôme
www.virtualrails.org

Thanks for the reply:

I install it on my laptop, and key board is not supporting ... Its HP
machine..

Thanks

Ali Imran wrote:

Thanks for the reply:

I install it on my laptop, and key board is not supporting ... Its HP
machine..

Thanks

You're welcome
did you tried the last 1.1 version ? It comes with a better US keyboard
layout support.

On the other side, like on any Ubuntu system, you can easyly configure
the keyboard layout that fit your laptops'hardware :
In VirtualRails, cick on the bottom menu and go to "menu -> preferences
-> keyboard"
There you can adjust your keyboard settings :slight_smile:

hope it will help !

Buddy, you did the great job,

Yes I tried all possible key board support in Ubuntu. It did not work,
I also did not try 1.1.

I will download it and try it on my machines will let you know about
my that experience too.

Thanks,