develify.com
ruby Archives - develify.com
http://develify.com/category/ruby
Testing ActiveRecord without Rails. September 19, 2014. I made a small gem called easy-filter. For filtering and sorting. It also contains some view helper to display search fields and sorting link. I would like to use RSpec. For testing my gem but how can I test a database related feature without a database and use ActiveRecord without Rails? Continue reading Testing ActiveRecord without Rails. Whenever gem problem – ruby: No such file or directory. January 7, 2014. December 17, 2013. One comment so far.
develify.com
Can not find compiler and 'make' tool on OSX - develify.com
http://develify.com/can-not-find-compiler-and-make-tool
Can not find compiler and ‘make’ tool on OSX. December 17, 2013. Today I faced a problem with. First I try to refresh my gem files with Bundler. But I got error messages like. 8220;Failed to build gem native extension”. 8220;You have to install development tools first”. Do ': The compiler failed to generate an executable file. (RuntimeError). You have to install development tools first. From /Users/kepes/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:506:in `try cpp'. From extconf.rb:14:in ` main '.
develify.com
rspec Archives - develify.com
http://develify.com/tag/rspec
Testing ActiveRecord without Rails. September 19, 2014. I made a small gem called easy-filter. For filtering and sorting. It also contains some view helper to display search fields and sorting link. I would like to use RSpec. For testing my gem but how can I test a database related feature without a database and use ActiveRecord without Rails? Continue reading Testing ActiveRecord without Rails. Why Rails 4 jQuery document ready not working? Use HTML inside Rails translation file.
develify.com
rails Archives - develify.com
http://develify.com/tag/rails
Why Rails 4 jQuery document ready not working? September 15, 2015. I would like to write a small jQuery script in a Rails 4 app but I can’t run it when the page load. In javascript console the script works when I call it manually but not loaded after the page load. I wondering why and spent few hours to figure out two main problem in my code. Main reason was Turbolinks. Gem what is turned on by default in Rails 4. Continue reading Why Rails 4 jQuery document ready not working? September 22, 2014. Last we...
develify.com
activerecord Archives - develify.com
http://develify.com/tag/activerecord
Testing ActiveRecord without Rails. September 19, 2014. I made a small gem called easy-filter. For filtering and sorting. It also contains some view helper to display search fields and sorting link. I would like to use RSpec. For testing my gem but how can I test a database related feature without a database and use ActiveRecord without Rails? Continue reading Testing ActiveRecord without Rails. Why Rails 4 jQuery document ready not working? Use HTML inside Rails translation file.
develify.com
whenever Archives - develify.com
http://develify.com/tag/whenever
Whenever gem problem – ruby: No such file or directory. January 7, 2014. In my Rails application for sending mail and generating invoices I try to use Whenever. Gem Configuration and deploy with Capistrano. Isn’t an issue but after deploying the cron job drop an error message:. 8220;/usr/bin/env: ruby: No such file or directory” Continue reading Whenever gem problem – ruby: No such file or directory. Why Rails 4 jQuery document ready not working? Use HTML inside Rails translation file.
develify.com
Use HTML inside Rails translation file - develify.com
http://develify.com/html-inside-rails-translation
Use HTML inside Rails translation file. September 22, 2014. I already wrote about translating Paperclip error messages. But now I faced another translation problem. I need to use HTML inside Rails translation but it’s not so trivial as I thought. Just put it and forget it not working because Rails change all special HTML characters to escape string and of course this is not what I want. I need a link not a text with the link’s HTML code. Why Rails doing this change? If you are here you probably try to use.
develify.com
cron Archives - develify.com
http://develify.com/tag/cron
Whenever gem problem – ruby: No such file or directory. January 7, 2014. In my Rails application for sending mail and generating invoices I try to use Whenever. Gem Configuration and deploy with Capistrano. Isn’t an issue but after deploying the cron job drop an error message:. 8220;/usr/bin/env: ruby: No such file or directory” Continue reading Whenever gem problem – ruby: No such file or directory. Why Rails 4 jQuery document ready not working? Use HTML inside Rails translation file.
develify.com
error Archives - develify.com
http://develify.com/tag/error
Whenever gem problem – ruby: No such file or directory. January 7, 2014. In my Rails application for sending mail and generating invoices I try to use Whenever. Gem Configuration and deploy with Capistrano. Isn’t an issue but after deploying the cron job drop an error message:. 8220;/usr/bin/env: ruby: No such file or directory” Continue reading Whenever gem problem – ruby: No such file or directory. Can not find compiler and ‘make’ tool on OSX. December 17, 2013. Today I faced a problem with. On Sensu m...
develify.com
Whenever gem problem - ruby: No such file or directory - develify.com
http://develify.com/whenever-gem-problem-ruby-no-such-file-or-directory
Whenever gem problem – ruby: No such file or directory. January 7, 2014. In my Rails application for sending mail and generating invoices I try to use Whenever. Gem Configuration and deploy with Capistrano. Isn’t an issue but after deploying the cron job drop an error message:. 8220;/usr/bin/env: ruby: No such file or directory”. Problem is cron job not running with user’s shell configuration but a minimal one. The job can’t find Ruby in. Crontab -e * * * * * /usr/bin/env /home/my-user/env.txt. Crontab -...