07 Dec '17, 1am

Fix Rails environment when running tests with Ruby

I frequently run tests with `ruby`, not with a runner like `rake` or `rails`. When running the test with just `ruby` the `RAILS_ENV` environment variable did not get set to "test", and this would cause the tests to fail (and even mutate the development database!) This commit adds integration tests for running tests with just `ruby` and ensures the environment gets defaulted to "test". I also added a test to ensure that passing an environment to `-e` actually works (and fixed that case too). An interesting / annoying thing is that Minitest picks up it's plugins by asking RubyGems for a list of files: https://github.com/seattlerb/minitest/blob/ca6a71ca901016db09a5ad466b4adea4b52a504a/lib/minitest.rb#L92-L100 This means that RubyGems needs to somehow know about the file before it can return it to Minitest. Since we are not packaging Rails as a Gem before running the integrati...

Full article: https://github.com/rails/rails/pull/31355

Tweets

New Job Alert: writing about ruby on rails prog...

freelancer.com 07 Dec '17, 10am

which programming language revolutionized the software industry , the ruby programming language pdf , the ruby programming...

360Cities: Ruby On Rails Developer

weworkremotely.com 06 Dec '17, 11am

360Cities, the world's largest publishing platform for expert creators of high-quality 360° panoramas and videos, is looki...

Ruby on Rails specialist

freelance.nl 08 Dec '17, 2pm

Ben je in grote lijnen bekend met het model-view-controller-model? Heb je daarnaast een paar jaar ervaring met Ruby on Rai...

Rails App Silently Crashes on Ruby 2.4

Rails App Silently Crashes on Ruby 2.4

engineyard.com 04 Dec '17, 5pm

I've been working recently to update RailsInstaller to use Ruby 2.4. It has taken a long time to get Ruby 2.4 working with...

New Job Alert: Fix Ruby on Rails App / Platform...

freelancer.com 08 Dec '17, 3pm

ruby rails server admin panel webmin , ruby rails app android , iphone app ruby rails end , ruby rails facebook app facebo...

Are you looking for Ruby on Rails development company? Hire Perception System

Are you looking for Ruby on Rails development c...

perceptionsystem.com 07 Dec '17, 10am

Start-up Consultancy Start-up Consultancy Our Rails developers are intensely aware of full-stack web development practices...

Toptal LLC: Ruby on Rails Developers

weworkremotely.com 05 Dec '17, 3pm

We are looking for a Ruby on Rails developer to be responsible for managing the interchange of data between the server and...

Modify Ruby on Rails Website by tpsarpan

freelancer.com 05 Dec '17, 4am

ruby on rails tutorial for beginners , rails generate model , rails generate model example , ruby on rails tutorial w3scho...

/ Ruby on Railsを使った開発で参照してもよいドキュメント

/ Ruby on Railsを使った開発で参照してもよいドキュメント

qiita.com 04 Dec '17, 4pm

$ ruby -h Usage: ruby [switches] [--] [programfile] [arguments] -0[octal] specify record separator (\0, if no argument) -a...

Build an app using React Native and Ruby on Rai...

freelancer.com 05 Dec '17, 8am

for hire programmer using react native , using yelp api ruby rails , using basecamp api ruby rails , website using ruby ra...

Deploy completed Ruby on Rails web app from Git...

freelancer.com 05 Dec '17, 1pm

ruby rails web service android app , ruby rails facebook app facebookcom , ruby rails web services , ruby rails web portal...

Need ReactJS / Ruby on Rails developer by justb...

freelancer.com 04 Dec '17, 2pm

web developer looking for job php html css jquery , web developer looking for experience , vacancies ruby rails developer ...