Ruby on Rails Wednesday, June 30, 2010

Yes :) the error message tells you exactly what you have to do, just
like Lake did.

On Jun 29, 1:33 pm, Lake Denman <lden...@gmail.com> wrote:
> Well, it looks like you're using rails 2.2.3 in your config/
> environment.rb file.
>
> You can either update that version number in the environment.rb file
> to match 2.3.8, the rails version you say you have installed on your
> host, and deploy.
>
> Or "gem install -v=2.2.3 rails" on your server and hope for the
> best. :)
>
> good luck,
>
> Lake
>
> On Jun 29, 12:43 am, Ali Imran <ali.imran.r...@gmail.com> wrote:
>
>
>
> > I follow all the steps and got this error
>
> > The application has exited during startup (i.e. during the evaluation
> > of config/environment.rb). The error message can be found below. To
> > solve this problem, please follow any instructions in the error
> > message.
> > Error message:
> > Missing the Rails 2.2.3 gem. Please `gem install -v=2.2.3 rails`,
> > update your RAILS_GEM_VERSION setting in config/environment.rb for the
> > Rails version you do have installed, or comment out RAILS_GEM_VERSION
> > to use the latest version installed.
> > Application root:
> > /home/realhotr/demo
>
> > On Jun 28, 8:36 pm, Victor S <victor.s...@gmail.com> wrote:
>
> > > If you go to google. you can type: "site5 rails deploy" and the first
> > > hit you get is the answer...
>
> > > Did you try to do what that post sais? Also try to be perceptive of
> > > any minute differences in your environment or how you might like to
> > > make things work for you better... you don't have or if the info is a
> > > bit outdate, be following things strictly, try to adapt the tutorial
> > > to what you need. Let me know if the tutorial doesn't do it for you
> > > still.
>
> > > - V
>
> > > On Jun 28, 4:34 pm, Ali Imran <ali.imran.r...@gmail.com> wrote:
>
> > > > thanks for the reply.
>
> > > > I read the completely link you send me. and i also looked at the
> > > > site5.com forum and still looking at it but did not find any help to
> > > > deploy the application . I tried all the ways i know...
>
> > > > On Jun 27, 11:33 pm, Victor S <victor.s...@gmail.com> wrote:
>
> > > > > I deployed on Site5, so it's possible :)
>
> > > > > Search their bulletin board for a tutorial, i can't remember the link
> > > > > off hand, if you have trouble let me know.
>
> > > > > If you are developing locally you don't need apache, just go to your
> > > > > app in the terminal and say$ script/server
>
> > > > > This is a pretty good getting started guide:http://guides.rubyonrails.org/getting_started.html
>
> > > > > But anyway... check the Site5 forum it worked for me, you can try
> > > > > using the cpanel to start off your rails app, and it will setup a
> > > > > subdomain for you. if your get that app working, replace the contents
> > > > > of the folder with your own...
>
> > > > > I ssh'ed into site5 and linked the folder created by the cpanel wizard
> > > > > to my own rails 'public' folder outside the www folder, if i remember
> > > > > correctly. Theres no need for your rails app to be available to
> > > > > apache. Then you probably want to look into theirpassengerserver
> > > > > restart method... where you're supposed to make a file called
> > > > > restart.txt or something, and put it somewhere, I can't remember
> > > > > exactly I think I moved it from the default location... again, the
> > > > > forums are a good resource :) -- then you just ssh again and unix
> > > > > "touch" it and bam the server restarts.... you might not want this
> > > > > file to be in the www folder either ;)
>
> > > > > Good luck,
>
> > > > > - V
>
> > > > > On Jun 26, 11:28 pm, Ali Imran <ali.imran.r...@gmail.com> wrote:
>
> > > > > > I install locally apache2..
> > > > > > and i have two hosting accounts i can use any one ...
>
> > > > > > i have one with site5.com and other one is godaddy.com...
>
> > > > > > what step i need to take now please help me ... its driving me crazy..
>
> > > > > > On Jun 26, 12:02 pm, murali dhararao <sumud...@gmail.com> wrote:
>
> > > > > > > Hi ,
>
> > > > > > > Did you deployed application on apache server? is that is running locally?
>
> > > > > > > On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran <ali.imran.r...@gmail.com> wrote:
> > > > > > > > I installed
>
> > > > > > > > ruby: 1.8.7
> > > > > > > > rails: 2.3.8
> > > > > > > > gems:  1.3.5
>
> > > > > > > > on the Ubuntu withpassenger 2.2.15
>
> > > > > > > > now i create the first demo application,
>
> > > > > > > > i create a folder on home "ruby"->"demo"
>
> > > > > > > > than i created a sites-available
>
> > > > > > > > udo nano /etc/apache2/sites-available/demo
>
> > > > > > > > <VirtualHost *:80>
>
> > > > > > > > ServerName mydomain.com
> > > > > > > > ServerAliaswww.mydomain.com
>
> > > > > > > > DocumentRoot /home/ruby/demo/public
>
> > > > > > > > </VirtualHost>
>
> > > > > > > > i am looking for next step .. where to go from here and also please
> > > > > > > > help me if i am doing these steps wrong
>
> > > > > > > > i also run the demo project by apache2 server by
>
> > > > > > > > placing application in  /var/www
>
> > > > > > > > and it works fine.
>
> > > > > > > > but how i move to this my shared hosting server
> > > > > > > > and run online
>
> > > > > > > > Thanks
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the Google Groups
> > > > > > > > "Ruby on Rails: Talk" group.
> > > > > > > > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscrib e@googlegroups.com>
> > > > > > > > .
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/rubyonrails-talk?hl=en.
>
> > > > > > > --
> > > > > > > Thanks & Regards,
> > > > > > > MuraliDharaRao.T
> > > > > > > +91-9642234646

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment