Please `gem install -v= rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. 3) Huh? I had some issues getting this to run directly from the shortcut, but a kludge I've used is to just have the last line of my .bashrc be exec zsh --login. but wen > i run ruby setup.rb inside rubygem > i get the following error > ./lib/rubygems.rb:10:in `require': no such file to load -- thread > (LoadError) > from Thanks! (btw it works if I opt out of spring using --skip-spring on rails new). http://brrian.net/no-such/unable-to-execute-script.html
Yea - still present on 12.0.3-1 - but confirmed and tested on 12.0.0, 1 and 2 as well (just to make sure). Reload to refresh your session. I installed rails 3.0.7 with no hitch! We recommend upgrading to the latest Safari, Google Chrome, or Firefox. http://stackoverflow.com/questions/6866658/cant-use-rubygems
share|improve this answer answered Oct 29 '12 at 13:27 Koen. 1526 add a comment| up vote 4 down vote I added #!/home/homeuser/.rvm/bin/ruby instead of #!/usr/bin/env ruby. Is there some sort environment setup that I'm missing? 30 Aug 2009, 22:23 Frederick C. Report post Edit Delete Reply with quote Re: Re: installing ruby gems Michael Pavling (Guest) on 2011-09-12 12:14 On 12 September 2011 11:07, Annapoorna R
How to remove Date from output? If not, then maybe you missed the shell configuration step in installing rvm. This practice is you will find is fairly common amongst ruby developers: http://www.robbyonrails.com/articles/2010/02/08/installing-ruby-on-rails-passenger-postgresql-mysql-oh-my-zsh-on-snow-leopard-fourth-edition I understand if you would prefer to use the standard system ruby, but again I would make a /usr/bin/env Ruby No Such File Or Directory Rbenv Full steps to reproduce Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-24-generic i686) * Documentation: https://help.ubuntu.com/ Last login: Mon Dec 8 04:18:13 2014 from 192.168.116.1 [email protected]:~$ curl -L https://www.chef.io/chef/install.sh | sudo bash
I took a look at your trace and this is due to our Unix socket implementation missing support for the SOCK_CLOEXEC flag in the accept system call. What Is #!/usr/bin/env Ruby It seems hackish to me... –astorije Apr 4 '13 at 15:14 @JérémieAstori and a cd gitlab, followed by a sudo -i -u git bundle install ... To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. I ran into this missing native ruby problem too b/c I installed RVM and decided to remove the system ruby.
dreyks commented May 30, 2016 check the generated binstubs. /usr/bin/env Ruby No Such File Or Directory Centos For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. Can anyone advice on how to fix it? Setting up chef (12.0.3-1) ...
russalex referenced this issue Jun 10, 2016 Closed Can't install RVM #222 hut8 commented Jun 10, 2016 I think this might be because you haven't sourced rvm's script. http://askubuntu.com/questions/182418/how-to-get-usr-bin-env-ruby-to-point-to-the-correct-ruby-environment share|improve this answer answered Jan 16 '15 at 18:34 Fedir 5,52223747 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign /usr/bin/env Ruby No Such File Firstly: bundle install --binstubs fixed it but that will screw up your version control if you're on Rails >= 4. /usr/bin/env Ruby No Such File Or Directory Ubuntu What's the difference between ls and la?
kyledrake commented Jan 26, 2011 As a ruby developer, I have found that using the Apple implementation of ruby leads to things breaking as well. http://brrian.net/no-such/unable-to-execute-shell-script.html Forum List Topic List New Topic Search Register User List Log In Powered by RForum and Captchator. Browse other questions tagged rubygems or ask your own question. Already have an account? Usr Bin Env Ruby No Such File Or Directory Cron
A gem list just shows what would normally be in the default gemset. My hypothesis strongly suggests that the script will eventually make Homebrew unable to function on your machine (confirming your own belief), while my using a different version of ruby will continue I did a bundle install. http://brrian.net/no-such/unable-to-execute-gcc-ubuntu.html Member danielsdeleo commented Jan 4, 2015 Looks like this might be the cause: [email protected]#diff-27825f673f017de11f25b2e4392d63a2 danielsdeleo referenced this issue in chef/omnibus-chef Jan 5, 2015 Merged Check for '#!' to prevent shebang fix
Thread at a glance: Previous Message by Date: Re: [Rails] Problem in installing rails 3.1.0 gem install rails --- this command going to install rails latest version. Usr Bin Env Ruby2 3 No Such File Or Directory Attempted to create a controller per book: [/Users/Ric/workarea/rails/demo]ruby script/generate controller Say Missing the Rails gem. Already have an account?
config.file_watcher = ActiveSupport::EventedFileUpdateChecker This is the part that needs to be commented/removed, then it seems the rails server does run through bundle exec rails s. This is what I've done so far: Code: sudo apt-get install ruby-full build-essential wget http://rubyforge.org/frs/download.php/55066/rubygems-1.3.2.tgz tar xzvf rubygems-1.3.2.tgz cd rubygems-1.3.2 sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem Everything works fine MrJaba commented Dec 22, 2014 @petecheslock ah no sorry, I misread my Vagrantfile it says it's a 64 bit node, but is actually a 32. /usr/bin/env: Ruby1.9.1: No Such File Or Directory What does "d" mean in definition of Double.NaN = 0.0d / 0.0?
The git user has been created with the --disabled-login flag and thus I cannot login as git to run bundle. there were some issues with the gems but I got through them and got a full bundle install. Is this bug still present with the Chef 12.0.3-1 package? http://brrian.net/no-such/unable-to-execute-due-to-shell-error.html tlianza commented Feb 29, 2012 Mine was munged as well...
No errors. Where is bundle installed? –VonC Apr 3 '13 at 18:18 When I do $ which bundle, I get /usr/local/rvm/gems/ruby-1.9.3-p392/bin/bundle.