korssane korssane wrote in post #982985:
> Colin Law wrote in post #982958:
>> On 21 February 2011 16:11, korssane korssane <[email protected]>
>> wrote:
>>> Hi guys,
>>>
>>> I am working on importing a website locally to do some changes in a safe
>>> mode.
>>>
>>>
>>> Is there a way to go to the website itself and check what is the
>>> package ( rails version ,..etc) in order to avoid any conflict?
>>
>> Assuming you have access to the source (you will have difficulty
>> 'importing' it otherwise, though import is a strange word to use) then
>> look in config/environment.rb and you will likely see a line like
>> RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
>> in which case it is 2.3.8.  But also check in folder vendor.  If there
>> is a Rails folder in there then that will be used whatever version it
>> is.
>>
>> The above assumes it is not Rails 3, if it is then look in Gemfile in
>> the application root folder.
>>
>> Colin
>
>
> thanks guys,
>  i will try your suggestions and get back to you.
>
> thanks again

Hey guys,
 i figure out that the website is running using the following :
rails : 2.1.0
ruby 1.8.6

what i have to do in this case..

Update to rails 3 and try to run the website locally ?
or repicate the same environment locally ?

i am quite confused and i am really a new beginner.

Any suggestion will be more thsan appreciated.

thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to