I am using Ubuntu 14, Aptana Studio 3 and WEBrick 1.3.1 for Ruby on Rails (installed by https://gorails.com/setup/ubuntu/14.10)
I noticed that there is a difference between sudo and non-sudo ruby/rails.
$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [i686-linux]
$ rails -v
sRails 4.2.0
$ sudo ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux]
$ sudo rails -v
Rails 3.2.16
The problem is that Aptana is running WEBrick with the old sudo version of Rails which causes a number of issues. Can you please suggest how to either update the sudo Ruby (which might not be a good idea since it seems to be used somewhere in the system) or how to make WEBrick use correct updated version of Ruby and Rails or how to make Aptana start server without sudo?