Re: [Rails] @ gem cocoon - how do i

2019-06-10 Thread Ariel Juodziukynas
If you want a blank book just do @user.books.build with no attributes El lun., 10 jun. 2019 a las 16:45, Ariel Juodziukynas () escribió: > Let's say you have a user that has many books, if you want to hace some > book prefilled just do > > @user.books.build(title: something, year: someyear) > > A

Re: [Rails] @ gem cocoon - how do i

2019-06-10 Thread Ariel Juodziukynas
Let's say you have a user that has many books, if you want to hace some book prefilled just do @user.books.build(title: something, year: someyear) As long as you don't reload the relationship, the books will be on the user (just not persisted) and `fields_for :books` will iterate over them You c

[Rails] @ gem cocoon - how do i

2019-06-10 Thread tom
HI, i am baffled on how to make the first set of nested fields visible. currently, it all works, but even just in order to display the 1st set of fields, i have to click "add " 2) how do i assign values to the object in the controller to the first set ? thank you -- You received this mes

[Rails] gem auto-session timeout

2017-04-28 Thread Joe Guerra
Hi, does anyone have any experience with this gem? I've got it plugged into my app, but I believe it requires some javascript (and the gem 'jquery-ui-rails', '~> 4.2.1' ). *It's been awhile since I've looked at it, and i've just # commented the jquery-ui-rails out of my app (because it raise

Re: [Rails] gem 'rack', '2.0.1' error from bundler

2016-12-11 Thread nanaya
Hi, On Mon, Dec 12, 2016, at 12:50, fugee ohu wrote: > What's wrong with " gem 'rack', '2.0.1' " in my Gemfile ? > > Here's the error I get when I run bundle install: > > Bundler could not find compatible versions for gem "rack": > In Gemfile: > rack (= 2.0.1) > > rails (= 5.0.0.1) w

[Rails] gem 'rack', '2.0.1' error from bundler

2016-12-11 Thread fugee ohu
x27;rack', '2.0.1' " in my Gemfile ? source 'https://rubygems.org' gem 'railties', '5.0.0.1' gem 'rack', '2.0.1' gem 'rails', '5.0.0.1' gem 'rake', '11.2.2' gem 'mysql2' gem '

Re: [Rails] gem install rails - can't install

2016-05-09 Thread Greg Navis
My hypothesis would be missing headers and libraries for libxml2, libxslt or ruby. What's inside mkmf.log? -- Greg Navis I help tech companies to scale Heroku-hosted Rails apps. Free, biweekly scalability newsletter for SaaS CEOs -- You received this messag

Re: [Rails] gem install rails - can't install

2016-05-09 Thread Colin Law
On 9 May 2016 at 08:16, Solarflow 99 wrote: > Hi, I have a rhel7 system and am trying to install the rails gem, I was > wondering how to troubleshoot this since I don't see any useful error > message. I'm guessing i'm just missing something, how to see what it >

[Rails] gem install rails - can't install

2016-05-09 Thread Solarflow 99
Hi, I have a rhel7 system and am trying to install the rails gem, I was wondering how to troubleshoot this since I don't see any useful error message. I'm guessing i'm just missing something, how to see what it might be? # gem install rails Building native extensions. This cou

[Rails] Gem for Let's Encrypt certificates

2016-02-10 Thread tobias
Hi! I've created a simple gem to obtain certificates from Let's Encrypt. It would be nice if some of you could test the gem and maybe help me to make it more useful for Rails users. On Github: https://github.com/tobiasfeistmantl/LeSSL On Rubygems: ht

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
Also what version of Ruby are you running? This might be a good place to also look for help: https://bitbucket.org/ged/ruby-pg/issues?status=new&status=open > On Jan 25, 2016, at 8:44 PM, Scott Eisenberg wrote: > > What specifically is the OS here. I’m not certain I recognize the icons on

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
What specifically is the OS here. I’m not certain I recognize the icons on the dock. > On Jan 25, 2016, at 5:35 PM, Benyamin Pm wrote: > > Colin Law wrote in post #1180889: >> On 25 January 2016 at 22:13, Benyamin Pm wrote: >>> hi scott. >>> >>> >>> please take a look at this => >>> http:/

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
How about giving us the output of bundle list? Or at the very least bundle list pg? PS If you see pg listed there you’re gonna have to give more information like the stacktrace, error messages in the server window, your database.yml file. If you want help at least give us a fighting chance...

Re: [Rails] Gem::Load error

2016-01-25 Thread Colin Law
On 25 January 2016 at 21:24, Benyamin Pm wrote: > hi everyone.. > i install rails and all the things which is need for. > i create a new project > i create datbase's and set the database.yml file > > but when i go to browser and type this=> localhost:3000. i get this > error=> > > Gem::Loaderror >

Re: [Rails] Gem::Load error

2016-01-25 Thread James Jelinek (shakycode)
What does your Gemfile look like? Does it have the pg gem listed? -James > On Jan 25, 2016, at 3:24 PM, Benyamin Pm wrote: > > hi everyone.. > i install rails and all the things which is need for. > i create a new project > i create datbase's and set the database.yml file > > but when i go to

[Rails] Gem::Load error

2016-01-25 Thread Benyamin Pm
hi everyone.. i install rails and all the things which is need for. i create a new project i create datbase's and set the database.yml file but when i go to browser and type this=> localhost:3000. i get this error=> Gem::Loaderror Specified 'postgresql' for database adapter, but the gem is not l

[Rails] GEM Ryakuzu - interface for schema.rb

2015-12-15 Thread Eugene Domosedov
Ryakuzu may be useful, when you need to quickly change the name/type of columns, and tables, or remove/rename it. Ryakuzu provides simple CRUD operations on your schema.rb and starts the migration for you. All temporary migration files are automatically deleted after migration. https://github.com/I

[Rails] Gem for plotting graphs

2015-10-22 Thread Colin Law
In case anyone is interested I have published a gem which provides a railsy interface to the flot javascript charting library. It is designed so that it encourages MVC design, with collection of data for plotting in the controller, and definition of plotting details in the view/view helpers. All

[Rails] Gem to bechmark your methods

2015-10-12 Thread Igor Kasyanchuk
Benchmark and measure execution time your Ruby methods without an additional code changes: https://github.com/igorkasyanchuk/benchmark_methods Please put a star if you like it! Thank you! Your feedback is appreciated. Sample: class User < ActiveRecord::Base include BenchmarkMethods benchmark

Re: [Rails] Gem dependency issue

2015-09-28 Thread Eito Katagiri
Hi, Before using `gon.variable`, do you call `include_gon` somewhere in your view? HTH, :eito On Tue, Sep 29, 2015 at 6:01 AM Colin Law wrote: > I am developing a rails gem. It uses the gon gem so in the gemspec > file I have included > > spec.add_dependency 'gon' &

Re: [Rails] Gem dependency issue

2015-09-28 Thread Marco Antonio Almeida
Hi Colin, On Mon, Sep 28, 2015 at 11:00 PM Colin Law wrote: > I am developing a rails gem. It uses the gon gem so in the gemspec > file I have included > > spec.add_dependency 'gon' > > Then in the Gemfile for the application using my gem I have put > > ge

[Rails] Gem dependency issue

2015-09-28 Thread Colin Law
I am developing a rails gem. It uses the gon gem so in the gemspec file I have included spec.add_dependency 'gon' Then in the Gemfile for the application using my gem I have put gem 'my_gem', :path => '/path/to/dir/containing/my_gem' When I run bundle install

Re: [Rails] Rails Gem

2015-09-09 Thread Colin Law
On 9 September 2015 at 15:02, Johnson Ogwuru wrote: > Hey Goodday guys, what should i do, when trying to install rails, it keeps > telling me gem is damaged, i downloaded ruby 2.2.3... your answer is needed > urgently, thanks Can you copy/paste the command you are using along with all the outpu

[Rails] Rails Gem

2015-09-09 Thread Johnson Ogwuru
Hey Goodday guys, what should i do, when trying to install rails, it keeps telling me gem is damaged, i downloaded ruby 2.2.3... your answer is needed urgently, thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe fro

[Rails] gem install libxml-ruby - extconf failure: need zlib

2015-08-31 Thread MusReg
Hi, I am getting below error while installing libxml-ruby gem. As per peoples suggestion on other threads, I tried to install 32 bit version of libxml-ruby gem, but still getting the same error. I am using windows 7 and Ruby 1.9.3. Please help me out here as I need to make the old project run o

[Rails] TeleNotify Rails gem lets you send notifications to your users via Telegram

2015-08-03 Thread ppati000
(Posted this on Reddit already, but I thought it might be interesting for you guys) Hey everyone, This little gem I made uses the Telegram Bot API to easily send notifications to your users via Telegram. As soon as a user starts your bot (via a link in your app), they are stored in the datab

Re: [Rails] Gem mailcatcher - do not received emails

2015-07-16 Thread Hassan Schroeder
On Thu, Jul 16, 2015 at 7:27 AM, Dmitriy wrote: > In development.rb added: > config.action_mailer.delivery_method = :smtp > config.action_mailer.smtp_settings = { :address => "localhost", :port > => 1025 } > config.action_mailer.raise_delivery_errors = true In development mode

[Rails] Gem mailcatcher - do not received emails

2015-07-16 Thread Dmitriy
I create new user. After creating should received confirmation mail. but when i open mailcatcher(http://127.0.0.1:1080/)... nothing! i use mailcatcher v. 0.5.12, Rails 3.2.22 In development.rb added: # Don't care if the mailer can't send config.action_mailer.delivery_method = :smtp

[Rails] Re: can't install rails - gem is asking for a zlib

2015-07-15 Thread Benjamin Lu
Hi guys, I have the same issue on CentOS Linux release 7.1.1503: # gem install rails ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass == # g

[Rails] Gem or fast way to build task management system

2015-06-24 Thread btaek
Hi, I have built a platform connecting business consultants and information purchasers online using Ruby on Rails. I wondering if there is any Gem to implement a task management service for business consultants, which is similar to basic version of Enterprise Resource Planning (ERP) system. A

Re: [Rails] [gem] New notification gem

2015-03-01 Thread tamouse pontiki
Looks nice! *'d :D On Thu, Feb 26, 2015 at 1:31 PM, Pedro Henrique Passalini < henrique.passal...@gmail.com> wrote: > Hi guys, I'm passing by just to share a gem that we are developing... > > The idea is to make management and visualization of notifications in > back-end and front-end easier. > >

[Rails] [gem] New notification gem

2015-02-28 Thread Pedro Henrique Passalini
Hi guys, I'm passing by just to share a gem that we are developing... The idea is to make management and visualization of notifications in back-end and front-end easier. Any feedback is welcome.. https://github.com/algorich/notifly -- You received this message because you are subscribed to t

Re: [Rails] Gem Rails Version Showing Wrong?

2015-01-31 Thread Colin Law
On 31 January 2015 at 18:42, Tiago Rossi wrote: > Thanks for the answer guys, its truth, I have two versions installed, the > server has latest version of Cpanel/WHM and it has a script developed by > Cpanel to install ruby 1.8.3 ( /scripts/installruby ) that way ruby will > appear at the Cpanel f

Re: [Rails] Gem Rails Version Showing Wrong?

2015-01-31 Thread Tiago Rossi
Hello again guys, very strange, but today I've checked the rails version and it showed Rails 4.2.0 so I think its fine for now. Thanks and Best Regards Tiago Rossi Em sábado, 31 de janeiro de 2015 16:42:01 UTC-2, Tiago Rossi escreveu: > > Thanks for the answer guys, its truth, I have two version

Re: [Rails] Gem Rails Version Showing Wrong?

2015-01-31 Thread Tiago Rossi
Thanks for the answer guys, its truth, I have two versions installed, the server has latest version of Cpanel/WHM and it has a script developed by Cpanel to install ruby 1.8.3 ( /scripts/installruby ) that way ruby will appear at the Cpanel from each user and they can manage the apps, if I inst

Re: [Rails] Gem Rails Version Showing Wrong?

2015-01-31 Thread Colin Law
On 31 January 2015 at 05:30, Tiago Rossi wrote: > Hello, and first of all, Im starting with ruby and Ive installed into my > server, sorry for my newbie question here guys. > After install rails when I type rails -v it shows Rails 2.3.18 but after I > type gem dependency rails it shows Gem rails-4

Re: [Rails] Gem Rails Version Showing Wrong?

2015-01-30 Thread Sushruth Sivaramakrishnan
e the real version? > Thanks very much. > > Like that: > > #rails -v > Rails 2.3.18 > > # gem dependency rails > Gem rails-4.2.0 > ...show the dependencies > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails:

[Rails] Gem Rails Version Showing Wrong?

2015-01-30 Thread Tiago Rossi
the real version? Thanks very much. Like that: #rails -v Rails 2.3.18 # gem dependency rails Gem rails-4.2.0 ...show the dependencies -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop

Re: [Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-16 Thread Colin Law
On 15 January 2015 at 23:18, Beckah Zz wrote: > .. > I'm not able to use bundler because the connection is blocked at my > workplace, but regardless, why is it giving me the error that the gem > needs to be installed when it is installed? To run bundle when you do not have a connection the comman

Re: [Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-15 Thread Vivek Sampara
The jquery rails gem installed in your machine is not the that Gemfile needs. To confirm this, open Gemfile.lock. search for jquery-rails. you'll find the gem version. compare it with the one in your machine. Cheers On Fri, Jan 16, 2015 at 4:48 AM, Beckah Zz wrote: > When I try to

[Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-15 Thread Beckah Zz
When I try to start my project using `rails s` I have the following error message occur: Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine. Run `bundle install` to install missing gems. However, I know I definitely have that gem installed because when I p

[Rails] gem 'devise' error

2014-11-20 Thread JP
Hi, I am trying to install Devise but I am getting this error : gem 'devise', '~> 3.0.0.rc' ERROR: While executing gem ... (Gem::CommandLineError) Unknown command devise, --- Thanks -- You received this message because you are subscribed to the Google Gro

[Rails] Gem: Bootstrap-Material-Design Released

2014-10-03 Thread Paul King
Now you can find it at Github . I have a bit of work to do before it will be done, but if you'd like to contribute feel free to fork it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou

[Rails] The inefficiency of horizontally scaling websockets with the websocket-rails gem

2014-09-22 Thread Fred White
I'm trying understand how to horizontally scale a real-time tic-tac-toe web app. I'm using Ruby on Rails to serve the content, websockets to update the state of a game, and Heroku to host it all. Since Heroku's websocket architecture is fairly typical, this question is not specific to Heroku, but w

[Rails] Gem Mongoid: multiples order_by in embbeds_many not work?

2014-08-26 Thread Rodrigo Mendonça
Example: School embeds_many :students In rails console: School.first.students.order_by(:name.asc, :email.desc) Works with name. but why ordering from second field (email) not work?? It's a bug? I opened an issue in mongoid gem, but maybe it's a mongodb problem insted https://github.com/mongoid/m

[Rails] Gem::LoadError when trying to run the 'pocket-ruby' gem

2014-04-13 Thread Ryan Waits
Hey everyone, I recently posted a question on stack overflow on this but figured I would give it a shot in here since I havent had a response yet. Im trying to run the 'pocket-ruby' gem so I can fiddle around with what its got and I am getting an error I have no idea how to handle. Here is a

[Rails] Gem errors

2014-02-07 Thread Eric Jefcoat
Hello all, I seem to still be getting Gem errors when trying to run 'rails server'. Not sure what I need to do to fix it. Computer:treebook admin$ rails server */usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:80:in `mkdir': ERROR: Failed to build gem native extension. (Gem::Ext:

[Rails] problems with installing the rails gem

2014-02-05 Thread אסף סיפור
hello i tried to install he rails gem $gem install rails and got the error messege unable to download data from http://rubygems.org/ -ssl_connet returned =1 errno =0 state =sslv3 read server certificate b: certificate verify failed (https:/api.rubygems.org/latest_specs.4.8.gz what sholud i do

[Rails] Re: twitter-bootstrap-rails Gem adds a LOT of .js files to the page, doesn't it?

2014-02-01 Thread Frederick Cheung
On Saturday, February 1, 2014 6:33:07 AM UTC, Bizt wrote: > > Oh, I think I see. In production ONLY it condenses them all down to a > single file? Just realized now. > That is the default. If my memory is correct it's the config.assets.debug setting which controls this. Fred -- You receive

[Rails] Re: twitter-bootstrap-rails Gem adds a LOT of .js files to the page, doesn't it?

2014-01-31 Thread Bizt
Oh, I think I see. In production ONLY it condenses them all down to a single file? Just realized now. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rub

[Rails] twitter-bootstrap-rails Gem adds a LOT of .js files to the page, doesn't it?

2014-01-31 Thread Bizt
Hi, I've installed twitter-bootstrap-rails to my app but when I view the source code I see. http://0.0.0.0:3000/assets/twitter/bootstrap/bootstrap-transition.js?body=1>">http://0.0.0.0:3000/assets/twitter/bootstrap/bootstrap-alert.js?body=1>">http://0.0.0.0:3000/assets/twitter/bootstrap/

Re: [Rails] gem install fileutils error

2014-01-19 Thread Kanna Vrk
please try gitbash .. it ill very useful. *kanna(9742665400)*... On Sun, Jan 19, 2014 at 11:55 PM, Astm Ali wrote: > Hello Guys > > I'm new in Ruby > so I'm now trying to install fileutils by using the command [ gem > install fileutils ] > > note: I'm using windows 7 :( > > always

[Rails] gem install fileutils error

2014-01-19 Thread Astm Ali
Hello Guys I'm new in Ruby so I'm now trying to install fileutils by using the command [ gem install fileutils ] note: I'm using windows 7 :( always when i trying to install it i got this error C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes check

Re: [Rails] Gem Install bundler fails

2013-12-19 Thread Colin Law
On 19 December 2013 08:38, Pradeep Sethi wrote: > Hi > > I re-installed ruby 1.9.3 using rvm but now I am not able to install > bundler & get the following error. > > Please help. TIA > > > Pradeep > --- > > discourse [master] ⚡ rvm list > > rvm rubies > > =* ruby-1.9.3-p484 [ x86_64 ] > > # => -

[Rails] Gem Install bundler fails

2013-12-19 Thread Pradeep Sethi
Hi I re-installed ruby 1.9.3 using rvm but now I am not able to install bundler & get the following error. Please help. TIA Pradeep --- discourse [master] ⚡ rvm list rvm rubies =* ruby-1.9.3-p484 [ x86_64 ] # => - current # =* - current && default # * - default ☁ discourse [master] ⚡ gem

Re: [Rails] Gem install fails due to invalid option

2013-09-29 Thread Colin Law
On 27 September 2013 14:41, Peter Bolier wrote: > Hi y'll, > > > On attempting to install rails on a windows7 system it fails with: My advise would be don't install rails on Windows. Use Linux (eg Ubuntu) or Mac. If you really have not option then I believe railsinstaller is the recommended rou

[Rails] Gem install fails due to invalid option

2013-09-29 Thread Peter Bolier
Hi y'll, On attempting to install rails on a windows7 system it fails with: H:\>gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. "H:/My Programs/Ruby200-x64/bin/ruby.exe" extconf.rb

Re: [Rails] Re: Please give me some example about highchart in Rails using highcharts-rails gem

2013-07-15 Thread Dheeraj Kumar
Do the gem setup as it says on github, then use Highcharts' examples to guide you. -- Dheeraj Kumar On Tuesday 16 July 2013 at 9:56 AM, haxuan lac wrote: > I want a simple example using gem highchart-rails. > but I also see example with gem lazy-highchart. > So I expect somebody have done sim

[Rails] Re: Please give me some example about highchart in Rails using highcharts-rails gem

2013-07-15 Thread haxuan lac
I want a simple example using gem highchart-rails. but I also see example with gem lazy-highchart. So I expect somebody have done simple demo (small and easy level) can sent me to try. Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to t

Re: [Rails] Please give me some example about highchart in Rails using highcharts-rails gem

2013-07-15 Thread Robert O'Connor
some report screeen for my project > I want to use highcharts-rails gem to build this screen > I research some document about it but I want someone have ever done with > highcharts-rails gem can give me some advice if I use highchart in Rails > Thanks.. > > -- > Poste

Re: [Rails] Please give me some example about highchart in Rails using highcharts-rails gem

2013-07-15 Thread Dheeraj Kumar
Highcharts is pretty simple to use. What's your problem? -- Dheeraj Kumar On Tuesday 16 July 2013 at 9:11 AM, haxuan lac wrote: > I have to build some report screeen for my project > I want to use highcharts-rails gem to build this screen > I research some document about it but

[Rails] Please give me some example about highchart in Rails using highcharts-rails gem

2013-07-15 Thread haxuan lac
I have to build some report screeen for my project I want to use highcharts-rails gem to build this screen I research some document about it but I want someone have ever done with highcharts-rails gem can give me some advice if I use highchart in Rails Thanks.. -- Posted via http

[Rails] gem install rails ERROR

2013-05-22 Thread AJ Acevedo
This should help: http://railsapps.github.io/installing-rails.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegrou

Re: [Rails] gem install rails ERROR

2013-05-20 Thread tamouse mailing lists
On Mon, May 20, 2013 at 10:36 PM, Majid L. wrote: > Hi, I am new in mac and ruby on rails, please bear with me if I asked > stupid questions : > > I tried to install, rails in my mac :" > > bdelmajids-iMac:~ majid$ gem install rails > ERROR: While executing gem ... (Gem::FilePermissionError) >

[Rails] gem install rails ERROR

2013-05-20 Thread Majid L.
Hi, I am new in mac and ruby on rails, please bear with me if I asked stupid questions : I tried to install, rails in my mac :" bdelmajids-iMac:~ majid$ gem install rails ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/1.8

[Rails] Jquery-Datatable-Rails Gem: Error on Update. PUT request automatically converting to a POST request.

2013-05-11 Thread Ravneet Singh
440/jquery-datatables-rails-gem-not-working-for-update-call-converting-put-request -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyo

[Rails] Re: Twitter bootstrap rails gem not working in production mode

2013-02-17 Thread Werner
Hi.. my application.js //= require jquery //= require jquery_ujs //= require jquery-ui //= require bootstrap //= require_tree . my application.css.scss application.css$iconSpritePath: image-path('glyphicons-halflings.png'); $iconWhiteSpritePath: image-path('glyphicons-halflings-white.png'); @im

Re: [Rails] Fwd: Twitter bootstrap rails gem not working in production mode

2013-02-16 Thread Loganathan Sellapa
Hi Sai Kiran, I am running application in production only after precompiling the assets. regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe On Sun, Feb 17, 2013 at 10:38 AM, saikiran mothe wrote: > RAILS_ENV=production b

Re: [Rails] Fwd: Twitter bootstrap rails gem not working in production mode

2013-02-16 Thread saikiran mothe
RAILS_ENV=production bundle exec rake assets:precompile Try pre compile assets before depolying ! Thanks, Sai Kiran M On Sun, Feb 17, 2013 at 3:32 AM, Loganathan Sellapa wrote: > > Hi All, > > I am using 'twitter-bootstrap-rails' in my rails app where I can run the > application with bootst

[Rails] Fwd: Twitter bootstrap rails gem not working in production mode

2013-02-16 Thread Loganathan Sellapa
Hi All, I am using 'twitter-bootstrap-rails' in my rails app where I can run the application with bootstrap provided css successfully in development mode but the css is not taking effect in production mode, I hope something I am missing with the asset precompile. Copied below my gem file for y o

Re: [Rails] gem install rails - FAILS

2013-01-03 Thread Jordon Bedwell
On Wed, Jan 2, 2013 at 4:06 PM, Doug Royer wrote: > Very new to Ruby/Rails, followed the download/install instructions, until > this step: > >> gem install rails > > Building native extensions. This could take a while... > ERROR: Error installing rails: > ERROR: Failed to build gem nativ

[Rails] gem install rails - FAILS

2013-01-03 Thread Doug Royer
Very new to Ruby/Rails, followed the download/install instructions, until this step: > gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/local/

Re: [Rails] gem bundler is not install. I know, another one of these

2012-12-10 Thread pe medeiros
It seens like creating a gemset will solve your problem. What I usually do is create a .rvmrc file on the root of my application with the content: "rvm 1.9.3@gemset_name --create" so everytime in enter the directory of my application the gemset that I specified at the .rvmrc file will be loaded.

Re: [Rails] gem bundler is not install. I know, another one of these

2012-12-10 Thread Jordon Bedwell
On Mon, Dec 10, 2012 at 2:19 PM, Colin Law wrote: > Post the output from > gem list > > Also copy/paste here the output from bundle install. Gonna have to agree, to me it sounds like you installed on ruby-1.9.3-p327 instead of @global or @gemset_name. I've ran into issues if I haven't installed

Re: [Rails] gem bundler is not install. I know, another one of these

2012-12-10 Thread Colin Law
On 10 December 2012 19:16, Tak G. wrote: > I know that there are so many of these threads, and I have looked > through them but since there are so many its so difficult to find the > right solution. I can run gem install bundler but I can't run bundle > install, it just keeps asking me to gem ins

[Rails] gem bundler is not install. I know, another one of these

2012-12-10 Thread Tak G.
I know that there are so many of these threads, and I have looked through them but since there are so many its so difficult to find the right solution. I can run gem install bundler but I can't run bundle install, it just keeps asking me to gem install bundler. Here is my gem env RubyGems Enviro

[Rails] gem CanCan help

2012-11-11 Thread Erwin
I defined a block in my ability model elsif admin.has_role? :manager can [:update, :destroy, :lock, :unlock, :reset_passord], Admin do |another_admin| another_admin.is? :employee end but it seems not to be taken in account when testing it : @manager.is? :manager true,

[Rails] gem install fails so no installation of Rails

2012-11-10 Thread Tommy Pollák
On Ubuntu 12.04 trying to install Rails with $ gem install Rails fails with ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand Ruby was installed with rbenv. More info:

Re: [Rails] Gem

2012-09-25 Thread KUL KING
It doesn't make sense that a role has different permissions. You can create more roles and assign them different permissions. The purpose you are trying to achieve will always require different roles. On Tue, Sep 25, 2012 at 5:54 PM, Avi wrote: > Well, as per the requirement, the role is one- i

Re: [Rails] Gem

2012-09-25 Thread Avi
Well, as per the requirement, the role is one- i.e. Admin. But permissions need to be different for admin users. On Tuesday, September 25, 2012 5:59:19 PM UTC+5:30, Kashif Umair Liaqat wrote: > > You can have 5 different roles with different permissions you want to > assign each of the admin.

Re: [Rails] Gem

2012-09-25 Thread KUL KING
You can have 5 different roles with different permissions you want to assign each of the admin. On Tue, Sep 25, 2012 at 4:42 PM, Avi wrote: > Thanks for reply. > > So here is the requirement :- > > I have an Admin (Admin is a role). & under Admin there are 5 users. All > users(same role as Admin

Re: [Rails] Gem

2012-09-25 Thread Avi
Thanks for reply. So here is the requirement :- I have an Admin (Admin is a role). & under Admin there are 5 users. All users(same role as Admin) have different permissions. Those users can be differentiated by their permissions to perform tasks. Admin need to assign different different permiss

Re: [Rails] Gem

2012-09-25 Thread KUL KING
The purpose you want to achieve includes a huge number of if conditions. I can give an example but better is that you provide some scenario. On Tue, Sep 25, 2012 at 4:26 PM, KUL KING wrote: > Can you explain with an example so that I can better solve your problem? > > > On Tue, Sep 25, 2012 at 1

Re: [Rails] Gem

2012-09-25 Thread KUL KING
Can you explain with an example so that I can better solve your problem? On Tue, Sep 25, 2012 at 1:40 PM, Avi wrote: > There can be multiple permissions for a single role. How to handle that? > > > On Tuesday, September 25, 2012 2:06:07 PM UTC+5:30, Kashif Umair Liaqat > wrote: > >> You can set

Re: [Rails] Gem

2012-09-25 Thread Avi
There can be multiple permissions for a single role. How to handle that? On Tuesday, September 25, 2012 2:06:07 PM UTC+5:30, Kashif Umair Liaqat wrote: > > You can set permissions for every role using CanCan. > > On Tue, Sep 25, 2012 at 1:26 PM, Avi >wrote: > >> Hello All, >> >> Is there any gem

Re: [Rails] Gem

2012-09-25 Thread KUL KING
You can set permissions for every role using CanCan. On Tue, Sep 25, 2012 at 1:26 PM, Avi wrote: > Hello All, > > Is there any gem for Authorising Permission based on users ? > Like Cancan is used for role based authorisation. > > > > Thanks. > > -- > You received this message because you are su

[Rails] Gem

2012-09-25 Thread Avi
Hello All, Is there any gem for Authorising Permission based on users ? Like Cancan is used for role based authorisation. Thanks. -- 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 rubyonrails-talk@go

Re: [Rails] gem file showing outdated gems?

2012-09-18 Thread Colin Law
On 17 September 2012 20:51, wragen22 wrote: > Ok. Something interesting though. I've updated the version in the gemfile. > Then when I run bundle update the gem file is then modified and version > reverts back to old versions. Gemfile should not be modified when you run bundle update. Gemfile.l

Re: [Rails] gem file showing outdated gems?

2012-09-17 Thread wragen22
Ok. Something interesting though. I've updated the version in the gemfile. Then when I run bundle update the gem file is then modified and version reverts back to old versions. On Monday, September 17, 2012 12:48:44 PM UTC-7, Jordon Bedwell wrote: > > On Mon, Sep 17, 2012 at 2:44 PM, wragen22

Re: [Rails] gem file showing outdated gems?

2012-09-17 Thread Jordon Bedwell
On Mon, Sep 17, 2012 at 2:44 PM, wragen22 wrote: > For some reason my gem file in my rails app shows outdated versions of gems > even though i've updated. > > Ie. gem 'uglifier', '>= 1.0.3' > > However after running bundle update my terminal showed > > Using uglifier (1.3.0) > > Is there a depende

[Rails] gem file showing outdated gems?

2012-09-17 Thread wragen22
For some reason my gem file in my rails app shows outdated versions of gems even though i've updated. Ie. gem 'uglifier', '>= 1.0.3' However after running bundle update my terminal showed Using uglifier (1.3.0) Is there a dependency path that is incorrect? How can I make sure my gemfile

Re: [Rails] gem 'therubyracer' installing error in Windows

2012-07-09 Thread Chitrank Samaiya
Why you require rubyracer in windows,it is used for os other than windows which could not run javascript.Remove it and run it. -- 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 rubyonrails-talk@googlegro

[Rails] gem 'therubyracer' installing error in Windows

2012-07-08 Thread Adnan
Hello there, I was trying to use Twitter Bootstrap in Rails. Actually, I was following atutorial from railscast. So, when I added gem twitter-bootstrap-rails in my gemfile and rum bundle command. At first, It showed me that python isn't install in my pc, that's why it can'

Re: [Rails] Gem Dependency error

2012-06-01 Thread Colin Law
On 31 May 2012 13:52, Subal Charla wrote: > I am following Michael Hartl's Tutorial on RoR. During the 3rd Chapter > (sample_app), I am trying to install the gems via the "bundle install > --without production command" but I keep encountering the following > issue: > > > Bundler could not find com

Re: [Rails] Gem Dependency error

2012-06-01 Thread Jeremy Walker
On 31 May 2012, at 13:52, Subal Charla wrote: > I am following Michael Hartl's Tutorial on RoR. During the 3rd Chapter > (sample_app), I am trying to install the gems via the "bundle install > --without production command" but I keep encountering the following > issue: > > > Bundler could not

[Rails] Gem Dependency error

2012-06-01 Thread Subal Charla
I am following Michael Hartl's Tutorial on RoR. During the 3rd Chapter (sample_app), I am trying to install the gems via the "bundle install --without production command" but I keep encountering the following issue: Bundler could not find compatible versions for gem "railties": In Gemfile:

[Rails] [GEM] Inferred slugs

2012-05-17 Thread Rafael Fernández López
Hi all, I have developed a gem called 'inferred slugs'. It's compatible (as far as I know) with the rest of slug engines. The idea is that you don't always need permalinks, and in this case, slugs are inferred from the information contained on the record itself, so no extra column is needed for

[Rails] gem development, adding a file to auto-load

2012-04-24 Thread Stijnster
Hi all, I've created a gem that allows you to describe menu systems for a rails app (or engine). You can find it here; https://rubygems.org/gems/alacarte I use a DSL thats similar to the routes file. I would like my file (called alacarte.rb, which currently lives in config/initializers) to auto

Re: [Rails] gem install nokogiri on Windows XP

2012-03-27 Thread Nicklas af Ekenstam
On Mon, Mar 26, 2012 at 2:37 PM, Kee Kee Mu wrote: > I issue the command "gem install nokogiri" on Windows XP console. I use > Cygwin. > And, I got the following errors, please help. > > $ gem install nokogiri > Building native extensions.  This could take a while... > ERROR:  Error installing nok

[Rails] gem install autotest-fsevent ----- FAILED on Windows XP

2012-03-26 Thread Kee Kee Mu
I have installed growl on Windows XP It looks like the software only support Mac OS, how to solve the problem on Windows XP? Thank you. $ gem install autotest-fsevent -v 0.2.4 Building native extensions. This could take a while... ERROR: Error installing autotest-fsevent: ERROR: Failed

  1   2   3   4   >