Is rails same for ruby and Jruby

Hi, A quick question. If I develop an application on Rails3. Is it
independent of ruby or Jruby? Can any rails application be deployed on
Jruby or ruby?